Code

Product Price by Formula Pro for WooCommerce

Product Price by Formula Pro for WooCommerce

Cart 8 sales
Recently Updated

Product Price by Formula Pro for WooCommerce

Product Price by Formula Pro for WooCommerce plugin lets you set formulas for automatic WooCommerce product price calculation. Its setup with standard mathematical operations.

x*1.5+p1/p2

Examples:

1. [math_round]

Rounding shortcode. You can set a decimal with precision attributes.

[math_round precision="1"][if_customer_location country="US,CA"]x*1.10[/if_customer_location][if_customer_location not_country="US,CA"]x*1.20[/if_customer_location][/math_round]
                

2. [math_ceil]

Rounding up (ceil)

[math_ceil]x*[product_weight][/math_ceil]

3. [math_floor]

Rounding down (floor)

[math_floor]x*[product_length][/math_floor]

4. [math_max]

Max value

[math_max value1="x*p1" value2="{product_total_sales}"]

5. [product_meta]

You can retrieve any Meta for the product—Meta key set by required key attribute.

[product_meta key="_weight"]

6. [if_customer_location]

Price by customer’s location (by IP)

[if_customer_location country="US,CA"]x*1.10[/if_customer_location][if_customer_location not_country="US,CA"]x*1.20[/if_customer_location] 

Documentation

Where is Product Price by Formula Pro for WooCommerce Plugin Useful?

Product Price by Formula Pro for WooCommerce plugin is helpful for all WooCommerce websites. Below is one small list to start using the Product Price by Formula Pro for the WooCommerce plugin.

  • E-commerce Website
  • Fashion Website
  • Travelling Business Website
  • Beauty Product-related Website
  • Restaurant Website
  • Holiday Sale Offer

Key Features of Product Price by Formula Pro for WooCommerce

1. Enable for All Products

Enables price calculation by the formula for all products by checking the checkbox.

2. Disable for Product IDs

If you have checked the “Enable for all products” option, you can optionally add product exceptions here. Set it as a comma-separated list of product IDs.

3. Disable for Product Category IDs

If you have checked the “Enable for all products” option, you can optionally add product category exceptions here. You can set it as a comma-separated list of product category IDs.

4. Use the Same Formula

You can enable the same formula for all products.

5. Disable for Empty Price

You can disable the price by the formula for products with empty prices.

6. Price Filters Priority

Priority for WooCommerce price filter. Set to zero to use the default priority.

7. Add Dashboard Widget

You can add default settings to the admin dashboard widget.

8. Products List Columns

You can add columns to the admin products list. It has four values.

  • Formula Enabled
  • Formula
  • Params
  • Price

What Makes Product Price by Formula Pro for WooCommerce Plugin Outstanding?

  • No coding skill required
  • Clean code, layout, and design
  • Easy to set up or configure
  • Support and update

Improvement Suggestions

If you have any suggestions on how to improve this item, please let us know! We will be happy to consider any advice and appreciate your efforts. We will go through all your feedback weekly and pick the most requested features to include in a future update! Contact us here.

Changelog

August 11th, 2021 (Version 2.3.6)

* WP 5.8 Compatibility updated.

July 12th, 2021 (Version 2.3.5)

* Dev - Database Upgrade and Rename the plugin.

March 13th, 2021 (Version 2.3.4)

* WP 5.7 Compatibility Updated

December 10th, 2020 (Version 2.3.3)

* Dev - PHP 8.0 Compatibility Updated
* Dev - Licensing Feature Added

September 26th, 2019 (Version 2.3.2)

* Dev - Shortcodes - '[if_date]' - Shortcodes are Now Processed in Attributes
* Dev - Shortcodes - '[product_date]' Shortcode Added
* Dev - Code Refactoring

September 24th, 2019 (Version 2.3.1)

* Dev - '[product_meta]' - 'use_parent_product' Attribute (Defaults to 'no') Added (same in '[product_weight]', '[product_length]' and All Other Shortcodes that Use 'product_meta()')
* WC Tested Up To: 3.7

July 10th, 2019 (Version 2.3)

* Fix - Admin Columns - PHP Notice (For Variable Products with No Prices) Fixed
* Dev - '[if_product_taxonomy]' - 'use_parent_product' Attribute (defaults to 'no') Added (same in '[if_product_category]' and '[if_product_tag]')
* Dev - '[if_product_taxonomy]' - 'multiple' attribute (defaults to 'no') Added (same in '[if_product_category]' and '[if_product_tag]')
* Dev - '[if_user_id]' Shortcode Added
* Dev - '[if_product_meta]' Shortcode Added
* Dev - General - Bulk Settings - Enable for All Products - "Disable for Product IDs" Option Added
* Dev - General - Bulk Settings - Enable for All Products - "Disable for Product Category IDs" Option Added
* Dev - General - General Settings - "Disable for empty price" Option Added (Defaults to 'Yes')
* Dev - General - Advanced Settings - "Plugin URLs" Option Added
* Dev - General - Advanced Settings - "Price changes" Option Added
* WC Tested Up To: 3.6
* Tested Up To: 5.2

