Sale! Tested Updated Bestseller High rating Documented

Product Price by Quantity for WooCommerce

(13 customer reviews)

From: $49.99 / year

Set WooCommerce wholesale pricing depending on product quantity in cart.

$49.99 Single site1 year of updates and support30-day money-back guaranteeBuy
$129.99 Unlimited sites1 year of updates and support30-day money-back guaranteeBuy
Clear

Product Price by Quantity for WooCommerce plugin lets you set WooCommerce product pricing rules when product price depends on product quantity in cart.

Main Features

  • You can implement popular “buy more pay less” strategy, as well as less common “buy more pay more” pricing.
  • Pricing rules can be set for all products, or on a per-product basis.
  • You can use total cart quantity or product quantity.
  • Optionally you can set to apply the wholesale discount only if no other cart discounts were applied.
  • Discounts can be set as percent from the original price, fixed discount, or set price directly on a per-product basis.
  • Additionally, you can set different wholesale pricing options for different user roles.
  • If you want to display a price table or other data on the frontend, there are shortcodes included in the plugin.

Product Price by Quantity Options

Plugin settings are located in “WooCommerce > Settings > Product Price by Quantity”.

Settings

Here you choose at which level you want to set wholesale discount options. To set it for all products at once visit the “All Products” section.

Wholesale Pricing for WooCommerce - General - Settings

Per product
This will add new settings meta box to each product’s edit page.
Default: yes
Per variation
Enable this if you want to set options for each variation of a variable product separately.
Default: no
Per product category
This will add new settings fields to each product category edit page.
Default: no
Per product tag
This will add new settings fields to each product tag edit page.
Default: no

Discount

Discount Type

Discount type
Possible values: Percent; Fixed.
Default: Percent

General

General Options

