Title: Product Price by Formula for WooCommerce
Author: ProWCPlugins
Published: <strong>2017-09-13</strong>
Last modified: 2025-12-19

---

Szukaj wtyczek

![](https://ps.w.org/product-price-by-formula-for-woocommerce/assets/banner-772x250.
png?rev=2567213)

![](https://ps.w.org/product-price-by-formula-for-woocommerce/assets/icon-256x256.
png?rev=2567213)

# Product Price by Formula for WooCommerce

 Autor: [ProWCPlugins](https://profiles.wordpress.org/prowcplugins/)

[Pobierz](https://downloads.wordpress.org/plugin/product-price-by-formula-for-woocommerce.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/product-price-by-formula-for-woocommerce/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/product-price-by-formula-for-woocommerce/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/product-price-by-formula-for-woocommerce/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/product-price-by-formula-for-woocommerce/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/product-price-by-formula-for-woocommerce/)

## Opis

**Product Price by Formula for WooCommerce** plugin lets you set formulas for automatic
WooCommerce product price calculation. Its setup 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_meta]` – Product’s meta (any).
 * `[product_weight]` – Product’s weight.
 * `[product_height]` – Product’s height.
 * `[product_width]` – Product’s width.
 * `[product_length]` – Product’s length.
 * `[product_stock]` – Product’s stock.
 * `[product_total_sales]` – Product’s total sales number.
 * `[product_id]` – Product’s ID.
 * `[product_attr]` – Product’s attribute.
 * `[product_date]` – Product’s publish date.
 * `[option]` – Site option.
 * `[timestamp]` – Current time.
 * `[to_timestamp]` – Converts textual datetime description to timestamp.
 * `[if_customer_location]` – Price by customer’s country (location by IP).
 * `[if_user_role]` – Price by customer’s user role.
 * `[if_user_id]` – Price by customer’s user ID.
 * `[if_time]` – Price by current time.
 * `[if_date]` – Price by current date.

[Pro version](https://prowcplugins.com/downloads/product-price-by-formula-for-woocommerce/)
has these additional shortcodes available:

 * `[if_value]` – Compares any two values.
 * `[if_product_id]` – Price by product’s ID.
 * `[if_product_meta]` – Price by product’s meta.
 * `[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).
 * `[if_regular_price]` – Apply formula to regular product price.
 * `[if_sale_price]` – Apply formula to sale product price.
 * `[if_current_filter]` – Apply formula for selected filter only.

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

The Product Price by Formula for WooCommerce plugin is helpful for all WooCommerce
websites. Below is one small list of websites where you can start using the Product
Price by Formula for WooCommerce plugin:

 * E-commerce Product Website
 * Fashion Product Website
 * Traveling Business Website
 * Beauty Product-Related Website
 * Restaurant Website
 * Holiday Sale Offer

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

The Product Price by Formula for WooCommerce plugin is designed to offer an outstanding
experience with the following features:

 * No Coding Skill Required
 * Easy to Setup or Configure
 * Clean code, layout, and design
 * Support and Updates

**Like Product Price by Formula for WooCommerce Plugin?**

Don’t forget to rate us on [WordPress](https://wordpress.org/support/plugin/product-price-by-formula-for-woocommerce/reviews/?filter=5)
🙂

### Pro Features

Pro version overcomes your limitations with a lite version of Product Price by Formula
for WooCommerce Features.

**1. Enable for All Products**

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

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.

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.

**2. Use the Same Formula**

You can enable the same formula for all products.

### Buy Product Price by Formula Pro for WooCommerce

[Product Price by Formula Pro for WooCommerce](https://prowcplugins.com/downloads/product-price-by-formula-pro-for-woocommerce/?utm_source=product-time-countdown-for-woocommerce&utm_medium=referral&utm_campaign=readme)

### Like Product Price by Formula for WooCommerce Plugin?

Don’t forget to rate us on [WordPress](https://wordpress.org/plugins/product-price-by-formula-for-woocommerce/reviews/?filter=5)
🙂

### Technical Support

We’re active for any support issues and feature suggestions. So, I hope you will
love it. If you have any more questions, visit our support on the [Plugin’s Forum](https://wordpress.org/support/plugin/product-price-by-formula-for-woocommerce/).

## Zrzuty ekranu

[⌊Product Price By Formula Settings⌉⌊Product Price By Formula Settings⌉[

Product Price By Formula Settings

[⌊General Settings⌉⌊General Settings⌉[

General Settings

[⌊Default Formula Settings⌉⌊Default Formula Settings⌉[

Default Formula Settings

[⌊Parameter Settings⌉⌊Parameter Settings⌉[

Parameter Settings

[⌊Reset Settings⌉⌊Reset Settings⌉[

Reset Settings

[⌊Product Price By Formula⌉⌊Product Price By Formula⌉[

Product Price By Formula

[⌊Front-end Output⌉⌊Front-end Output⌉[

Front-end Output

## Instalacja

**From Your WordPress Dashboard**

 1. Go to Plugins > **Add New**
 2. Search for **Product Price by Formula for WooCommerce**
 3. Click on the **Install Now** button
 4. Click on **Activate Now** After Installed in the backend

**From WordPress.org**

 1. Download **Product Price by Formula for WooCommerce**
 2. Upload the **’product-price-by-formula-for-woocommerce’** folder to the /wp-content/
    plugins/ directory
 3. Activate **Product Price by Formula for WooCommerce** ​plugin from your plugins
    page

## Recenzje

![](https://secure.gravatar.com/avatar/223e39b0276c9ad001dff73b2dfbe12ab1a9936a4d08305ab8178f32214b33f1?
s=60&d=retro&r=g)

### 󠀁[Worst Documentation](https://wordpress.org/support/topic/worst-documentation/)󠁿

 [Rapid Success](https://profiles.wordpress.org/rapidsuccess/) 2025-06-05

Does not say exactly how to do hardly anything…

![](https://secure.gravatar.com/avatar/b9b37afdef5a722f5f3636c6659fa08b0fb28fe4f4bb559f4e11ada4ee3ad161?
s=60&d=retro&r=g)

### 󠀁[Works](https://wordpress.org/support/topic/works-2005/)󠁿

 [lavendor](https://profiles.wordpress.org/lavendor/) 2022-04-22

It really works with no bug.

![](https://secure.gravatar.com/avatar/927d5ab45093245fb042845d7a3a104e889ca1c93c8c93c6d2ff9f57971436fc?
s=60&d=retro&r=g)

### 󠀁[Very happy with it.](https://wordpress.org/support/topic/very-happy-with-it-26/)󠁿

 [Royah Marie](https://profiles.wordpress.org/hautecreations/) 2022-04-19

I would actually give this 4.5 stars because creating the calculation formulas don't
exactly work like the java short codes as it says. It would be t stars for sure 
if there was a help or tutorial included. What is provided is insufficient. For 
example, math_ceil function does not support precision of .05 to round up to the
next .05 cents.

![](https://secure.gravatar.com/avatar/c3807917e4d944db69179ba32e1882749712dd43a5241ca78092814c5b5b8109?
s=60&d=retro&r=g)

### 󠀁[Meet my needs](https://wordpress.org/support/topic/meet-my-needs-2/)󠁿

 [dunouv](https://profiles.wordpress.org/dunouv/) 2021-11-21

It provides the solution I need. Easy to use.

![](https://secure.gravatar.com/avatar/b98c5e9729ffa7226f0d077a7f49102418049efe3c77deebd687e4aabc50f8d5?
s=60&d=retro&r=g)

### 󠀁[very buggy since version 2.3.2](https://wordpress.org/support/topic/works-well-and-bugs-get-fixed/)󠁿

 [broomfish](https://profiles.wordpress.org/broomfish/) 2021-08-20

this used to does exactly what i wanted it to. since 2.3.2 there have been numerous
bugs.latest version sets all products to not use the function so i cant rely on 
this anymore so will have to uninstall it return to manually pricing products which
is a shame

![](https://secure.gravatar.com/avatar/648a9af06c49a7054c2c3b5836a02acd963bb03c573943a972160188248d2792?
s=60&d=retro&r=g)

### 󠀁[crashed my site](https://wordpress.org/support/topic/crashed-my-site-106/)󠁿

 [alsuboh](https://profiles.wordpress.org/alsuboh/) 2021-07-10

once you active the site will crash

 [ Przeczytaj 15 recenzji ](https://wordpress.org/support/plugin/product-price-by-formula-for-woocommerce/reviews/)

## Kontrybutorzy i deweloperzy

„Product Price by Formula for WooCommerce” jest oprogramowaniem open source. Poniższe
osoby miały wkład w rozwój wtyczki.

Zaangażowani

 *   [ ProWCPlugins ](https://profiles.wordpress.org/prowcplugins/)

[Przetłumacz wtyczkę “Product Price by Formula for WooCommerce” na swój język.](https://translate.wordpress.org/projects/wp-plugins/product-price-by-formula-for-woocommerce)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/product-price-by-formula-for-woocommerce/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/product-price-by-formula-for-woocommerce/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/product-price-by-formula-for-woocommerce/)
przez [RSS](https://plugins.trac.wordpress.org/log/product-price-by-formula-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 2.5.6

Release Date: December 19th, 2025

 * Updated: Latest WordPress 6.9 compatibility Check
 * WC tested up to: 10.4.2

#### 2.5.5

Release Date: July 23th, 2025

 * WooCommerce 10.0.2 compatibility updated

#### 2.5.4

Release Date: April 15th, 2025

 * WP tested up to: 6.8

#### 2.5.3

Release Date: November 14th, 2024

 * WP tested up to: 6.7

#### 2.5.2

Release Date: September 13th, 2024

 * Fix – Product list column field design in the backend

#### 2.5.1

Release Date: September 2nd, 2024

 * WP 6.6.1 compatibility updated

#### 2.5.0

Release Date: July 16th, 2024

 * Added support for WooCommerce’s High-Performance Order Storage (HPOS).
 * WP 6.6.1 compatibility updated
 * WooCommerce 9.0.2 compatibility updated

#### 2.4.9

Release Date: April 2nd, 2024

 * WP 6.5 compatibility updated
 * WooCommerce 8.7 compatibility updated
 * Resolved Security, Performance, and Accessibility issue.

#### 2.4.8

Release Date: October 4th, 2023

 * PHP 8.2 Compatibility debug issues resolved

#### 2.4.7

Release Date: September 5th, 2023

 * WP 6.3.1 compatibility updated
 * PHP 8.2 Compatibility issues resolved

#### 2.4.6

Release Date: April 10th, 2023

 * WP 6.2 compatibility updated

#### 2.4.5

Release Date: November 12th, 2022

 * WP 6.1 compatibility updated

#### 2.4.4

Release Date: May 28th, 2022

 * WP 6.0 compatibility updated

#### 2.4.3

Release Date: November 26th, 2021

 * Fix – Plugin Active & Deactive on Pro plugin installation

#### 2.4.2

Release Date: July 23th, 2021

 * Add Plugin Review Automation function

#### 2.4.1

Release Date: July 19, 2021

 * Fix – Minor bug fixes

#### 2.4.0

Release Date: June 2, 2021

 * WC tested up to: 5.3.0
 * Fix – Resolved Text domain and string translation Issues

#### 2.3.7

Release Date: March 13, 2021

 * WP 5.7 compatibility updated.

#### 2.3.6

Release Date: December 18, 2020

 * WP tested up to: 5.6
 * WC tested up to: 4.8.0
 * Dev – PHP 8.0 compatibility updated.

#### 2.3.5

Release Date: September 12, 2020

 * WP Tested 5.5.1
 * WP Tested 4.5.1
 * Dev – Plugin Review & Updgrade notice added

#### 2.3.4

Release Date: June 30, 2020

 * WP Tested 5.4.2
 * WP Tested 4.2.2

#### 2.3.3

Release Date: March 30, 2020

 * WP Tested 5.4.

#### 2.3.2

Release Date: September 26, 2019

 * Dev – Shortcodes – `[if_date]` – Shortcodes are now processed in attributes.
 * Dev – Shortcodes – `[product_date]` shortcode added.
 * Dev – Code refactoring.

#### 2.3.1

Release Date: September 24, 2019

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

#### 2.3.0

Release Date: July 10, 2019

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

#### 2.2.1

Release Date: April 08, 2019

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

#### 2.2.0

Release Date: April 01, 2019

 * Dev – `[option]` shortcode added.
 * Dev – `[timestamp]`, `[to_timestamp]` shortcodes 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.

#### 2.1.2

Release Date: January 21, 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

Release Date: October 25, 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

Release Date: October 25, 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

Release Date: October 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

Release Date: October 3, 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

Release Date: September 12, 2017

 * Initial Release

## Meta

 *  Wersja **2.5.6**
 *  Ostatnia aktualizacja **11 miesięcy temu**
 *  Włączone instalacje **100+**
 *  Wersja WordPressa ** 4.8 lub nowszej **
 *  Testowano do **6.9.11**
 *  Wersja PHP ** 8.0 lub nowszej **
 *  Język
 * [English (US)](https://wordpress.org/plugins/product-price-by-formula-for-woocommerce/)
 * Tagi
 * [formula](https://pl.wordpress.org/plugins/tags/formula/)[price](https://pl.wordpress.org/plugins/tags/price/)
   [product](https://pl.wordpress.org/plugins/tags/product/)[woo-commerce](https://pl.wordpress.org/plugins/tags/woo-commerce/)
   [woocommerce](https://pl.wordpress.org/plugins/tags/woocommerce/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/product-price-by-formula-for-woocommerce/advanced/)

## Oceny

 3.8 na 5 gwiazdek.

 *  [  10 recenzji 5-gwiazdkowych     ](https://wordpress.org/support/plugin/product-price-by-formula-for-woocommerce/reviews/?filter=5)
 *  [  0 recenzji 4-gwiazdkowych     ](https://wordpress.org/support/plugin/product-price-by-formula-for-woocommerce/reviews/?filter=4)
 *  [  0 recenzji 3-gwiazdkowych     ](https://wordpress.org/support/plugin/product-price-by-formula-for-woocommerce/reviews/?filter=3)
 *  [  2 recenzje 2-gwiazdkowe     ](https://wordpress.org/support/plugin/product-price-by-formula-for-woocommerce/reviews/?filter=2)
 *  [  3 recenzje 1-gwiazdkowe     ](https://wordpress.org/support/plugin/product-price-by-formula-for-woocommerce/reviews/?filter=1)

[Twoja opinia](https://wordpress.org/support/plugin/product-price-by-formula-for-woocommerce/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/product-price-by-formula-for-woocommerce/reviews/)

## Zaangażowani

 *   [ ProWCPlugins ](https://profiles.wordpress.org/prowcplugins/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/product-price-by-formula-for-woocommerce/)