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

#   discount for product category and shopping cart

##

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

Less More

- Posts: 9
- Thank you received: 0
-
-

16 years 3 weeks ago [\#1681](#1681) by [staeren](/forum/user/299-staeren "View staeren's Profile")  *[discount for product category and shopping cart](/forum/4-how-to/1681-discount-for-product-category-and-shopping-cart#1681 "hello, i want to give an discount of 30% for category X for all customers. 15% for category Y. when the cart amount is above 150 euro, i want to give an extra discount of 5%. beginning of 250 euro the...")* was created by *[staeren](/forum/user/299-staeren "View staeren's Profile")*

hello, i want to give an discount of 30% for category X for all customers. 15% for category Y. when the cart amount is above 150 euro, i want to give an extra discount of 5%. beginning of 250 euro the extra discount has to be 10% on the total amount. how to do this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE2ODEtZGlzY291bnQtZm9yLXByb2R1Y3QtY2F0ZWdvcnktYW5kLXNob3BwaW5nLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

16 years 3 weeks ago [\#1682](#1682) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: discount for product category and shopping cart](/forum/4-how-to/1681-discount-for-product-category-and-shopping-cart#1682 "hello, i want to give an discount of 30% for category X for all customers. 15% for category Y. when the cart amount is above 150 euro, i want to give an extra discount of 5%. beginning of 250 euro the...")*

Hi,

First, you can create two discounts. One for the category X with a percentage of 30. One for the category Y with a percentage of 15. That's possible with the restrictions on discounts:
[ www.hikashop.com/support/documentation/i...rm.html#restrictions](http://www.hikashop.com/support/documentation/integrated-documentation/27-hikashop-discount-form.html#restrictions)

Then, you need to create two coupons. One with an order minimum amount of 150 and a percentage of 5 and the option "Auto load in cart if possible" activated so that the coupon will be used automatically if the cart reaches 150. Another with an order minimum amount of 250 and a percentage of 10 and the option "Auto load in cart if possible" activated so that the coupons will be used automatically if the cart reaches 250.

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

16 years 2 weeks ago [\#1724](#1724) by [staeren](/forum/user/299-staeren "View staeren's Profile")  Replied by *[staeren](/forum/user/299-staeren "View staeren's Profile")* on topic *[Re: discount for product category and shopping cart](/forum/4-how-to/1681-discount-for-product-category-and-shopping-cart#1724 "hello, i want to give an discount of 30% for category X for all customers. 15% for category Y. when the cart amount is above 150 euro, i want to give an extra discount of 5%. beginning of 250 euro the...")*

i want to select the category by clicking on the green icon in column 'use'. but nothing happens. the url is [ www.mijnapotheekonline.be/shop/administr...mponent&amp;filter\_id=2#](http://www.mijnapotheekonline.be/shop/administrator/index.php?option=com_hikashop&ctrl=category&task=selectparentlisting&control=category&type=product&tmpl=component&filter_id=2#)
[ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/screenshot.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/screenshot.png "&#91;img")

- [ ![screenshot.png](/forum/attachment/116) ](/forum/attachment/116 "screenshot.png") [ ](/forum/attachment/116?download=1 "screenshot.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE2ODEtZGlzY291bnQtZm9yLXByb2R1Y3QtY2F0ZWdvcnktYW5kLXNob3BwaW5nLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

16 years 2 weeks ago [\#1726](#1726) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: discount for product category and shopping cart](/forum/4-how-to/1681-discount-for-product-category-and-shopping-cart#1726 "hello, i want to give an discount of 30% for category X for all customers. 15% for category Y. when the cart amount is above 150 euro, i want to give an extra discount of 5%. beginning of 250 euro the...")*

If you try on our demo website do you have the same problem ?
If so, which browser are you using ? If you use another browser, does it work ?
Otherwise, Could you try to look at the error console of your browser to see if you have any error ?
How to display the error console: [ stackoverflow.com/posts/1648614/revisions](http://stackoverflow.com/posts/1648614/revisions)

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

16 years 2 weeks ago [\#1729](#1729) by [staeren](/forum/user/299-staeren "View staeren's Profile")  Replied by *[staeren](/forum/user/299-staeren "View staeren's Profile")* on topic *[Re: discount for product category and shopping cart](/forum/4-how-to/1681-discount-for-product-category-and-shopping-cart#1729 "hello, i want to give an discount of 30% for category X for all customers. 15% for category Y. when the cart amount is above 150 euro, i want to give an extra discount of 5%. beginning of 250 euro the...")*

on demo website everything goes correct. the difference is that clicking on category icon (after 'category not found') the link is opened in the same window not in a popup.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE2ODEtZGlzY291bnQtZm9yLXByb2R1Y3QtY2F0ZWdvcnktYW5kLXNob3BwaW5nLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

16 years 2 weeks ago [\#1732](#1732) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: discount for product category and shopping cart](/forum/4-how-to/1681-discount-for-product-category-and-shopping-cart#1732 "hello, i want to give an discount of 30% for category X for all customers. 15% for category Y. when the cart amount is above 150 euro, i want to give an extra discount of 5%. beginning of 250 euro the...")*

Do you have the latest version of HikaShop?
Could you try to look at the error console ?
Which browser are you using ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE2ODEtZGlzY291bnQtZm9yLXByb2R1Y3QtY2F0ZWdvcnktYW5kLXNob3BwaW5nLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

16 years 2 weeks ago [\#1733](#1733) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: discount for product category and shopping cart](/forum/4-how-to/1681-discount-for-product-category-and-shopping-cart#1733 "hello, i want to give an discount of 30% for category X for all customers. 15% for category Y. when the cart amount is above 150 euro, i want to give an extra discount of 5%. beginning of 250 euro the...")*

Also, do you use a special template on your back end ? If so, if you try with the default template, does it work ?

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

16 years 2 weeks ago [\#1741](#1741) by [staeren](/forum/user/299-staeren "View staeren's Profile")  Replied by *[staeren](/forum/user/299-staeren "View staeren's Profile")* on topic *[Re: discount for product category and shopping cart](/forum/4-how-to/1681-discount-for-product-category-and-shopping-cart#1741 "hello, i want to give an discount of 30% for category X for all customers. 15% for category Y. when the cart amount is above 150 euro, i want to give an extra discount of 5%. beginning of 250 euro the...")*

**nicolas wrote:**

> Do you have the latest version of HikaShop? 1.3.6
> Could you try to look at the error console ? how to do this?
> Which browser are you using ?

firefox 3.6.12

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

16 years 2 weeks ago [\#1742](#1742) by [staeren](/forum/user/299-staeren "View staeren's Profile")  Replied by *[staeren](/forum/user/299-staeren "View staeren's Profile")* on topic *[Re: discount for product category and shopping cart](/forum/4-how-to/1681-discount-for-product-category-and-shopping-cart#1742 "hello, i want to give an discount of 30% for category X for all customers. 15% for category Y. when the cart amount is above 150 euro, i want to give an extra discount of 5%. beginning of 250 euro the...")*

i use the standard khepri

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE2ODEtZGlzY291bnQtZm9yLXByb2R1Y3QtY2F0ZWdvcnktYW5kLXNob3BwaW5nLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

16 years 2 weeks ago [\#1744](#1744) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: discount for product category and shopping cart](/forum/4-how-to/1681-discount-for-product-category-and-shopping-cart#1744 "hello, i want to give an discount of 30% for category X for all customers. 15% for category Y. when the cart amount is above 150 euro, i want to give an extra discount of 5%. beginning of 250 euro the...")*

In the file administrator/components/com_hikashop/views/discount/view.html.php near the end of the file, could you replace the code Code:

$this-&gt;assignRef('currency',$currencyType);

by the code Code:

$this-&gt;assignRef('currency',$currencyType); JHTML::_('behavior.modal');

and try again ? Does it work now ?

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

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