Product Price by Formula for WooCommerce

Description

Product Price by Formula for WooCommerce plugin lets you set formula for automatic WooCommerce product price calculation.

Product price formula can be set with standard mathematical operations, e.g.:

x*1.5+p1/p2

In addition in formula calculations you can use these shortcodes:

  • [math_round] – Rounding shortcode.
  • [math_ceil] – Rounding up (ceil).
  • [math_floor] – Rounding down (floor).
  • [math_min] – Min value.
  • [math_max] – Max value.
  • [product_total_sales] – Product’s total sales number.
  • [product_stock] – Product’s stock.
  • [product_weight] – Product’s weight.
  • [product_length] – Product’s length.
  • [product_width] – Product’s width.
  • [product_height] – Product’s height.
  • [product_meta] – Product’s meta (any).
  • [if_customer_location] – Price by customer’s location (by IP).
  • [if_time] – Price by current time.
  • [if_date] – Price by current date.
  • [if_user_role] – Price by customer’s user role.

Pro version has these additional shortcodes available:

  • [if_value] – Compares any two values.
  • [if_product_category] – Price by product’s category.
  • [if_product_tag] – Price by product’s tag.
  • [if_product_taxonomy] – Price by product’s taxonomy (any).

For examples and additional information on shortcodes please visit Product Price by Formula for WooCommerce plugin page.

Feedback

  • We are open to your suggestions and feedback. Thank you for using or trying out one of our plugins!

Installation

  1. Upload the entire plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Start by visiting plugin settings at “WooCommerce > Settings > Product Price by Formula”.

Reviews

Fantastic

The plugin works as advertised but beyond that Tom is great and went above and beyond to make it work for our needs.
Read all 1 review

Contributors & Developers

“Product Price by Formula for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.1.2 – 21/01/2019

  • 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).

2.1.1 – 25/10/2018

  • 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.

2.1.0 – 25/10/2018

  • 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.

2.0.0 – 10/10/2018

  • 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.

1.1.0 – 03/10/2018

  • 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.

1.0.0 – 12/09/2017

  • Initial Release.