The Price by Formula Calculator for WooCommerce plugin allows you to create multiple product options using 16 types of fields and apply a custom formula to them. You can add multiple formulas to calculate the total measurement and price of any product.
Installation ↑ Back to top
- Download Price by Formula Calculator for WooCommerce .zip file from your WooCommerce account.
- At the Admin Panel, go to Plugins > Add New and Upload Plugin with the file you downloaded after purchase.
- Install and Activate the extension.
More information at: Install and Activate Plugins/Extensions.
How to Configure Price by Formula Calculator for WooCommerce? ↑ Back to top
To configure the Price by Formula Calculator for WooCommerce plugin, go to WooCommerce > Price Formula within the admin panel.
Here, you can view, edit and manage all the rules created by you.
Add New Rule: ↑ Back to top
Click the “Add New” button to add a new rule to create a custom price calculator and options.
You will find 3 sections here, Product Fields, Configure Formula, and Applied On. Specify the rule name at the start.
Product Fields: ↑ Back to top
In this section, you can add the fields to create product options. Click “Add Fields(s)” to add the new field.
Now, you have to configure the added field. First, choose the “Field Type” from the dropdown menu.
Then, set the “Field Label” which will be displayed on the product page to customers. You can also set the “Field Name” which you have to use in the formula for calculations and set “Price” for this field. You can hide this field and make the field required as well.
You can add multiple fields by clicking “Add Fields(s)” and delete the fields as well.
Add Formula ↑ Back to top
In this section, you can add a formula to calculate anything regarding the product such as measurement and price. You can set the prefix to display below/after the total result and also display or hide it on the product page.
You can click the “Add Formula” button to create multiple formulas in each rule.
Add Group Conditions ↑ Back to top
You can add multiple groups of conditions (OR) to change the formula based on user input or the result of another formula.
After adding the group of conditions, the default formula field will show at the bottom which you can use to place the “else” formula or place “0” if you don’t want to use this formula field.
You can also add multiple “AND” conditions in each group which means the formula will implement only once all the conditions are satisfied.
Use any Formula Result for Order Price ↑ Back to top
You can use the result of any formula for cart/checkout to calculate the total order price.
Applied On: ↑ Back to top
Select multiple products or categories you want to apply this rule.
After configuring the rule, click the “Publish” button to publish the rule.
Sort the Order of Fields ↑ Back to top
Go to WooCommerce > Price Formula to see all the created rules and click the Sort Fields to sort the order of fields that exists in each rule.
After clicking the Sort Field button, you will see all the fields in a popup. Now just drag and drop the fields to sort the order of fields to your accordingly and click the Save button to update the fields’ order.
General Settings ↑ Back to top
To configure the general setting of Price by Formula Calculator for WooCommerce plugin, go to WooCommerce>Settings>Product Price by Formula.
Here, you can customize the Product Options Form such as form background color, border color, text color, etc. or you can also set the default theme style.
You can also personalize the Result Form or set the default theme style for it.
You can Enable/Disable the View Detail button on the cart and/or checkout and customize the text of this button as well.