I have calculated a custom price within the single product page using jquery and have output it as a totalCost variable. How can I use this value and overwrite or pass it through to the checkout to be able to use this new price as the product price?
I would post some code but I really dont have a clue where to start. Examples ive seen just set a global price override in the functions file.
Many thanks.