April 8th, 2019 (Version 2.2.1)

* Dev - '[product_meta]' - 'convert_to_numeric' Shortcode Attribute Added (Defaults to 'Yes')
* Dev - '[product_meta]' - 'product_id' Shortcode Attribute Added (Defaults to Current Product's ID)
* Dev - '[product_attr]' Shortcode Added

April 1st, 2019 (Version 2.2)

* Dev - '[option]' Shortcode Added
* Dev - '[timestamp]', '[to_timestamp]' Shortcode Added
* Dev - '[if_regular_price]', '[if_sale_price]', '[if_current_filter]' Shortcodes Added
* Dev - '[if_product_id]' Shortcode Added
* Dev - '[product_id]' Shortcode Added
* Dev - '[if_value]' - 'between' and 'not_between' Comparison Operators (and 'inclusive' attribute) Added (i.e. For Comma Separated Pairs)
* Dev - '[if_value]' - 'in' and 'not_in' comparison operators added (i.e. For Comma Separated Lists)
* Dev - '[if_value]' - Evaluate Formula Action Removed from Shortcode's Atts and Content
* Dev - Default Formula - Automatically Listing All Shortcodes in Admin Settings
* Dev - Tabs and New Line Symbols are Now Automatically Removed from Formula
* Dev - Code Refactoring
* Dev - Admin Settings Restyled

January 21st, 2019 (Version 2.1.2)

* Fix - '[product_meta]' - Zero Post Meta Value Issue Fixed
* Dev - '[product_meta]' - Applying Conversion to Number for Non-numeric Values (Includes Fractions)
* Dev - '[if_value]' Shortcode Added
* Dev - '[if_product_taxonomy]', '[if_product_category]', '[if_product_tag]' Shortcodes Added to Settings Description (in "Default Formula" section)
* Dev - Free Plugin's Version Limitation (Only ten "price by formula" products enabled at a time) removed (i.e. now unlimited number of "price by formula" products can be added with free version)

October 25th, 2018 (Version 2.1.1)

* Dev - '[if_product_taxonomy]' Shortcode Added
* Dev - '[if_product_category]' Shortcode Added
* Dev - '[if_product_tag]' Shortcode Added
* Dev - Maximum Number of "Price by Formula" Enabled Products in Free Version Increased to 10
* Dev - Products List Columns - "Formula Enabled" Column Added

October 25th, 2018 (Version 2.1)

* Dev - Use Same Formula - "Yes (With Same Params)" Option Added
* Dev - Per Product - Calculation - "Use Default Formula with Individual Params" Option Added
* Dev - Per Product - Calculation - Displaying Info in Case of Global Override
* Dev - Code Refactoring

October 10th, 2018 (Version 2.0)

* Dev - '[product_length]' Shortcode Added
* Dev - '[product_width]' Shortcode Added
* Dev - '[product_height]' Shortcode Added
* Dev - '[product_weight]' Shortcode Added (and '%weight%' Value Marked as Deprecated)
* Dev - '[product_stock]' Shortcode Added (and '%stock%' Value Marked as Deprecated)
* Dev - '[product_total_sales]' Shortcode Added (and '%total_sales%' Value Marked as Deprecated)
* Dev - '[product_meta]' Shortcode Added
* Dev - '[if_customer_location]' Shortcode Added
* Dev - '[if_user_role]' Shortcode Added
* Dev - '[if_time]' Shortcode Added
* Dev - '[if_date]' Shortcode Added
* Dev - '[math_round]' Shortcode Added (and "Final Price Rounding" Section Marked as Deprecated)
* Dev - '[math_ceil]' Shortcode Added
* Dev - '[math_floor]' Shortcode Added
* Dev - '[math_min]' Shortcode Added
* Dev - '[math_max]' Shortcode Added
* Dev - Admin Settings - "Products List Columns" Option Added
* Dev - Default Formula Settings Moved to Separate "Default Formula" Section
* Dev - "Advanced Settings" Subsection Added ("Shortcodes Prefix", "Price Filters Priority" Options)
* Dev - Admin Settings Restyled and Descriptions Updated
* Dev - Major Code Refactoring

October 3rd, 2018 (Version 1.1)

* Dev - "Add Default Settings Admin Dashboard Widget" Option Added
* Dev - "Admin Note" Option Added for Each Parameter
* Dev - "Final Price Rounding" Options Added
* Dev - "Use Same Formula for All Products (With Individual Params)" Option Added
* Dev - '%weight%' Special Value Added
* Dev - Hiding "Enabled" Option in Per Product Settings if "Enable Price Calculation by Formula For All Products" is Enabled
* Dev - Formulas With No (i.e. Zero) Parameters are Now Allowed
* Dev - Major Code Refactoring (Special Values; 'version_updated()' etc.)
* Dev - Admin Settings Minor Restyling (and Small Fixes)
* Dev - "WC Tested Up To" Added to Plugin Header
* Dev - Plugin URI Updated

September 12th, 2017 (Version 1.0)

* Initial Release
by
by
by
by
by
by