Sale! Tested Updated Perfect rating Documented

Wholesale Pricing for WooCommerce

(4 customer reviews)

From: $19.99 / year

Set WooCommerce wholesale pricing depending on product quantity in cart.

$29.99 $19.99 Single site1 year of updates and support30-day money-back guaranteeBuy
$79.99 $49.99 Unlimited sites1 year of updates and support30-day money-back guaranteeBuy
$149.99 $79.99Unlimited sitesLifetime updates and support30-day money-back guaranteeBuy
Clear

Description

Wholesale Pricing 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 per product basis.
  • You can use total cart quantity or product quantity.
  • Optionally you can set to apply 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 per product basis.
  • Additionally you can set different wholesale pricing options for different user roles.
  • If you want to display prices table or other data on frontend, there are shortcodes included in the plugin.

Wholesale Pricing Options

Plugin settings are located in “WooCommerce > Settings > Wholesale Pricing”.

Wholesale Pricing for WooCommerce - General Options

Enable per product
This will add new meta box to each product’s edit page.
Default: yes
Use total cart quantity instead of product quantity
Default: no
Apply wholesale discount only if no other cart discounts were applied
Default: no
Show discount info on cart page
Default: no
Show discount info on cart page: Format
If show discount info on cart page is enabled, set format here. Replaced values: %old_price%, %price%, %discount_value%.
Default:
<del>%old_price%</del> %price%<br>You save: <span style="color:red;">%discount_value%</span>

Discount

Wholesale Pricing for WooCommerce - Discount Options

Discount type
Possible values: Percent; Fixed.
Default: Percent
Products to include
Leave blank to include all products.
Default: None
Products to exclude
Leave blank to include all products.
Default: None

Wholesale Table

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

Additional 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

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 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
  • product_id – optional product ID. If not set – will use 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 field is set to price.
    Default value:

    <del>%old_price%</del> %price%
  • hide_currency – hides currency symbol (yes). Used only if 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 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

4 reviews for Wholesale Pricing for WooCommerce

  1. blank

    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!

  2. blank

    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

  3. blank

    Marc van Wageningen (verified owner)

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

  4. blank

    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 *

19 thoughts on "Wholesale Pricing for WooCommerce"

  1. I have installed the free version of the plugin.
    However, I encountered problems and bugs with the plugin in the message that appears once the quantity has been selected and that allows the automatic calculation of the price. Every now and then it crashes. I would like that once the quantity has been chosen, the message would be blocked and not refreshed. By replacing the classic section that indicates the price of the product

    You can see the example of the malfunction at this link: https://shop.cogefrin.it/staging/shop/mascherine/mascherine-chirurgiche-iir-ce-dispositivo-medico-100-made-in-italy-cartone-da -500-pcs /

  2. Are there more placeholder options than these 6? I’m trying to display amount saved or percent saved.
    %qty%, %price%, %price_single%, %new_price%, %new_price_single%, %discount_value%

    1. Hi Jacob,

      Which version of our plugin do you have installed? Since v2.0.0 available placeholders are:

      • %qty%
      • %old_price_single%
      • %old_price_total%
      • %new_price_single%
      • %new_price_total%
      • %discount_value%
      • %discount_percent%
      • %discount_single%
      • %discount_total%
    2. This solves my problem. Thank you for such a prompt response.

    3. No, I have V 1.4.1 and I don’t see an update available for it. Thank you for the prompt response .

    4. You have two options to update the plugin:

      1. Download new version manually from My Account page.

      2. Automatic updates – install and activate free WPFactory Helper plugin, which will handle automatic updates, similar as it is with free plugins hosted on wordpress.org.

  3. Hello
    Please tell me how to include product category and is it possible to create new table for different product categories?

    1. Hi,

      Unfortunately, currently, that’s not possible – you can only set discount table for all products at once or for each product separately (when setting it for all products at once, you can also “Include/Exclude” selected products (in “Advanced” settings section)). However, setting it by category seems like a useful feature – let me try to add it to the plugin. Will get back to you shortly.

    2. Thank you for answer. One more question. Please tell me how to create table short code.

    3. Hi,

      There are two shortcodes:

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

      [alg_wc_wholesale_pricing_table]

      2. Displays product’s wholesale pricing table:

      [alg_wc_product_wholesale_pricing_table]

      You can check the available shortcode attributes here.

      Please give it a try and let me know if you have any questions.

  4. Hello!

    Does your plugin allow to set exact prices for the allowed quantities. For example if we set these allowed quantities: 1,3,5,10,24 can we set different prices for each of these quantities? Thank you.

    Best regards,
    Jovana

  5. Hi Tom,

    we´re using your plugin on our site and the function works quite well.
    Only problem we have is that it it`s not loading properly. So for example if you got to a product page you see the code as %price% per piece. Also if you click outside the quantity field, press enter and when you put in a new quantity.
    We´re using Divi Theme. Lazy loading time is no problem but we don`t want customers to see the code while loading.

    Thx.

  6. Hello Sir,

    How to show offers/product quantity discount on Wholesale Order Table.
    Please suggest.

  7. Is it possible to use this plugin with variable products where the pricing depends on the quantity of specific variation? I need to be able to set the price for each quantity directly (as opposed to applying discount etc). Is this possible?

    The quantities will also be fixed from a set of values. So would I then be able to use the following plugin as well, to just restrict the quantity the user can choose so that it aligns with pricing/quantity set with this wholesale plugin?
    https://wpfactory.com/item/product-quantity-for-woocommerce/#section-fixed-quantity-options

    1. Hi Samiul,

      Unfortunately, at the moment, per variation option is not included in the plugin, however, I will try to add it in the next plugin version. “Price directly” option now is also available for simple products only.

      As for the “Product Quantity” plugin – there should be no issues using it together with the “Wholesale Pricing” plugin.

  8. Is it possible to show the lowest price below the product as eg. “From $2.60”?
    I have a product that costs $3.00 per unit, but $2.60 per unit if people order 10 of them. I’d like to show this lowest price. Thank you.

    1. Hi Peter,

      Since plugin version 1.1.2, you can use [alg_wc_product_wholesale_pricing_data] shortcode, e.g.:

      [alg_wc_product_wholesale_pricing_data field="price" price_format="%price%" level_num="last"]
  9. I implemented the prices table on the frontend using shortcode [alg_wc_product_wholesale_pricing_table]
    But is there a way in this plugin to translate the English table headers? (“From … pcs.”)
    Thanks!

    1. As replied in private conversation, in case if anyone else is interested, you need to use heading_format attribute, which is set to from %level_min_qty% pcs. by default. So something like this:

      [alg_wc_product_wholesale_pricing_table heading_format="from %level_min_qty% pcs."]

Leave a Reply

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

Changelog

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 wholesale pricing 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.

Free version

This plugin is a premium version of free "Wholesale Pricing for WooCommerce" plugin.

Developers

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"]' );
    }
}

Installation and Updates

  • Buy the plugin 🙂
  • Download plugin's zip to your computer (you will receive an email with download link, or you can always download the plugin from your account).
  • Go to "Admin Dashboard > Plugins > Add New > Upload Plugin" and browse for downloaded zip file.
  • If plugin is successfully installed - you should see it added to the Plugins list.
  • To keep WPFactory items up to date, please install WPFactory Helper plugin and enter your site key.

Refunds

We want to ensure that you are 100% happy with your purchase, so if you feel the product(s) you purchased are not the best fit for your requirements and you attempted to resolve issues with product's author, we are offering 30 day money back guarantee refund policy.