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

#   Tiered Discounts

##

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

Less More

- Posts: 52
- Thank you received: 0
-
-

6 years 9 months ago [\#315179](#315179) by [icronje](/forum/user/1483-icronje "View icronje's Profile")  *[Tiered Discounts](/forum/46-discount-coupon/899091-tiered-discounts#315179 "-- url of the page with the problem -- :   www.lesswatts.co.za  -- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2.26 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : None  Hi,  I have multiple tiers of discounts pertaining to different levels of user categories.  This question is related to two categories only: Registered and Resellers. Both these categories are defined as groups under the Joomla user manager.  For Registered users I would like to grant a 3% discount and for resellersm the discount needs to be much deeper - 25%.  What happens is that the discount for the Registered user is applied to all categories, and for the life of me I can;t seem to find a solution to it. Can you please assist?  Regards")* was created by *[icronje](/forum/user/1483-icronje "View icronje's Profile")*

-- url of the page with the problem -- : [ www.lesswatts.co.za](https://www.lesswatts.co.za)
-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.14
-- PHP version -- : 7.2.26
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : None

Hi,

I have multiple tiers of discounts pertaining to different levels of user categories.

This question is related to two categories only: Registered and Resellers. Both these categories are defined as groups under the Joomla user manager.

For Registered users I would like to grant a 3% discount and for resellersm the discount needs to be much deeper - 25%.

What happens is that the discount for the Registered user is applied to all categories, and for the life of me I can;t seem to find a solution to it. Can you please assist?

Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84OTkwOTEtdGllcmVkLWRpc2NvdW50cz90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

6 years 9 months ago [\#315184](#315184) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Tiered Discounts](/forum/46-discount-coupon/899091-tiered-discounts#315184 "-- url of the page with the problem -- :   www.lesswatts.co.za  -- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2.26 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : None  Hi,  I have multiple tiers of discounts pertaining to different levels of user categories.  This question is related to two categories only: Registered and Resellers. Both these categories are defined as groups under the Joomla user manager.  For Registered users I would like to grant a 3% discount and for resellersm the discount needs to be much deeper - 25%.  What happens is that the discount for the Registered user is applied to all categories, and for the life of me I can;t seem to find a solution to it. Can you please assist?  Regards")*

Hi,

For a product, you can only have one discount applying at a time.
So the system has to select which discount to use when several match for it.
Here is how the selection is done:
- if a discount is assigned directly to the product / variant the discount has the priority
- otherwise, if a discount is assigned to the main product while we're loading the prices of a variant, the discount has the priority
- otherwise, if a discount is assigned to a category of the product, the discount has the priority
- otherwise, the discount has the lowest priority
Now, if several discounts with the same priority are found, the one with the greater discount is selected.

So in your example, first, if the discounts and user groups are configured properly, the system shouldn't even have to select between the discount:
- if the user is attached to the "resellers" user group and not the "registered" user group and you restrict the 3% discount to the "registered" user group (with its "access level" setting), and the 25% discount to the "resellers" user group, then when the system loads the discounts for a reseller, it should only find the 25% discount and automatically use it.
Since you get a 3% as a resellers, it means that your user is also view as a "registered" user or that you didn't restrict the 3% discount to registered users only.
But even so, it also means that the 3% discount has a greater priority than the 25% discount because otherwise the 25% discount would be selected.

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

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

Less More

- Posts: 52
- Thank you received: 0
-
-

6 years 9 months ago [\#315199](#315199) by [icronje](/forum/user/1483-icronje "View icronje's Profile")  Replied by *[icronje](/forum/user/1483-icronje "View icronje's Profile")* on topic *[Tiered Discounts](/forum/46-discount-coupon/899091-tiered-discounts#315199 "-- url of the page with the problem -- :   www.lesswatts.co.za  -- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2.26 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : None  Hi,  I have multiple tiers of discounts pertaining to different levels of user categories.  This question is related to two categories only: Registered and Resellers. Both these categories are defined as groups under the Joomla user manager.  For Registered users I would like to grant a 3% discount and for resellersm the discount needs to be much deeper - 25%.  What happens is that the discount for the Registered user is applied to all categories, and for the life of me I can;t seem to find a solution to it. Can you please assist?  Regards")*

Hi Nicolas,

Yes you are right. It does not seem though that the Discount priority can be changed. Does Hikashop look at the item ID to determine priority?

Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84OTkwOTEtdGllcmVkLWRpc2NvdW50cz90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

6 years 9 months ago [\#315205](#315205) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Tiered Discounts](/forum/46-discount-coupon/899091-tiered-discounts#315205 "-- url of the page with the problem -- :   www.lesswatts.co.za  -- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2.26 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : None  Hi,  I have multiple tiers of discounts pertaining to different levels of user categories.  This question is related to two categories only: Registered and Resellers. Both these categories are defined as groups under the Joomla user manager.  For Registered users I would like to grant a 3% discount and for resellersm the discount needs to be much deeper - 25%.  What happens is that the discount for the Registered user is applied to all categories, and for the life of me I can;t seem to find a solution to it. Can you please assist?  Regards")*

Hi,

The priority cannot be changed unless you modify the code of the "selectDiscount" function in the file administrator/components/com_hikashop/classes/currency.php

The menu item ID plays no role in the selection of the discount or the priority.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84OTkwOTEtdGllcmVkLWRpc2NvdW50cz90bXBsPW1hcmtkb3du) 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.062 seconds

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