Rounding
Round calculated product wholesale price according to the “Number of decimals” option.
Default: yes
Quantity calculation
Possible values: Single product quantity; Total cart quantity; Group by product parent (e.g. for variations); Group by product category; Group by product tag.
Default: Single product quantity
Other cart discounts
Apply wholesale discount only if no other cart discounts were applied.
Default: no
Formula and shortcodes
Process formula and shortcodes in discount table values (i.e. in “Min quantity #X” and “Discount #X” fields).
Default: no
Admin recalculate order
Adds “Recalculate” button to admin order pages.
Default: yes
Admin recalculate order: Require confirmation
Default: yes
Admin recalculate order: Add order note
Default: yes

Compatibility Options

Compatibility Options

WCFM plugin compatibility
Default: no
WCFM plugin compatibility: New product notification
Default:
Please save the product first.
"Lumise - Product Designer Tool" plugin compatibility
Default: no

All Products

You can exclude selected products in the Advanced section.

Wholesale Pricing for WooCommerce - Wholesale Table Options

Number of levels
Save settings after you change this option (new settings fields will be shown).
Default: 1
Min quantity #X
Minimum quantity to apply discount.
Default: 0
Discount #X
To set fee instead of discount – enter negative number.
Default: 0

User Roles

If you want to set different wholesale pricing options for different user roles, fill this section.

Wholesale Pricing for WooCommerce - Additional User Roles Options

User roles settings
Save settings after you change this option (new settings fields will be shown). Leave blank to disable.
Default: None

Info: Cart Page

Show discount pricing info in cart.

Info - Cart Page

Available placeholders:

  • %qty%,
  • %qty_total%,
  • %old_price_single%,
  • %old_price_total%,
  • %new_price_single%,
  • %new_price_total%,
  • %discount_value%,
  • %discount_percent%,
  • %discount_single%,
  • %discount_total%.
Item price
Default: no
Item price template
If “Item price” option is enabled, set template here.
Default:
<del>%old_price_single%</del> %new_price_single%<br>You save: <span style="color:red;">%discount_percent%%</span>
Item subtotal
Default: no
Item subtotal template
If “Item subtotal” option is enabled, set template here.
Default:
<del>%old_price_total%</del> %new_price_total%<br>You save: <span style="color:red;">%discount_total%</span>

Info: Discount Pricing Table

Show discount pricing table on single product pages.

Info - Discount Pricing Table

You can also display wholesale pricing info anywhere on your site with [alg_wc_wholesale_pricing_table], [alg_wc_product_wholesale_pricing_table], [alg_wc_wholesale_pricing_data], [alg_wc_product_wholesale_pricing_data] shortcodes.
Single product page
Default: no
Template for non-variable products
For example:

[alg_wc_product_wholesale_pricing_table table_format="vertical" heading_format="from %level_min_qty% pcs." price_row_format="%new_price_single%"]

Default:

[alg_wc_product_wholesale_pricing_table]
Template for variable products
For example:

[alg_wc_product_wholesale_pricing_table table_format="vertical" heading_format="from %level_min_qty% pcs." price_row_format="%new_price_single%"]

Default: None
Template for variations
Available placeholders: %variation_id%.
For example:

[alg_wc_product_wholesale_pricing_table product_id="%variation_id%" table_format="horizontal" price_row_format="<del>%old_price_single%</del> %new_price_single%"]

Default:

[alg_wc_product_wholesale_pricing_table product_id="%variation_id%"]
Hide main variable table on visible variation
Will automatically hide main variable product pricing table, when variation table becomes visible.
Default: no

Info: Replace Price

Replace standard product price display with a discounted one.
For example: from $7,00 to From $5,00 for 10 pcs.

Info - Replace Price

Single product page
Default: no
Template for single product pages
Default:

[alg_wc_product_wholesale_pricing_data field="price" level_num="1" product_id="%product_id%"]
Shop page
Default: no
Template for shop pages
Default:

[alg_wc_product_wholesale_pricing_data field="price" level_num="1" product_id="%product_id%"]

Price Display by Quantity

This section allows you to display product price by quantity in real-time, i.e. when a customer changes product quantity on a single product page.

Price Display by Quantity

Price display by quantity
Default: no
Template (no discount)
Price display by quantity template for quantities with no discount. Available placeholders:

  • %qty%,
  • %old_price_single%,
  • %old_price_total%.

Default:
%old_price_total% for %qty% pcs.
Template
Price display by quantity template for quantities with discount. Available placeholders:

  • %qty%,
  • %old_price_single%,
  • %old_price_total%,
  • %new_price_single%,
  • %new_price_total%,
  • %discount_value%,
  • %discount_percent%,
  • %discount_single%,
  • %discount_total%.

Default:
<del>%old_price_total%</del> %new_price_total% for %qty% pcs. You save: <span style="color:red;">%discount_percent%%</span>
Position
Price display by quantity position on the frontend. Possible values: Instead of the price; Before the price; After the price.
Default: Instead of the price
Refresh interval
In milliseconds.
Default: 500
Variable products
Will display price by quantity in variation price section. Ignored if it’s not a variable product, or if variation prices are the same.
Default: yes
Force standard quantity input
Enable this if you are using non-standard quantity input (e.g. dropdown), and having issues with the price display by quantity.
Default: no

Dropdown

This section allows you to replace standard quantity input with a dropdown. Dropdown values will be equal to the min quantities of the wholesale pricing levels.

Dropdown
Default: no

Wholesale Pricing for WooCommerce - Quantity Dropdown

Dropdown label template
Available placeholders:

  • %qty%,
  • %qty_total%,
  • %old_price_single%,
  • %old_price_total%,
  • %new_price_single%,
  • %new_price_total%,
  • %discount_value%,
  • %discount_percent%,
  • %discount_single%,
  • %discount_total%.

Default: %qty%
Dropdown class
HTML class for the `select` element.
Default: qty
Dropdown style
HTML style for the `select` element.
E.g.: min-width:100px;
Default: None
HTML before
Optional HTML outputted before the `select` element.
E.g.: <table><tbody><tr><th>Quantity</th><td>
Default: None
HTML after
Optional HTML outputted after the `select` element.
E.g.: </td></tr></tbody></table>
Default: None
Filter values
Filter dropdown values using product’s step, min and max values.
Default: no

Advanced Options

These settings are applied to the All Products section only.

Advanced Options

Required products
Ignored if empty.
Default: None
Excluded products
Default: None

Tools

Check the box and save changes to run the tool. Please note that there is no undo for these actions.

Wholesale Pricing for WooCommerce - Tools

Delete per product settings
Will delete all per product wholesale pricing settings.
Default: no
Delete per term settings
Will delete all per product category and per product tag wholesale pricing settings.
Default: no

Shortcodes

[alg_wc_wholesale_pricing_table]

Displays global (i.e. not per product) wholesale pricing table.

Attributes
  • heading_format – sets format for the table headings. Replaced values: %level_min_qty% and %level_max_qty%.
    Default value:

    from %level_min_qty% pcs.
  • before_level_max_qty – used only if %level_max_qty% is included in heading_format.
    Default value:

    -
  • last_level_max_qty – used only if %level_max_qty% is included in heading_format.
    Default value:

    +
  • hide_if_zero_quantity – hides table row (yes) if level quantity is set to zero.
    Default value:

    no
  • table_format – can be horizontal or vertical.
    Default value:

    horizontal
Example
[alg_wc_wholesale_pricing_table heading_format="%level_min_qty%%level_max_qty% pcs."]
Output

Wholesale Pricing for WooCommerce - Shortcodes - Global Wholesale Pricing Table Example

[alg_wc_product_wholesale_pricing_table]

Displays product’s wholesale pricing table.

Attributes
  • heading_format – sets the format for the table headings. Replaced values: %level_min_qty% and %level_max_qty%.
    Default value:

    from %level_min_qty% pcs.
  • before_level_max_qty – used only if %level_max_qty% is included in heading_format.
    Default value:

    -
  • last_level_max_qty – used only if %level_max_qty% is included in heading_format.
    Default value:

    +
  • hide_if_zero_quantity – hides table row (yes) if level quantity is set to zero.
    Default value:

    no
  • table_format – can be horizontal or vertical.
    Default value:

    horizontal
  • hide_currency – hides currency symbol (yes).
    Default value:

    no
  • add_price_row – adds price row to the table.
    Default value:

    yes
  • price_row_format – used only if add_price_row is set to yes.
    Default value:

    <del>%old_price%</del> %price%
  • add_percent_row – adds percent row to the table (yes). Ignored unless “Discount type” is set to “Percent”.
    Default value:

    no
  • add_discount_row – adds discount row to the table (yes). Ignored unless “Discount type” is set to “Fixed”.
    Default value:

    no
  • columns_styles – cells HTML style attribute.
    Default value:

    text-align: center;
  • table_class – table HTML class attribute.
    Default value:

    None
  • product_id – optional product ID. If not set – will use the current product.
    Default value:

    Current product's ID
Example
[alg_wc_product_wholesale_pricing_table add_percent_row="yes"]
Output

Wholesale Pricing for WooCommerce - Shortcodes - Product Wholesale Pricing Table Example

[alg_wc_wholesale_pricing_data]

Displays global (i.e. not per product) wholesale pricing data.

Attributes
  • field – can be discount or quantity.
    Default value:

    discount
  • level_num – can be last or actual level number.
    Default value:

    last
Example
Best deal: [alg_wc_wholesale_pricing_data level_num="last" field="discount"]% discount for [alg_wc_wholesale_pricing_data level_num="last" field="quantity"]+ pieces!
Output

[alg_wc_product_wholesale_pricing_data]

Displays product’s wholesale pricing data.

Attributes
  • field – can be price, discount or quantity.
    Default value:

    price
  • price_format – used only if the field is set to price.
    Default value:

    <del>%old_price%</del> %price%
  • hide_currency – hides currency symbol (yes). Used only if the field is set to price.
    Default value:

    no
  • level_num – can be last or actual level number.
    Default value:

    last
  • product_id – optional product ID. If not set – will use the current product.
    Default value:

    Current product's ID
Example
Lowest price: [alg_wc_product_wholesale_pricing_data field="price" price_format="%price%" level_num="last"] for [alg_wc_product_wholesale_pricing_data field="quantity" level_num="last"] pcs.
Output

13 reviews for Product Price by Quantity for WooCommerce

  1. Affan

    How to make it work for grouped products so the price changes when the quantity changes for grouped products?

  2. Scott (verified owner)

    My favorite volume discounts plugin, and I’ve tried most on the market. Love that I can build out the discounts right from the product edit page. Also, Tom has been super responsive on tweaks and improvements.

    • Tom Anbinder

      Thank you, Scott!

  3. Karla Jordan (verified owner)

    Works well! Being able to us negative % is what drew me to this plugin. My theme was having issues with some of the display options but Tom with support had helpful and quick responses.

    • Tom Anbinder

      Thank you, Karla!

  4. Binyam (verified owner)

    I bought the Pro Plugin and couldn’t configure it as I wanted (my issue). Tom (developer) helped with all inquires and configured it, even went above and beyond to add extra features to perfectly adjust as per my needs. Truly incredible.

    Highly recommend any of his plugins

    Thank you Tom!

    • Tom Anbinder

      Thank you, Binyam!

  5. Newstar (verified owner)

    Great Plugin but I still need help. How to set the font size in for the plugin?

    • Tom Anbinder

      Hi,

      Thank you, and sorry for the late reply.

      For the “Price Display by Qty” section:

      First of all, you need to wrap your templates in some HTML tag with class, e.g. set these options instead of the default ones (in “WooCommerce > Settings > Wholesale Pricing > Price Display by Qty”):

      Template (no discount):

      <span class="my_wholesale_pricing_price_by_qty">%old_price_total% for %qty% pcs.</span>

      Template:

      <span class="my_wholesale_pricing_price_by_qty"><del>%old_price_total%</del> %new_price_total% for %qty% pcs. You save: <span style="color:red;">%discount_percent%%</span></span>

      I.e. we’ve wrapped our output into <span> tag with my_wholesale_pricing_price_by_qty class, so now we can set its style with custom CSS (e.g. via “Customize > Additional CSS”), for example:

      .my_wholesale_pricing_price_by_qty {
          color: green;
          font-size: x-large;
          font-family: Arial, Helvetica, sans-serif;
      }

      Now for the [alg_wc_product_wholesale_pricing_table] shortcode on a single product page – table already has a class, it’s alg_wc_product_wholesale_pricing_table. So you can style it the same way as in my CSS example above, by replacing .my_wholesale_pricing_price_by_qty with .alg_wc_product_wholesale_pricing_table.

      Hope that helps. Please let me know if you have any questions.

  6. Wojciech

    I highly recommend this plugin. It helps me a lot, and thanks to Tom who did some updates for me, the plugin has become a really important part of our site.

    • Tom Anbinder

      Thank you, Wojciech!

  7. Jean-Jacques MOUSSODOU-KOUMBA (verified owner)

    plugin and super awesome. hyper responsive I like

    • Tom Anbinder

      Thank you, Jean-Jacques!

  8. Giò (verified owner)

    It is necessary to highlight the great professionalism of the developer: really very good, thanks Tom!

    • Tom Anbinder

      Thank you!

  9. Gio (verified owner)

    The plugin has the features I was looking for, great integration with WooCommerce and easy and flexible configuration.
    I asked for support for some variations: professional and precise response and quick solution.
    Fully satisfied. TOP!

  10. Kompakorn Teeppaisan (verified owner)

    This plugin is very useful — Tom work hard and super fast respond and perfect support.
    5 Star Plugin and Support , Thanks!

  11. Alex

    Excellent plugin, does exactly as described and even more, as Tom the developer listen to his clients and then the plugin get improved. Indeed I met some trouble with some features and Tom solved it within a day ! Guys you can go for it ! thanks Tom

  12. Marc van Wageningen (verified owner)

    High quality, awesome plugin does exactly as described. Thanks!

  13. Peter Verschuere (verified owner)

    I had an additional question regarding minimum prices – Tom solved it within a day! Thanks!

Add a review

Your email address will not be published. Required fields are marked *

Free version

This plugin is a premium version of free "Product Price by Quantity for WooCommerce" plugin.

Using Shortcodes in PHP

To add any of the shortcodes to all products at once, you can use WooCommerce filters. For example, to add lowest price info to all products on archives (right after the original price), you can add this snippet to your (child) theme's functions.php file:

add_action( 'woocommerce_after_shop_loop_item_title', 'custom_add_lowest_price_to_archives', 11 );
if ( ! function_exists( 'custom_add_lowest_price_to_archives' ) ) {
    /**
     * custom_add_lowest_price_to_archives.
     */
    function custom_add_lowest_price_to_archives() {
        echo do_shortcode( '[alg_wc_product_wholesale_pricing_data field="price" price_format="%price%" level_num="last"]' );
    }
}

Changelog

3.3.1 - 17/03/2023

  • Fix - Shortcodes - [alg_wc_ppq_table] and [alg_wc_product_ppq_table] - qty_thousand_sep shortcode attribute is applied to numeric quantities only.

3.3.0 - 17/03/2023

  • Dev - Shortcodes are now processed in "Item price", "Item subtotal", "Cart & checkout totals", "Price display by quantity", "Quantity dropdown" templates.
  • Dev - Shortcodes - [alg_wc_ppq_table] and [alg_wc_product_ppq_table] - qty_thousand_sep shortcode attribute added (defaults to an empty string).
  • Dev - Compatibility - Shortcodes - [alg_wc_ppq_translate] shortcode added (for WPML and Polylang plugins).
  • Dev - Compatibility - WPML/Polylang - wpml-config.xml file added.
  • Dev - Developers - alg_wc_ppq_price_display_by_qty_localize_script_args filter added.
  • WC tested up to: 7.5.

3.2.4 - 08/03/2023

  • Dev - Shortcodes - [alg_wc_ppq_products_list] - alg_wc_ppq_table table HTML class removed.

3.2.3 - 08/03/2023

  • Dev - Shortcodes - [alg_wc_ppq_products_list] - Table HTML classes added: alg_wc_ppq_table alg_wc_ppq_products_list.
  • Dev - Developers - alg_wc_wholesale_pricing_show_info_single_hook_options filter added.
  • WC tested up to: 7.4.

3.2.2 - 08/02/2023

  • Dev - Shortcodes - [alg_wc_ppq_products_list] - New columns added: image, image_with_add_to_cart_link, image_with_product_link. New attribute added: image_size.
  • Dev - Shortcodes - [alg_wc_ppq_products_list] - New attributes added: orderby, order.
  • Dev - Developers - Shortcodes - [alg_wc_ppq_products_list] - alg_wc_ppq_products_list_query_args filter added.
  • Dev - Developers - Shortcodes - [alg_wc_ppq_products_list] - alg_wc_ppq_products_list_custom_column filter added.
  • Dev - Developers - Shortcodes - [alg_wc_ppq_products_list] - alg_wc_ppq_products_list_row filter added.

3.2.1 - 19/01/2023

  • Dev - Price Display by Quantity - JS - Selector improved.

3.2.0 - 13/01/2023

  • Dev - Price Display by Quantity - Compatibility - "Sticky Add To Cart Bar For WooCommerce" plugin option added (defaults to no).
  • Dev - Price Display by Quantity - JS - Code refactoring.
  • Dev - Shortcodes - [alg_wc_product_ppq_data] - New attribute added - variation_type. Defaults to first. Other possible values: min and max. Used only when use_variation attribute is set to yes.
  • Tested up to: 6.1.
  • WC tested up to: 7.3.

3.1.0 - 04/08/2022

  • Fix - Shortcodes - [alg_wc_product_ppq_data] - Possible "Undefined variable $is_enabled..." PHP warning fixed.
  • Fix - Shortcodes - get_product_price() - Possible tax display errors in fixed and price_directly discount types fixed.
  • Dev - Shortcodes - get_product_price() - New placeholders added:
    • %old_price_single_incl_tax%,
    • %new_price_single_incl_tax%,
    • %old_price_total_incl_tax%,
    • %new_price_total_incl_tax%,
    • %old_price_single_excl_tax%,
    • %new_price_single_excl_tax%,
    • %old_price_total_excl_tax%,
    • %new_price_total_excl_tax%.
  • Dev - Price Display by Quantity - Advanced Options - "Price identifier" options added.
  • Dev - Price Display by Quantity - Settings rearranged ("Advanced Options" subsection added).
  • WC tested up to: 6.7.

3.0.1 - 24/05/2022

  • Contributor fixed.

3.0.0 - 24/05/2022

  • Dev - General - "Add order discount" option added (defaults to no).
  • Dev - Info:
    • "Cart & Checkout Totals" options added.
    • Admin settings descriptions updated.
    • Code refactoring.
  • Dev - Developers - alg_wc_product_wholesale_pricing filter added.
  • Dev - Deploy script added.
  • Dev - Plugin renamed from "Wholesale Pricing for WooCommerce" to "Product Price by Quantity for WooCommerce".
  • Dev - Shortcodes renamed (old shortcodes are still functional):
    • [alg_wc_wh_pr_product_meta] to [alg_wc_ppq_product_meta].
    • [alg_wc_wholesale_pricing_table] to [alg_wc_ppq_table].
    • [alg_wc_product_wholesale_pricing_table] to [alg_wc_product_ppq_table].
    • [alg_wc_wholesale_pricing_data] to [alg_wc_ppq_data].
    • [alg_wc_product_wholesale_pricing_data] to [alg_wc_product_ppq_data].
    • [alg_wc_wholesale_pricing_products_list] to [alg_wc_ppq_products_list].
  • Tested up to: 6.0.
  • WC tested up to: 6.5.

2.8.1 - 19/04/2022

  • Fix - Info - Cart Page - Item subtotal - "Undefined property: Alg_WC_Wholesale_Pricing_Pro_Frontend::$core" notice fixed.
  • Fix - Shortcodes - [alg_wc_wholesale_pricing_products_list] - "Undefined property: Alg_WC_Wholesale_Pricing_Pro_Shortcodes::$core" notice fixed.
  • Dev - Shortcodes - [alg_wc_product_wholesale_pricing_table] - attributes added:
    • hide_table_if_guest,
    • hide_table_for_user_roles,
    • show_table_for_user_roles,
    • hide_table_if_out_of_stock,
    • hide_if_insufficient_quantity.
  • Dev - Code refactoring.

2.8.0 - 18/04/2022

  • Fix - Per product - Per variation - Now ignoring if product price by quantity is enabled for the main variable product.
  • Fix - Shortcodes - [alg_wc_product_wholesale_pricing_table] - add_discount_row fixed.
  • Dev - Info - Discount Pricing Table - Single product page - "Position" (and "Priority") options added.
  • Dev - Info - Discount Pricing Table - "Shop page" options added.
  • Dev - All Products - Advanced - "Required/Excluded products" options now use AJAX. Separate settings section removed.
  • Dev - General - "All products > Enable" option is now duplicated in "General > Settings".
  • Dev - General - "Discount type" option moved to the "All Products" section.
  • Dev - Shortcodes - [alg_wc_product_wholesale_pricing_table]
    • add_discount_row - Showing value for non-fixed discount types now.
    • add_percent_row - Showing value for non-percent discount types now.
    • add_percent_row_rounded attribute added (defaults to no).
    • heading_format - %level_discount%, %level_discount_amount%, %level_discount_percent%, %level_discount_percent_rounded% placeholders added.
    • table_style attribute added.
    • Developers - alg_wc_product_wholesale_pricing_table_heading_format filter added.
  • Dev - Code refactoring.
  • WC tested up to: 6.4.
  • Tested up to: 5.9.

2.7.0 - 10/12/2021

  • Dev - Info - Replace Price - Now outputting unchanged (original) product price, if the (shortcode) result is empty.
  • Dev - Shortcodes - [alg_wc_product_wholesale_pricing_table] - before and after attributes added.
  • Dev - Shortcodes - [alg_wc_product_wholesale_pricing_data] - before and after attributes added.
  • Dev - Shortcodes - [alg_wc_product_wholesale_pricing_data] - use_variation attribute added (defaults to no).
  • Dev - Shortcodes - [alg_wc_wholesale_pricing_table] - before and after attributes added.
  • Dev - Shortcodes - [alg_wc_wholesale_pricing_data] - before and after attributes added.
  • Dev - Developers - alg_wc_wholesale_pricing_info_single_product_page_hook and alg_wc_wholesale_pricing_info_single_product_page_priority filters added.
  • WC tested up to: 5.9

2.6.5 - 27/10/2021

  • Dev - Price Display by Quantity - "Apply to all products" option added (defaults to yes).
  • WC tested up to: 5.8.

2.6.4 - 24/09/2021

  • Fix - Reports - Ensuring Alg_WC_Wholesale_Pricing_Settings_Per_Item class is available now.

2.6.3 - 22/09/2021

  • Dev - "Reports" section added.
  • Dev - All admin settings input is properly sanitized now.
  • Dev - Admin settings restyled; descriptions updated.
  • WC tested up to: 5.7.

2.6.2 - 09/08/2021

  • Dev - General - "Admin recalculate order" options added.
  • Dev - Admin settings rearranged ("General > Compatibility Options" subsection added).

2.6.1 - 08/08/2021

  • Dev - Allowing "Price directly" to be "0" now.
  • Dev - Price Display by Qty - Better algorithm for choosing when to use "no discount" template.
  • Dev - Admin settings descriptions updated ("Advanced" section).
  • Dev - Code refactoring - get_discount_by_quantity().

2.6.0 - 27/07/2021

  • Fix - Shortcodes - get_product_price() - Variable - "Price directly". Affects [alg_wc_product_wholesale_pricing_table] and [alg_wc_product_wholesale_pricing_data] shortcodes.
  • Dev - Tools - "Delete per product settings" and "Delete per term settings" tools added.
  • Dev - Shortcodes - [alg_wc_wholesale_pricing_products_list] - Shortcode rewritten. heading_format, row_sku, row_name, row_category, row_price, link_rows, custom_columns attributes removed. columns attribute added.
  • Dev - Developers - alg_wc_wholesale_pricing_get_levels_data filter added.
  • Dev - Developers - alg_wc_wholesale_pricing_dropdown_levels_data filter added.
  • Dev - Developers - alg_wc_wh_pr_get_discount_type filter renamed to alg_wc_wholesale_pricing_get_discount_type.
  • Dev - Developers - alg_wc_wh_pr_ajax_price_display_by_qty filter renamed to alg_wc_wholesale_pricing_ajax_price_display_by_qty.
  • Dev - Developers - alg_wc_wh_pr_dropdown_input_value filter renamed to alg_wc_wholesale_pricing_dropdown_input_value.
  • Dev - Developers - alg_wc_wh_pr_dropdown_option_label filter renamed to alg_wc_wholesale_pricing_dropdown_option_label.
  • Dev - Developers - alg_wc_wh_pr_dropdown_option_style filter renamed to alg_wc_wholesale_pricing_dropdown_option_style.
  • Dev - Developers - alg_wc_wh_pr_dropdown_option_class filter renamed to alg_wc_wholesale_pricing_dropdown_option_class.
  • Dev - Code refactoring.
  • Tested up to: 5.8.
  • WC tested up to: 5.5.

2.5.0 - 30/06/2021

  • Dev - Shortcodes - [alg_wc_wholesale_pricing_products_list] - custom_columns attribute added.
  • Dev - Shortcodes - [alg_wc_wholesale_pricing_products_list] - link_rows attribute added (defaults to price,levels).
  • Dev - Shortcodes - [alg_wc_wholesale_pricing_products_list] - use_transients attribute added (defaults to no).
  • Dev - Shortcodes - get_product_price() - Variable - Safe-checks added.
  • Dev - Developers - alg_wc_wh_pr_get_discount_type filter added.
  • Dev - Developers - alg_wc_wh_pr_dropdown_input_value filter added.
  • Dev - Developers - alg_wc_wh_pr_dropdown_option_label filter added.
  • Dev - Developers - alg_wc_wh_pr_dropdown_option_style filter added.
  • Dev - Developers - alg_wc_wh_pr_dropdown_option_class filter added.
  • Dev - Developers - alg_wc_wh_pr_ajax_price_display_by_qty filter added.
  • Dev - Plugin is initialized on the plugins_loaded action now.
  • Dev - Code refactoring.
  • WC tested up to: 5.4.

2.4.2 - 14/05/2021

  • Dev - Price Display by Qty - Variation hide event handler added.
  • Dev - Price Display by Qty - Variation change (table.variations select on change) event handler removed.
  • Dev - Dropdown - "Filter values" option added.
  • Dev - Dropdown - "HTML before" and "HTML after" options added.
  • Dev - Dropdown - Wrapping select element in div now.
  • Dev - Settings - Dropdown options moved to a separate settings section. Section descriptions updated.
  • WC tested up to: 5.3.

2.4.1 - 06/05/2021

  • Fix - Dropdown - Prices in cart page dropdown fixed.
  • Fix - Dropdown - Unnecessary 1 quantity value removed from dropdown.
  • Dev - Dropdown - Variable products support added.
  • Dev - Price Display by Qty - JS code refactoring.
  • Dev - Price Display by Qty - show_variation JS event added.

2.4.0 - 30/04/2021

  • Dev - General - "Dropdown" options added.

2.3.0 - 13/04/2021

  • Dev - General - Quantity calculation - "Group by product parent (e.g. for variations)" option added.
  • Dev - General - Quantity calculation - "Group by product category" option added.
  • Dev - General - Quantity calculation - "Group by product tag" option added.
  • Dev - General - "Total cart quantity" option redone as select (was checkbox); renamed to "Quantity calculation".
  • Dev - Info - Cart Page - %qty_total% placeholder added.
  • Dev - Code refactoring.
  • WC tested up to: 5.2.

2.2.5 - 23/03/2021

  • Dev - "WCFM plugin compatibility" options added.
  • Dev - Code refactoring.
  • Tested up to: 5.7.
  • WC tested up to: 5.1.

2.2.4 - 02/03/2021

  • Dev - Info - Discount Pricing Table - "Hide main variable table on visible variation" option added.
  • Dev - Info - Discount Pricing Table - "Template for variable products" option added.
  • Dev - Shortcodes - [alg_wc_product_wholesale_pricing_data] - Min level quantity is now passed to the price function, so now %old_price_total% and %new_price_total% placeholders are correctly processed in the price_format attribute.
  • Dev - Localization - load_plugin_textdomain() function moved to the init action.
  • Dev - Settings - Restyled and descriptions updated, e.g. "Info > Single Product Page" renamed to "Info > Discount Pricing Table", etc.
  • WC tested up to: 5.0.

2.2.3 - 29/12/2020

  • Dev - Price Display by Quantity - "Force standard quantity input" option added.

2.2.2 - 22/12/2020

  • Fix - Settings - All Products - "Undefined property: Alg_WC_Wholesale_Pricing_Core::$do_process_formula..." notice fixed.
  • Dev - Info - "Replace Price" options section added.
  • WC tested up to: 4.8.
  • Tested up to: 5.6.

2.2.1 - 25/10/2020

  • Dev - Shortcodes - [alg_wc_product_wholesale_pricing_table] - Initializing all variables now.

2.2.0 - 25/10/2020

  • Dev - Price Display by Quantity - quantity_pq_dropdown - Timer removed (also for table.variations select); input event removed; getting value from the element itself now (i.e. instead of from the original quantity field); standard qty input event handler removed.
  • Dev - Shortcodes - [alg_wc_product_wholesale_pricing_table] - New attributes added: add_total_min_qty_price_row and total_min_qty_price_row_format; extra_row_before and extra_row_after; table_heading_type; columns_styles; table_class.
  • Dev - Info - Single product pages - Template for non-variable products - Admin settings description updated.
  • WC tested up to: 4.6.

2.1.0 - 09/10/2020

  • Dev - Info - Single Product Page - "Template" options added.
  • Dev - "Lumise - Product Designer Tool" plugin compatibility added.
  • Dev - alg_wc_wholesale_pricing_get_item_product_id filter added.
  • Dev - alg_wc_wholesale_pricing_calculate_totals_product_id filter added.

2.0.0 - 15/09/2020

  • Dev - Free version max levels num limitation removed.
  • Dev - General - "Rounding" option added (defaults to yes).
  • Dev - General - Settings - "Enable per product category" and "Enable per product tag" options added.
  • Dev - General - Settings - "Per variation" option added.
  • Dev - General - Settings - Per product - "Price directly" option available in variable products as well now.
  • Dev - General - Settings - Per product - "Reset all", "Copy variation" and "Reset variation" actions added to product settings.
  • Dev - Info - "Single Product Page" subsection added.
  • Dev - Info - Cart Page - Default message value added to translations.
  • Dev - Info - Cart Page - Message placeholders renamed; default message value updated.
  • Dev - Info - Cart Page - %qty%, %old_price_total%, %new_price_total%, %discount_percent%, %discount_single%, %discount_total% placeholders added.
  • Dev - Info - Cart Page - "Item subtotal" options added.
  • Dev - All Products - "Enable" option added.
  • Dev - User Roles - "Enable" option added.
  • Dev - Price Display by Quantity - Select event added (for the variable products).
  • Dev - Price Display by Quantity - change event added for the quantity input.
  • Dev - Price Display by Quantity - quantity_pq_dropdown events handler added.
  • Dev - Price Display by Quantity - Message placeholders renamed; default message values updated.
  • Dev - Price Display by Quantity - %discount_percent%, %discount_single% and %discount_total% placeholders added.
  • Dev - Price Display by Quantity - "Variable products > Display in variation price" option added (defaults to yes).
  • Dev - Shortcodes - [alg_wc_wholesale_pricing_products_list] shortcode added.
  • Dev - Shortcodes - Placeholders renamed.
  • Dev - Shortcodes - Handling products with empty price properly now.
  • Dev - All input is sanitized now.
  • Dev - JS files minified.
  • Dev - Admin settings restyled; descriptions updated; "Info" section added; "Discount Table" section renamed to "All Products".
  • Dev - Code refactoring.
  • Tested up to: 5.5.
  • WC tested up to: 4.5.

1.4.1 - 19/06/2020

  • Fix - Advanced - Products to exclude - Bug fixed.
  • Dev - Price Display by Quantity - Checking if product price by quantity is enabled for the product now (e.g. "Products to include/exclude" option).
  • Dev - Advanced - Products to include/exclude - Product ID info added to the dropdown.
  • Dev - Reset Settings - Description updated.
  • Tested up to: 5.4.
  • WC tested up to: 4.2.

1.4.0 - 19/03/2020

  • Dev - General - "Process formula and shortcodes" option added.
  • Dev - Code refactoring.
  • Dev - Admin settings descriptions updated.
  • WC tested up to: 4.0.

1.3.0 - 27/12/2019

  • Dev - "Price Display by Quantity" options added.
  • Dev - Admin settings restyled; "Advanced" section added.
  • Dev - Code refactoring.
  • Tested up to: 5.3.

1.2.0 - 06/11/2019

  • Dev - Additional safeguards added when getting product ID.
  • Dev - Admin settings split into sections.
  • Dev - Code refactoring.
  • WC tested up to: 3.8.

1.1.2 - 23/09/2019

  • Dev - [alg_wc_product_wholesale_pricing_data] shortcode added.
  • Dev - [alg_wc_wholesale_pricing_data] shortcode added.
  • Dev - Code refactoring.
  • Dev - Admin Settings - "Your settings have been reset" notice added.
  • WC tested up to: 3.7.

1.1.1 - 07/06/2019

  • Tested up to: 5.2.
  • WC tested up to: 3.6.

1.1.0 - 31/10/2018

  • Dev - "Raw" value is now allowed in "Discount info on cart page format" option.
  • Dev - Admin settings restyled.
  • Dev - Code refactoring.
  • Dev - Plugin URI updated.

1.0.0 - 13/08/2017

  • Initial Release.