Hi.
I use WooCommerce Product Add-Ons Ultimate plugin for custom fields.
I have 2 fields: width and height, and third one, that calculates area (w * h).
For a product in Woocommerce I set the price that it means price per unit (in my case is square mm), for example 1$.
And in final formula which replace price in product card I use
{filed_width} * {field_height} * {product_price}
That value show for user subtotal in product card
Plugin allow to hide default price (1$) and instead after user settled all required filelds it shown final price.
After I add product to cart I see:
– first product added with correct values (1×13000$) for example.
– after a moment I see that value was replaced by 1×1$ (of course, that is product price from woocommerce)
How to disable this replacement?
That is happens only for cart widget.
In cart page price
for each product shown correctly.