[Skip to main content](#vessel-content)

#   Wholesale pricing with existing coupons

##

- **[jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")**
- [![jbaird8547's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30114-jbaird8547 "View jbaird8547's Profile") Topic Author
- [ Offline](/forum/user/30114-jbaird8547)

Less More

- Posts: 19
- Thank you received: 0
-
-

12 years 10 months ago [\#136751](#136751) by [jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")  *[Wholesale pricing with existing coupons](/forum/46-discount-coupon/864382-wholesale-pricing-with-existing-coupons#136751 "I have a question based on my understanding that I’ve read here in this forum. Currently, my client is using the Essential version. She sells products retail with a progressive discount based on quantity for which I have 3 auto-load coupons that handle this action and work well. Now she wants to add wholesale pricing. As I understand it, she can upgrade to the Business Edition and assign a discount based on a user group (Wholesalers) to give them special pricing. My question is, can the retail clients get the quantity discount at the same time the wholesalers get their special pricing discount on the same items simultaneously. I’m fuzzy on how (and even if) I can set this up, so please explain. Thanks Again.")* was created by *[jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")*

I have a question based on my understanding that I’ve read here in this forum.
Currently, my client is using the Essential version.
She sells products retail with a progressive discount based on quantity for which I have 3 auto-load coupons that handle this action and work well.
Now she wants to add wholesale pricing.
As I understand it, she can upgrade to the Business Edition and assign a discount based on a user group (Wholesalers) to give them special pricing.
My question is, can the retail clients get the quantity discount at the same time the wholesalers get their special pricing discount on the same items simultaneously.
I’m fuzzy on how (and even if) I can set this up, so please explain.
Thanks Again.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84NjQzODItd2hvbGVzYWxlLXByaWNpbmctd2l0aC1leGlzdGluZy1jb3Vwb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

12 years 10 months ago [\#136791](#136791) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Wholesale pricing with existing coupons](/forum/46-discount-coupon/864382-wholesale-pricing-with-existing-coupons#136791 "I have a question based on my understanding that I’ve read here in this forum. Currently, my client is using the Essential version. She sells products retail with a progressive discount based on quantity for which I have 3 auto-load coupons that handle this action and work well. Now she wants to add wholesale pricing. As I understand it, she can upgrade to the Business Edition and assign a discount based on a user group (Wholesalers) to give them special pricing. My question is, can the retail clients get the quantity discount at the same time the wholesalers get their special pricing discount on the same items simultaneously. I’m fuzzy on how (and even if) I can set this up, so please explain. Thanks Again.")*

Sure that's not a problem with the Business edition.
You just have to restrict your coupons/discounts to the different user groups they apply to and the system will only see the ones of the user group of the current user on the checkout.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84NjQzODItd2hvbGVzYWxlLXByaWNpbmctd2l0aC1leGlzdGluZy1jb3Vwb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")**
- [![jbaird8547's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30114-jbaird8547 "View jbaird8547's Profile") Topic Author
- [ Offline](/forum/user/30114-jbaird8547)

Less More

- Posts: 19
- Thank you received: 0
-
-

12 years 10 months ago [\#136911](#136911) by [jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")  Replied by *[jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")* on topic *[Wholesale pricing with existing coupons](/forum/46-discount-coupon/864382-wholesale-pricing-with-existing-coupons#136911 "I have a question based on my understanding that I’ve read here in this forum. Currently, my client is using the Essential version. She sells products retail with a progressive discount based on quantity for which I have 3 auto-load coupons that handle this action and work well. Now she wants to add wholesale pricing. As I understand it, she can upgrade to the Business Edition and assign a discount based on a user group (Wholesalers) to give them special pricing. My question is, can the retail clients get the quantity discount at the same time the wholesalers get their special pricing discount on the same items simultaneously. I’m fuzzy on how (and even if) I can set this up, so please explain. Thanks Again.")*

Hi Nicolas, thanks for the quick reply BUT I still am having problems with this setup-
(Yes, I purchased the business edition)
Scenario:
There are 4 auto load coupons based on quantity:
4to6 (min # set to 4) = 10% off
7to12 (min # set to 7) = 16% off
13to24 (min # set to 13) = 22% off
25to48 (min # set to 25) = 22% off
Additionally, a wholesaler group was created that was assigned under the registered group.
To that, a 44% non-auto load coupon was created and assigned to that group. It has a minimum of 24.
I created a user, assigned them to the Wholesaler Group, but when I login and add products, the retail prices apply… so I go back and make sure that the 4 auto load retail coupons are set to the Public and Registered groups… then the logged in wholesale user can input the code and get the discount of 44%, problem is, now if I log out and add a quantity (over 4), none of the retail coupons work or auto load.
I know I’m doing something wrong, could you please steer me in the right direction?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84NjQzODItd2hvbGVzYWxlLXByaWNpbmctd2l0aC1leGlzdGluZy1jb3Vwb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

12 years 10 months ago [\#136931](#136931) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Wholesale pricing with existing coupons](/forum/46-discount-coupon/864382-wholesale-pricing-with-existing-coupons#136931 "I have a question based on my understanding that I’ve read here in this forum. Currently, my client is using the Essential version. She sells products retail with a progressive discount based on quantity for which I have 3 auto-load coupons that handle this action and work well. Now she wants to add wholesale pricing. As I understand it, she can upgrade to the Business Edition and assign a discount based on a user group (Wholesalers) to give them special pricing. My question is, can the retail clients get the quantity discount at the same time the wholesalers get their special pricing discount on the same items simultaneously. I’m fuzzy on how (and even if) I can set this up, so please explain. Thanks Again.")*

Hi,

That's a case we didn't take into account and which really only happens rarely.
You will have to change the code:
sha1($zone_id.'_'.serialize($cart-&gt;products));
to:
sha1($zone_id.'_'.serialize($cart-&gt;products).'_'.hikashop_loadUser());

in the file administrator/components/com_hikashop/classes/cart.php in order to fix the issue. Note that you have to do that change in two places in that file.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84NjQzODItd2hvbGVzYWxlLXByaWNpbmctd2l0aC1leGlzdGluZy1jb3Vwb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")**
- [![jbaird8547's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30114-jbaird8547 "View jbaird8547's Profile") Topic Author
- [ Offline](/forum/user/30114-jbaird8547)

Less More

- Posts: 19
- Thank you received: 0
-
-

12 years 10 months ago [\#137048](#137048) by [jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")  Replied by *[jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")* on topic *[Wholesale pricing with existing coupons](/forum/46-discount-coupon/864382-wholesale-pricing-with-existing-coupons#137048 "I have a question based on my understanding that I’ve read here in this forum. Currently, my client is using the Essential version. She sells products retail with a progressive discount based on quantity for which I have 3 auto-load coupons that handle this action and work well. Now she wants to add wholesale pricing. As I understand it, she can upgrade to the Business Edition and assign a discount based on a user group (Wholesalers) to give them special pricing. My question is, can the retail clients get the quantity discount at the same time the wholesalers get their special pricing discount on the same items simultaneously. I’m fuzzy on how (and even if) I can set this up, so please explain. Thanks Again.")*

Sorry Nicolas- That didn't change the problem but only created another where the minimum quantity for wholesalers doesn't work. The problem remains.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84NjQzODItd2hvbGVzYWxlLXByaWNpbmctd2l0aC1leGlzdGluZy1jb3Vwb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")**
- [![jbaird8547's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30114-jbaird8547 "View jbaird8547's Profile") Topic Author
- [ Offline](/forum/user/30114-jbaird8547)

Less More

- Posts: 19
- Thank you received: 0
-
-

12 years 10 months ago [\#137599](#137599) by [jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")  Replied by *[jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")* on topic *[Wholesale pricing with existing coupons](/forum/46-discount-coupon/864382-wholesale-pricing-with-existing-coupons#137599 "I have a question based on my understanding that I’ve read here in this forum. Currently, my client is using the Essential version. She sells products retail with a progressive discount based on quantity for which I have 3 auto-load coupons that handle this action and work well. Now she wants to add wholesale pricing. As I understand it, she can upgrade to the Business Edition and assign a discount based on a user group (Wholesalers) to give them special pricing. My question is, can the retail clients get the quantity discount at the same time the wholesalers get their special pricing discount on the same items simultaneously. I’m fuzzy on how (and even if) I can set this up, so please explain. Thanks Again.")*

... still no solution?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84NjQzODItd2hvbGVzYWxlLXByaWNpbmctd2l0aC1leGlzdGluZy1jb3Vwb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")**
- [![jbaird8547's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30114-jbaird8547 "View jbaird8547's Profile") Topic Author
- [ Offline](/forum/user/30114-jbaird8547)

Less More

- Posts: 19
- Thank you received: 0
-
-

12 years 9 months ago [\#138071](#138071) by [jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")  Replied by *[jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")* on topic *[Wholesale pricing with existing coupons](/forum/46-discount-coupon/864382-wholesale-pricing-with-existing-coupons#138071 "I have a question based on my understanding that I’ve read here in this forum. Currently, my client is using the Essential version. She sells products retail with a progressive discount based on quantity for which I have 3 auto-load coupons that handle this action and work well. Now she wants to add wholesale pricing. As I understand it, she can upgrade to the Business Edition and assign a discount based on a user group (Wholesalers) to give them special pricing. My question is, can the retail clients get the quantity discount at the same time the wholesalers get their special pricing discount on the same items simultaneously. I’m fuzzy on how (and even if) I can set this up, so please explain. Thanks Again.")*

Impossible? Possible?
...please reply

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84NjQzODItd2hvbGVzYWxlLXByaWNpbmctd2l0aC1leGlzdGluZy1jb3Vwb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

12 years 9 months ago [\#138302](#138302) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Wholesale pricing with existing coupons](/forum/46-discount-coupon/864382-wholesale-pricing-with-existing-coupons#138302 "I have a question based on my understanding that I’ve read here in this forum. Currently, my client is using the Essential version. She sells products retail with a progressive discount based on quantity for which I have 3 auto-load coupons that handle this action and work well. Now she wants to add wholesale pricing. As I understand it, she can upgrade to the Business Edition and assign a discount based on a user group (Wholesalers) to give them special pricing. My question is, can the retail clients get the quantity discount at the same time the wholesalers get their special pricing discount on the same items simultaneously. I’m fuzzy on how (and even if) I can set this up, so please explain. Thanks Again.")*

Hi,

It is of course possible. It should work like that.
I've done some tests to replicate the issue and it seems to not work because of a bug with the minimum quantity restriction of coupons not being enforced properly if you don't select a category in the coupon.
Replace the file administrator/components/com_hikashop/classes/discount.php with the one in the archive enclosed and that should help.

*This attachment is hidden for guests.
Please log in or register to see it.*

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84NjQzODItd2hvbGVzYWxlLXByaWNpbmctd2l0aC1leGlzdGluZy1jb3Vwb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")**
- [![jbaird8547's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30114-jbaird8547 "View jbaird8547's Profile") Topic Author
- [ Offline](/forum/user/30114-jbaird8547)

Less More

- Posts: 19
- Thank you received: 0
-
-

12 years 9 months ago [\#139187](#139187) by [jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")  Replied by *[jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")* on topic *[Wholesale pricing with existing coupons](/forum/46-discount-coupon/864382-wholesale-pricing-with-existing-coupons#139187 "I have a question based on my understanding that I’ve read here in this forum. Currently, my client is using the Essential version. She sells products retail with a progressive discount based on quantity for which I have 3 auto-load coupons that handle this action and work well. Now she wants to add wholesale pricing. As I understand it, she can upgrade to the Business Edition and assign a discount based on a user group (Wholesalers) to give them special pricing. My question is, can the retail clients get the quantity discount at the same time the wholesalers get their special pricing discount on the same items simultaneously. I’m fuzzy on how (and even if) I can set this up, so please explain. Thanks Again.")*

Hi Nicolas,
I thought at first this cured the issue but upon further testing it still has problems:
If an item is selected in the detail view and the quantity is adjusted to, say 13, the system defaults to the first discount- 4to6. Clearing the discount coupon code will resolve the issue, loading the proper discount, but this is unexpected and my client wants it resolved.
I know you're going out of your way on this one and yes, I really appreciate your dedication to your craft and thank you in advance for help on this issue.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84NjQzODItd2hvbGVzYWxlLXByaWNpbmctd2l0aC1leGlzdGluZy1jb3Vwb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")**
- [![jbaird8547's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30114-jbaird8547 "View jbaird8547's Profile") Topic Author
- [ Offline](/forum/user/30114-jbaird8547)

Less More

- Posts: 19
- Thank you received: 0
-
-

12 years 8 months ago [\#143840](#143840) by [jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")  Replied by *[jbaird8547](/forum/user/30114-jbaird8547 "View jbaird8547's Profile")* on topic *[Wholesale pricing with existing coupons](/forum/46-discount-coupon/864382-wholesale-pricing-with-existing-coupons#143840 "I have a question based on my understanding that I’ve read here in this forum. Currently, my client is using the Essential version. She sells products retail with a progressive discount based on quantity for which I have 3 auto-load coupons that handle this action and work well. Now she wants to add wholesale pricing. As I understand it, she can upgrade to the Business Edition and assign a discount based on a user group (Wholesalers) to give them special pricing. My question is, can the retail clients get the quantity discount at the same time the wholesalers get their special pricing discount on the same items simultaneously. I’m fuzzy on how (and even if) I can set this up, so please explain. Thanks Again.")*

Hi Again,
Do you plan on resolving this issue?
-my client keeps asking...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84NjQzODItd2hvbGVzYWxlLXByaWNpbmctd2l0aC1leGlzdGluZy1jb3Vwb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

12 years 8 months ago [\#143883](#143883) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Wholesale pricing with existing coupons](/forum/46-discount-coupon/864382-wholesale-pricing-with-existing-coupons#143883 "I have a question based on my understanding that I’ve read here in this forum. Currently, my client is using the Essential version. She sells products retail with a progressive discount based on quantity for which I have 3 auto-load coupons that handle this action and work well. Now she wants to add wholesale pricing. As I understand it, she can upgrade to the Business Edition and assign a discount based on a user group (Wholesalers) to give them special pricing. My question is, can the retail clients get the quantity discount at the same time the wholesalers get their special pricing discount on the same items simultaneously. I’m fuzzy on how (and even if) I can set this up, so please explain. Thanks Again.")*

Hi there,

I did some testing with the last version on a test site and it works fine.
Could you download the 2.3.0 on our site and tell me if you still have this issue?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84NjQzODItd2hvbGVzYWxlLXByaWNpbmctd2l0aC1leGlzdGluZy1jb3Vwb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.150 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
