Support » Plugin: Calculated Fields Form » Woocommerce prices in calculator fields

  • Resolved Mr. Peri


    Good day,

    Is it possible to set price fields in the calculator to automatically update if a price in woocommerce gets updated?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople


    Hello @mr-peri

    If the form and product are integrated using the “CFF – WooCommerce” add-on, distributed with the Developer and Platinum versions of the plugin, you can use as part of the equation the global variable: woocommerce_cpcff_product_price generated by the add-on, with the price of the current product.

    For example, assuming you have created form that you want to use with multiple products, and you are considering the price in the product as the price per square meter, and your form includes two fields for width and length: fieldname and fieldname2

    The equation associated to the calculated field to get the definitive price would be:


    And now you can integrate the form with all your products and the price to use in every case would be the correct one.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Woocommerce prices in calculator fields’ is closed to new replies.