=== WP e-Commerce - Wholesale Pricing ===
Contributors: Visser Labs
Tags: e-commerce, shop, cart, ecommerce, wholesale pricing
Requires at least: 2.9.2
Tested up to: 4.7.5
Stable tag: 1.8
== Description ==
Add wholesale pricing controls to your WP e-Commerce store.
For more information visit: http://www.visser.com.au/wp-ecommerce/
== Installation ==
1. Upload the folder 'wp-e-commerce-wholesale-pricing' to the '/wp-content/plugins/' directory
2. Activate the plugin through the 'Plugins' menu in WordPress
== Usage ==
Wholesale Pricing for WP e-Commerce integrates with custom User Roles in WordPress, what this means is you can create custom User Roles with specific access outside the traditional WordPress User Roles (e.g. Subscriber, Author, Moderator, etc.).
I've had alot of success integrating custom User Role pricing within WP e-Commerce using the User Role Editor Plugin (http://wordpress.org/extend/plugins/user-role-editor/) from shinephp, available for download from WordPress.org. Hope this helps!
To configure default pricing rules:
==== In WP e-Commerce 3.7 ====
1. Open Store > Wholesale Pricing
==== In WP e-Commerce 3.8 ====
1. Open Settings > Wholesale Pricing
====
2. Set default pricing levels for Products which do not have their own per-Product pricing rules. If you do want to add default pricing levels leave this as default.
==== In WP e-Commerce 3.7 ====
3. Open Store > Products
==== In WP e-Commerce 3.7 ====
3. Open Products > Add/Edit Products
====
4. Open an individual Product and under the Wholesale Pricing widget select the individual Product's pricing levels. Do note that the fixed price rule will always override the %/$-based pricing rules so set one of the other, not both.
5. Click Update to save changes
6. Have fun!
== Sidenotes ==
==== Product visibility base on User Role ====
To add the show/hide Product visibility based on User Role you can use the built-in filtering we employ on the Products Page and Single Product screen, if you require further customisation of element visibility see the following.
1. Open your root web directory with your favourite file explorer or FTP manager (e.g. FileZilla)
====== In WP e-Commerce 3.7 ======
Depending on whether you are using the default WP e-Commerce template files (e.g. /wp-content/plugins/wp-e-commerce/themes/%current_theme%/...) or have copied them to the 'safe' WP e-Commerce directory within Uploads (e.g. /wp-content/uploads/themes/%current_theme%/...) do as follow.
2. Open 'products_page.php' and paste '<?php if( wpsc_wp_is_product_visible() ) : ?>' on line #82
3. Open 'single_product.php' and paste '<?php if( wpsc_wp_is_product_visible() ) : ?>' on line #26
====== In WP e-Commerce 3.8 ======
Depending on whether you are using the default WP e-Commerce template files (e.g. /wp-content/plugins/wp-e-commerce/wpsc-theme/...) or have copied them to your current WordPres Theme directory (e.g. /wp-content/themes/%current_theme%/...) do as follow.
2. Open 'wpsc-products_page.php'
2.1 Copy the following snippet and paste it below "<?php while (wpsc_have_products()) : wpsc_the_product(); ?>" on line #66
<?php if( wpsc_wp_is_product_visible() ) : ?>
2.2 Paste the following snippet and paste it above "<?php endwhile; ?>" on line #227
<?php endif; ?>
3. Open 'wpsc-single_product.php'
3.1 Copy the following snippet and paste it below "<?php while (wpsc_have_products()) : wpsc_the_product(); ?>" on line #30
<?php if( wpsc_wp_is_product_visible() ) : ?>
3.2 Copy the following snippet on paste it above "<?php endwhile; ?>" on line #214
<?php endif; ?>
======
4. Save changes and upload modified files
==== Original Price ====
Display the original Price before markup/markdown within your store with the following template tag (e.g. Original Price: $20.00).
Drop the following template tag into your Products Page and/or Single Product template, then save changes and upload modified files.
Original Price: <?php echo wpsc_wp_original_price(); ?>
==== You Save ====
Display the saving between standard Product price and the current User Role's markup/markdown (e.g. You Save: $5.00 (25.00%))
Drop the following template tag into your Products Page and/or Single Product template, then save changes and upload modified files.
You Save: <?php wpsc_wp_you_save( array( 'type' => 'amount' ) ); ?> (<?php wpsc_wp_you_save(); ?>)
=== User Role Price ===
Display the Price for a given User Role using the following template tag (e.g. Member's Price: $5.95).
Drop the following template tag into your Products Page and/or Single Product template, then save changes and upload modified files.
Member's Price: <?php wpsc_wp_role_price( 'subscriber' ); ?>
Replace 'subscriber' with the User Role 'slug', here's the default User Role slugs in WordPress.
- administrator
- editor
- author
- contributor
- subscriber
- guest
== Support ==
If you have any problems, questions or suggestions please join the members discussion on my WP e-Commerce dedicated forum.
http://www.visser.com.au/wp-ecommerce/forums/
== Disclaimer ==
This Plugin does not claim to be a PCI-compliant solution. It is not responsible for any harm or wrong doing this Plugin may cause. Users are fully responsible for their own use. This Plugin is to be used WITHOUT warranty.
Very interested in this for 3.8, when will it be available? I have a client that needs it soon!
Hi Martin, packaging up the Plugin update now 🙂
Hi, I’m very interested in this plugin but I’d like to see a demo if possible prior to purchasing it. Possible?
I am very interested in this plugin for a store I am about to launch, but has recently told me they now want to offer wholesale pricing as well. Lucky to find your plugin… any thoughts?
ciao,
Rob
Amsterdam
Hey Rob, Wholesale Pricing will fit your needs perfectly, create a custom User Role by following the Plugin instructions then set your pricing levels and you’re set to go, in the future you’ll be able to assign custom pricing levels against each User instead of each User Role which I’m very much looking forward to supporting!
Yep, I’m interested in your Wholesale plugin for WP 3.8.1. when do you think it will be avail. looks like a great plugin.
-Dan
Hey Dan, WP e-Commerce 3.8.2 support is ready to go in Wholesale Pricing 1.4 🙂
Michael,
I am very interested in the release of the 3.8 compatible version of the wholesale plugin. Please let me know what the estimated release date will be. I haven’t heard from you in a long while. I hope everything is okay.
Thank you,
Kimberly
Thanks for your patience Kimberley, I’m almost over the peak of work upgrading the suite of Plugins to support the new WP e-Commerce, soon as things settle down I can spin up some new features for my favourite Plugins 🙂
Hi Michael,
This plug in looks very interesting, but I was wondering if you thought it will include some specific functionality, or if you know of something that does this.
I have a Franchise company that wants to sell retail products and also have members (franchisees) be able to log in and add bulk products (some not available to the public) to their cart and check out without paying. Essentially, their account and order would transfer to the franchise as a PO to be fulfilled and billed later. So, I’m looking for member’s only pricing that don’t have prices and a way to skip the standard checkout process and email the order. They’d like to keep the order history for each member also so the franchise and the franchisee can see their orders online. Make sense?
If you have a moment, I’d love to hear your thoughts.
(and thanks again for your help a year or so ago. I have a few sites running this and it’s really great!)
Mark
Hi Michael, I’m hoping you might have some insight into your plugin and if it will do some of what I’ve described above. If it will, then I’ll be moving forward with it.
Thanks!
Mark
Hi! Wanted to check in. Does this plugin:
– offer per product wholesale pricing
– ability to exclude products
Does anyone know of a quantity based discount option for wp-ecommerce?
I too need a 3.8 version, will this work?
Hi guys, apologies for the delay in responding my development laptop cooked itself while abroad, I’m back up and running now and rushing to finalise WP e-Commerce 3.8 official support, for now Wholesale Pricing is limited to 3.7 with a free Plugin update to 3.8 when available. 🙂
Hi
Do you have a vague ETA for the 3.8 compatibility? I am building a new store on 3.8 at the moment and want to hopefully go live in the beginning of May. Do you think you will have something ready in the next week or two?
(Is there possibly a beta version for 3.8 that you want tested?)
Thanks for your great plugins! Going to get printable invoices soon.
Any eta for the 3.8 version of the plugin?
Hi,
I’m also trying to set up a wholesale site, which I am placing behind a login on my page (so only approved re-sellers can get in to order cases/enjoy wholesale pricing).
I’ve set up this control with the “Member Access” plugin, and it seems to work great. However, my customers need to input their details into this registration form, and then re-enter all their details into wp-ecommerce’s order forms.
Is there some way to connect wp-ecommerce’s forms to the user account data that’s already available, to properly link wp-ecommerce’s representation of a customer to the list of users my site already has? I’d also like to have the shopping cart empty when the user logs out (it’s very strange to log in and see the previous user’s cart if you are using the same computer).
Thanks for any tips you can provide!
I’m looking forward to all the features you’ll have in the wholesale plugin when you’ve gotten through the big shopping list above! I’d love to have more built in features like those so that I can run one online store instead of two !
Hi Michael:
I just googled my own question from last year on getshopped.org 🙂
I had switched to WP eStore as this was the easiest setup for me at the time, but now, I need the following setup:
My store is in Michigan, 6% sales tax
– retail customers based in Michigan -> 6% sales tax
– retail customers outside of Michigan -> no sales tax
(retail customers usually order only 1 piece and pay full price, at least for now)
– wholesale customers based in Michigan -> no sales tax when registered with us
– wholesale customers outside of Michigan -> no sales tax
(wholesale pricing only applies to orders above 4 units, i.e. if a wholesale customer orders only 1-3 pieces they need to be charged full price)
Is there a way WP-ecommerce and your plugin can resolve that? Can wp-ecommerce do it on its own)
Would be great to find out.
All of the above likely will change later in the year when we add more product. Right now, we only have 1 product out, sold as a download but all customers also receive a CD in the mail.
Wholesale customers buy the same product, but only the CD.
Thanks for your help.
Regards
Thomas
I am familiar with the UAM (User Access Manager) and have used it on several sites. Will your plugin work with that plugin?
Hi sonogreen, Wholesale Pricing currently uses User Role-based checking, I could easily add a unique capability to WordPress which will then be supported by UAM. I’ll look at this tomorrow morning.
For that particular website I do not care if it is UAM or any other plugin that allows me to create roles for users beyond the roles WP offers.
What is the most important for me is the tax handling.
My wholesale users might be charged sales tax but usually they are sales tax exempt here (when I have the company tax ID on file I can sell them product for resale without adding sales tax).
All retail customers pay sales tax depending on the state they are in.
This I need resolved quickly. Can you help?
Thanks
Thomas
ooops…
What I wanted to say is:
In the future as we have more products, wholesalers might order only 1 product of a certain kind and more of another one and I would like to be prepared and not start looking around for solutions again in a couple of months. I.e. Wholesale pricing will be necessary for approved customers for all order quantities.
I know, right now, I could resolve the issue with quantity discounts, but I want to be prepared. As long as I can create also “wholesale pricing quantity discounts” I can just enter the retail value for qty 1-3 and the discounted price from qty 4 and up.
But the scenario as described above is what I need to have fixed right now.
Looking forward to your insight.
Thomas
Is the current version able to do per product price change or just across the board. Also if not when will the version that can be released. Thanks!
Hi allofthepeople, as above currently the price change is across the board per-User Role, I have a high-priority Job to complete which once complete I can focus on releasing per-Product price change support within WP e-Commerce. The Plugin update will be available as soon as it’s stable, not a moment later.
I have a client who requires per-product wholesale price functionality. I’ll purchase when it’s available.
Hy Michael.
I’m also interested about the per-product pricing sale plug-in or whatever you’re going to call it :). I want to know if this plug-in will be a free update for this one, or will it be a stand alone plug-in. I also bought from you the whislist plug-in and both me and my customer where satisfied.
Keep up the good work!
Look forward to hear from you.
Regards Mihaiteo
see:
User Role Editor
http://wordpress.org/extend/plugins/user-role-editor/
i have found these to be good companions for that plugin:
User Access Manager
Peter’s Login Redirect
Hi Ari, User Role Editor looks like just the trick, infact it looks very similar to the existing Plugin; possible rename. I use Peter’s Login Redirect here on Visser Labs for logins/registrations to keep logged-in users out of the WordPress backend. 🙂
My client wants to be able to set prices on products, not per role, but per user. Is it something your plugin might do?
Hi Dave, this functionality will be present in the next Plugin update, I’m putting blood, sweat and tears into getting this working for 3.7 as well as 3.8 but may need to settle for this only working for 3.8 forward… stay tuned 🙂
The “Sidebar Login” plugin also keeps people on the page they are and out of the backend. Works also with the UAM plugin