=== 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.
does this plugin support shipping options to be setup based on the user group?
e-Commerce Platform
WP e-Commerce
e-Commerce Platform Version
3.8.13.1
Wordpress Version
3.8
Plugin Name
Wholesale pricing
Plugin Version
1.7.9
Message
Hi!
I select the individual Product’s pricing levels at the products edit page. The fixed price is 0.00 in the widget (as default set), and this value always overwrite the percent based pricing.
E.g.: I set -10% discount, but the wholesale product price will 0.00.
I can’t use the bought plugin, please send a solution asap.
Thx.
Hi gombszorp, WP e-Commerce does not support negative pricing so if you are applying a 10% discount on a Product that has a price of 0.00 then the discounted Product price from Wholesale Pricing will also be 0.00. If you set the Sale Price to a positive number (e.g. 14.95) and apply the same 10% discount then the updated Sale Price will be $13.45. Feel free to open a Premium Support ticket with us so we can assist further. 🙂
Hello Michael
I am evaluating purchasing the wholesale pricing plugin. Currently, I am using woocommerce . Willyour plugin work with different Product variations based on user type ? For example, will it allow showing certain product variations to wholesalers only, and other variations to retailers only ?
Thank you.
Will this be available for WooCommerce?
hello
does this include a Wholesale min Qty, feature to give wholesale buyers different quantities that they must buy
thanks
ian
Hi! I am in the process of building a site using WP e-Commerce and we need to display wholesale pricing (based on user roles). Will this plugin integrate with the existing admin without the need to rebuild our product database?
Hi Jeff, this Plugin will tie into your existing Product catalogue, you can adjust the global wholesale pricing rules from Settings > Wholesale Pricing screen. 🙂
Hello, this is an very good plugin.
We have a small issue, our custom template is using wpsc_cart_single_item_price to get the unit price and wpsc_cart_item_price the total price of the product on the check out page, and this is not the whosale price, any idea how can we fix this?
Thanks!
Hi Michael
I have another suggestion. Can we prevent coupon codes from being applied if the wholesale price is used during a checkout?
Is there a validator check you could add into the plugin?
Kind regards
Anis
Hi Michael
I purchased this plugin over the weekend and I’m just going through some testing. Something occured to me, which I feel will be beneficial as a feature to this superb plugin.
After the purchase goes through at the discounted price, the purchase/order history shows the details without flaw. However, it does not log or show anywhere what discount was used, if any was used, on the order history. I know the plugin works in a certain way and only involves itself with the discounted calculation of the product, but could there be an opportunity here to show the type/amount of discount given (i.e. Wholesaler 20%) somewhere like the order history on either the front or in the backend?
This would certainly help to understand what the full price of the product (exc discount) was at the time of purchase – in case the price has changed since.
Just a thought.
Anis
Hi Anis, thanks for your suggestion. I’m not sure how we’d impliment that as we’d then need to save the wholesale pricing rules against the sale incase the store owner updates the rules after a Sale is made. I’ve added a note to look into this further, be it a simple note in the Sales log through to additional Sales meta once we move to Custom Post Type for Sales.
Hi Michael
Not a problem. Would be a nice to have for sure.
Hi there,
For one my client website, I have WP e-commerce and Gold cart installed. All products and coupon are already there. The clients now wants a dedicated link for each distributor. Ability for a distributor to order online at the wholesale price and reports on same. Will your plugin help me to accomplish this requirement. Let me know at your earliest.
Hi Tahsin, Wholesale Pricing will accomplish some of your client requirements:
– Ability for a distributor to order online at their wholesale price and this price is shown on reports, sales, etc.
It will not however:
– Create a dedicated link for each distributor, our Plugin adjusts the Price an Sale Price of a Product based on the logged-in User Role.
To get around your dedicated link issue make the Products Page and other cart pages restricted to logged-in users only so that once they log in they see their individual prices. Hope this helps.
Hi, I’ve been able to install the plugin and successfully able to set wholesale price for user role. It is showing the price in product page. But when I added to the cart and trying to checkout, it shows the original price not the discounted price. I’m using WP e-commerce and Gold cart. I tried enable and disable checkbox in Setting->WholeSales Price->Pricing Settings for user roles, but nothing works to update the checkout pricing. It will be great if you can let me know the way forward.
Hi I have a site with three levels of pricing, retail, wholesale and web. I am using groups to assign my customers to their pricing levels. But I’m wondering if this plugin may help streamline the process for inputing the prices?
Let me know and thanks for all of your great work
Hi bredane, yes our Plugin will help with managing per-Product pricing based on different groups (we group based on User Role).
Once you have created some new User Role’s within the WordPress Administration; e.g. Retail, Wholesale you can assign either storewide markup/markdown pricing rules against them or assign per-Product pricing rules from the Add/Edit Products screen.
To help with per-Product pricing on large Product catalogues you can use our Product Importer Deluxe and Store Exporter Plugin to import/export Wholesale Pricing changes.
Michael, please help me. I’m trying to get the updated plugin.
I’ve inputted my session ID but this is the the message response I get:
========================
Your Session ID was successfully verified, your latest Plugin files are listed below.
Click on the Plugin name to download the latest release. Product
Explore the globe, Google Maps Flight sim style
No downloadable Products are linked to this Product.
Hi jimario, I’m overhauling Download Manager today on our site to resolve this, there’s legacy sales that are causing the platform to be unstable.
Hi jimario, just to follow up. Your Session ID is now working, upgrade of Premium Plugin Updates complete. 🙂
I have a user level Wholesale
I have a over-all settings page discount of 10% that works fine.
I have fixed price set in some products with variations for wholesaler users. That does not seem to work.
If the main product has no fixed discount set no discount shows no matter what the variations say. If I set the main product discounted price to that of the cheapest variation, say $6, then all variations show $6 no matter what is set in the variation.
Percentage discount and $ discount seem to be working fine. Fixed price not at all.
I emailed via premium support but have heard nothing.
Happy to supply logins.
Hi Mark, managing support via Plugin pages has meant some threads go unanswered. We’re changing this with the new Theme for our website next year.
I’ll review your responses here and update you, can you please get in touch via the Contact page with site URL, FTP and WP Admin and I’ll act on this ASAP.
I have a client who wants to have the layout of the Retail pages/products different than the layout of Wholesale pages/products. Essentially, the retail pages are going to be more visually focused with a lot more interactivity where the Wholesale pages are going to have a lot less information.
How does this plugin handle the output for the different Retail/Wholesale users? Is there some type of class added or php variable passed that I can hook into to deliver different visual content based on who is logged in?
Hi Gary, you can use the Wholesale Pricing template tag wpsc_wp_is_product_visible() to control visibility of individual Products per User Role, because this is a template tag you can hide the whole Product – by wrapping it around the WP e-Commerce template files within wpsc-single_product.php and wpsc-products_page.php – or individual elements (e.g. show Price for Wholesalers and perhaps display a Contact form for site visitors (guests).
http://www.visser.com.au/wp-ecommerce/plugins/product-enquiry/
I’m a newbie. Could you please explain how to do this, in detail? Thank you so much for your help.
Larry
I have completed the steps listed in the readme.txt file. However, the wholsesale product I wished to make visible to wholesale accts only remains visible ( http://geffenbaby.com/products-page/ ).
I am using the Flexishop theme. Though I’m sure you’re busy with the many requests for help you recive here, the matter is rather urgent. I would appreciate any help you might offer.
Thanks,
Larry
Hi Larry, please raise this on the Contact or Premium Support page and I’ll look into this directly with you. It may just be a different template file that needs altering for FlexiShop. 🙂
Hi there,
If I am not using WPEC (But the plugin is installed) and I just want to have a Wholesale page for customers with approved login to view pricing and submit orders (less the checkout process/as we invoice after) is there a way to do this with your plugin or otherwise/custom?
Thank you!
Hi Kitty, so I understand you are using WP e-Commerce as a catalog site without the Checkout functionality. How did you plan for these wholesale Users to submit orders?
You could use our Product Enquiry Plugin to add an enquiry form to the Product detail view, alternatively you could use our Manual Ordering Plugin to enable store owners to generate Orders from within the WordPress Administration but this would require capability changes to restrict this.
http://www.visser.com.au/wp-ecommerce/plugins/product-enquiry/
http://www.visser.com.au/wp-ecommerce/plugins/manual-ordering/
Thanks for hte fast reply!
This is correct, no checkout (yet anyway mostly because it lacked many modifications we are used to on another site) –
We have an inquiry form already but would like to be able to send them a user/pass where they can see pricing/wholesale (not viewable by public) and enter an order of which we would then bill them manually Since most are Net Terms.
Does this make sense? We have mods like it on another cart we use but are moving towards WP for all. If you have my email feel free to PM me!
Thanks!