WordPress Plugin for WP-e-commerce 3.8
“WP E-Commerce Role Discount” creates a WordPress role for premium customers. You can manually create users and associate them to this role or change the role of registered customers to “Premium User”.
On the product dialog you’ll see a Meta Box to define a price for premium customers for each product.

define premium user price
Your customers will see the normal price and the premium price. This plugin uses the formatting for special prices, so you don’t have to change your theme.

price output
The Plugin requires NO configuration
Available in English and German language.
new in Version 1.1
In version 1.1 there is a new feature to auto apply a coupons for premium customers, so you can apply discounts on all products at once or enable free shipping for your premium customers.
Documentation
You want to give something back?
Help me with some improvements, language files or feedback or buy me a coffee (or more
)


25 Comments
Coby
2012/10/10 11:37Hi There,
I use your WP E-Commerce Role Discount plugin and setup the premium customer coupon, but when the customer goes checkout, I do not see the coupon has been applied to any of the products. What do I do wrong?
Regards
Coby
Hannes
2012/10/10 11:52Hi Coby,
there are at least two possible reasons for this problem:
- Is the customer logged in and assigned to the role “Premium Customer”?
- Did you change the coupon name?
br, hannes
Coby
2012/10/10 11:59Yes, I have created a test customer with Premium role.
I did not change the coupon name and it is “premium-discount-xxxxxx”. If I enter this code manually will work.
Coby
2012/10/11 10:15Hi There,
You got any idea about the issue I’m having?
Regards
Coby
Hannes
2012/10/11 10:55Hi Coby,
I’ve sent you a mail asking for access to your shop an our ago.
Hannes
Hannes
2012/10/12 09:03ok it works now! for some reason I had to customize it for your shop.
In the next version I’ll include these changes, so you can still update the plugin whenever you want.
regards
Hannes
Janys Hyde
2012/10/13 08:18Hi there
Just installed the role discount plugin and get this message appear just under the admin bar at the top of the page:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘HaetRoleDiscount::removeAdminBar’ was given in /web/htdocs/www.artycraftycreations.com/home/wordpress/wp-includes/plugin.php on line 403
Any ideas on this one please?
Many thanks
J
Janys Hyde
2012/10/13 08:20Sorry – forgot to mention that I had logged in using my ‘jolly’ Premium Customer ID to see what appeared under the merchandise listings. This warning did not appear when I logged in as Admin.
Hannes
2012/10/15 05:16Hi Janys,
I can’t reproduce the error message on my test systems. Maybe it’s a conflict with an other plugin on your system.
Is it possible for you to send me your admin credentials to hannes(at)haet(dot)at so I can take a look?
br, Hannes
Hieu Le
2012/10/23 23:03Hi – I am having this issue too! Have you guys figured any solution?
Hannes
2012/10/24 05:25Hi Hieu Le, sorry there is no solution yet, because I couldn’t see the error. I need access to a system where the error appears. Is it possible for you to give me access to your store?
Hieu Le
2012/10/24 17:33you’ve been emailed. thanks!
Hannes
2012/10/25 09:12Thanks for access to your system, it really helps to see the error with my own eyes.
I fixed the problem and released the changes in a new version 1.2.2 of the plugin and installed on your system.
Now it woks like a charm.
Hieu Le
2012/11/08 19:30Thanks! works great now! Just curious, can one set premium prices on variations?
Hannes
2012/11/08 20:49Hey, I’m sorry this is not possible at the moment, but it’s a good idea. I’ll put it on my feature request list.
Dana Buys
2012/10/24 11:16Hi
Been looking for this kind of add-on to WP eC, but have one question: Do you only support 1 extra customer type – Premium customer? We have 2 types of premium customers and they get different discount. Can this be done?
Hannes
2012/10/24 11:57Hi, this feature doesn’t exist at the moment, but I’ll take it as a feature request, I hope to find some time to implement this in the next weeks.
Dana Buys
2012/10/24 12:07Thanks Hannes – that would fill a big need out there!!
Daniel
2012/12/12 08:07Hi,
I like the role discount.
If this plugin can merge with “WP e-commerce ” ‘s product section under “Variation”, that will be great.
Regards,
Daniel
Jason
2013/01/03 12:00Hey sorry just want to seek for help – we’re using wp-ecommerce for our client’s ecommerce site and we’ve tried several times but can’t seem to enable the autofilling in the checkout form, even we’ve set “anyone can register as SUBSCRIBERS” and “users must register before checking out”, the autofilling just won’t happen. Appreciate your help.
Hannes
2013/01/04 06:52Hey Jason, are you talking about autofilling of the coupons code for premium customers or is your question not related to the role-discount plugin?
Calvares
2013/04/15 15:40Hi there, i’m using this great plugin and it works perfectly, thanks for sharing it!
I’m thinking to aply a percent discount (or a fixed calue discount) to all products for Premium Customer, i thinking to update directly the DB.
Is it a good idea?
Hannes
2013/04/15 15:48Hi Calvares,
Just change the premium customer coupons to a percentage discount. You don’t have to edit the prices
Calvares
2013/04/16 10:01Hi Hannes,
Thanks for the quick reply.
Yes, if I edit the premium customers coupons that’s works great, but that is only aplied in the checkout.
What i really want is a discount price directly in each product while de premium costumer is visiting the site and not only applied in the checkout.
Is it possible? I think working directly in the db is not a good idea, don’t you think?
Hannes
2013/04/18 07:20Ok I understand what you want to do, but working in the database is not easy in this situation because the values aren’t stored in separate table columns but in meta data arrays.