Sale! Updated Perfect rating

Wholesale Pricing for WooCommerce

(1 customer review)

From: $14.99 / year

Set WooCommerce wholesale pricing depending on product quantity in cart.

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

1 review for Wholesale Pricing for WooCommerce

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

6 thoughts on "Wholesale Pricing for WooCommerce"

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

  2. 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"]
  3. 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

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

Prices & Licenses

Single siteUnlimited sites
1 year[buy] $19.99 $14.99 / year[buy] $29.99 $24.99 / year
Lifetime[buy] $39.99 $29.99[buy] $59.99 $39.99

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.