Dual wholesale Prices

Dual Wholesale Pricing. 

This zen cart modification is a great admin tool that allows you to set up your shopping cart customers with special wholesale pricing. View the listed items below that can be changed or modified to fix your shopping cart.

Dual Pricing 2.1.8

ZenCart 1.5.6

This module replaces group pricing and adds an additional price field to the product as well as allows you to assign "Wholesale" Status to users.
Users with Wholesale Status will see the wholesale pricing. You can add multiple levels of wholesale pricing, for example: 20.00-10.00-5.00

THIS REPLACES GROUP PRICING. IF YOU USE GROUP PRICING THEN DON'T USE THIS.

If you're using Zen Cart *other than* 1.5.6, please use the appropriate version of this plugin.  This is *only for* Zen Cart 1.5.6

====================================================================

FAQ's

====================================================================

---------------------------------

How do I use it?

---------------------------------

1. To set 4 levels of wholesale pricing, edit the product and change the wholesale price to be a dash separated list, eg. 50.00-30.00-0.00-25.00

2. Attributes can be set in the same way, but you need to enter the prices in the "Wholesale Price" field and use comma separation, eg. 50.00-30.00-0.00-25,00

3. Pick a customer and click "edit". You will see a new text box under the email address box. The number should be 0, If you change it to a number above 0 then the customer gets wholesale pricing at that level. 

---------------------------------

How do pricing levels work?

---------------------------------

If you set a customer to 1 they'll see level 1 wholesale price instead of the retail price.

If you set it to 2 they will get the second wholesale price.

If they are set to 2 and there is only one wholesale price they will get the level 1 price.

If there is no wholesale price they get retail pricing.

---------------------------------

What about products on sale/special?

---------------------------------

If you put products on sale, your Wholesale level pricing will override that price. So sales only apply to Retail customers.

If you'd like to disable this feature, edit /includes/functions/functions_prices.php

Find these sets of code and comment them out (there should be 4 of them):

//Dual Pricing start - hide specials

//Dual Pricing end - hide specials

---------------------------------

What about taxes?

---------------------------------

By default, your Retail customers (level 0) will be charged sales tax, and wholesale customers (level 1+) will not be charged any sales tax.

If you would like to charge taxes to EVERYONE, then do not include the following file in your installation (or, revert this file back to the original that comes with Zen Cart):

includes\classes\order.php

---------------------------------

Can I add wholesale pricing to my Easy Populate spreadsheet?

---------------------------------

NOTE: if you'd like to add your wholesale prices to Easy Populate, add the following line to

admin\includes\languages\english.php

define('EASYPOPULATE_CONFIG_CUSTOM_FIELDS', 'products_price_w'); //Easy Populate

If you have already added this line for previous fields, then simply add products_price_w with a comma:

define('EASYPOPULATE_CONFIG_CUSTOM_FIELDS', 'products_price_w,WHATEVER_FIELD'); //Easy Populate

---------------------------------

How do I change wording/display style?

---------------------------------

If you want your wholesale customers to see BOTH retail and wholesale pricing (instead of only Wholesale pricing), then uncomment line #71 in this file:

\includes\templates\YOUR_TEMPLATE\templates\tpl_product_info_display.php

 

If you want to change wording in front of the prices, edit this file:

\includes\languages\english\YOUR_TEMPLATE\product_info.php

 

You can easily add the following three IDs to your CSS file and control the styles of your text:

#retail

#retailwhole

#whole

====================================================================

Support

====================================================================

If you have any problems using this add-on module, visit the support thread below.

http://www.zen-cart.com/forum/showthread.php?t=35450

====================================================================

Affected Files

====================================================================

admin\includes\functions\functions_prices.php

admin\includes\languages\english\attributes_controller.php

admin\includes\languages\english\customers.php

admin\includes\modules\product\collect_info.php

admin\includes\modules\products\preview_info.php

admin\includes\modules\category_product_listing.php

admin\includes\modules\copy_to_confirm.php

admin\includes\modules\update_product.php

admin\attibutes_controller.php

admin\customers.php

admin\products_price_manager.php

includes\classes\shopping_cart.php

includes\classes\order.php

includes\functions\functions_prices.php

includes\languages\english\YOUR_TEMPLATE\product_info.php

includes\modules\pages\login\header_php.php

includes\templates\YOUR_TEMPLATE\tpl_product_info_display.php

includes\modules\YOUR_TEMPLATE\products_quantity_discounts.php

====================================================================

Credits

====================================================================

Plugin Authors/Contributors:

jeking, JTwebsitedesign, Delia, That Software Guy, romanus, madfastride, Twitch

  • Zen Cart, Zencart modification
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Adding Attribute to Zen Cart

How do I add attributes to my products?       There are 3 parts to...

Cart Protection "Blocking Attacks"

How can I block specific hacker probing activities?       Some common...

Adding Multipule Attribute Images

Although Zen Cart supports defining an image for a product’s attribute (i.e. different colors of...

SSL certificate Checker

So you believe that your web site has a SSL certificate but are unsure if its being viewed...

Changing the name of CATEGORIES and side box

The default heading for the categories sidebox in zen cart is “Categories”. You might want to...