Hello @manushaanjaana
I guess you are focusing the integration between our plugin and WooCommerce in the wrong direction.
If you are talking about the “CFF – WooCommerce” add-on, distributed with the Developer and Platinum versions of our plugin. It allows to include the forms created with our plugin into the WooCommerce products to calculate their prices at runtime (and not the other way around), and once the product be added to the cart (the form is submitted), the control is delegated completely into the WooCommerce.
If you are integrating the form and product using the “CFF – WooCommerce” add-on, the add-on generates by itself the javascript variable: woocommerce_cpcff_product_price with the default price of the product you can use from the equations associated to the calculated fields. So, assuming you want to duplicate the product’s price, the equation associated to the calculated field would be:
woocommerce_cpcff_product_price*2
If you are generating a form for filtering the WooCommerce products, you can read the following post in the plugin’s blog:
https://cff.dwbooster.com/blog/2019/11/05/case-of-use-filtering-products/
Best regards.