I create a dynamic stores page on my website, it can calculate and display product price base on customer selection. But how can I add that price to the cart as the product price?
The price is calc base on the formula and is not set on database, does anyone know how can I do it ?
These is not what I want, in my case, for example:
product price = base price * (pet weight *2.2 * 1000) * action rate
base price is selected by user ( either base price 1 or base price 2)
pet weight is input by user ( any positive number )
action rate is selected by user ( 3% to 5 %)
my final product price should be calculate base on the formula I provided, and so I can’t define it in the product cat, anyway for me to set the calculated product price to the cart ?
@Lin, did you ever figure this out? I’m trying to do something similar but can’t figure out how to get the new calculated price into the cart. If you were able to solve this, would you be willing to share your insights? Thanks.