How to Add a product with custom price to cart

Hello all,

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 ?

Thanks
Ruby

There are ways you can do this already, just see Wix Stores own support pages.
https://support.wix.com/en/article/setting-different-prices-for-product-option-choices-in-wix-stores
With Corvid.
https://support.wix.com/en/article/corvid-tutorial-adding-a-product-configurator-to-a-wix-stores-site
https://support.wix.com/en/article/corvid-tutorial-adding-multiple-items-to-the-cart-in-a-wix-stores-site

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.

I still want to achieve somewhat same functionality as @Lin . @Lin were you able to figure this out?

@hackzonecool I got this to work by following this explanation from Andy Davidson… https://www.wix.com/corvid/forum/main/comment/5faecb417bb7db0017443e37