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

#   How to limit use of coupon code to only one or two product in a category

##

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

Less More

- Posts: 108
- Thank you received: 2
-
-

6 years 6 months ago [\#317970](#317970) by [aimlesslady](/forum/user/7696-aimlesslady "View aimlesslady's Profile")  *[How to limit use of coupon code to only one or two product in a category](/forum/46-discount-coupon/899646-how-to-limit-use-of-coupon-code-to-only-one-or-two-product-in-a-category#317970 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.16 -- PHP version -- : 7.2.26 -- Browser(s) name and version -- : Firefox 71.0  I want to offer a promo code that will allow the user to use it towards one product , only one time. Mine seems to allow the coupon to apply towards as many items in that category that I add to my shopping cart. What should I set the Quota and Quota per user to? Do I need to set Number of times used to anything? What if I want to allow a user to use it for 2 items in that category? What would be my settings? Does it have to be in the same purchasing episode?")* was created by *[aimlesslady](/forum/user/7696-aimlesslady "View aimlesslady's Profile")*

-- HikaShop version -- : 4.2.3
-- Joomla version -- : 3.9.16
-- PHP version -- : 7.2.26
-- Browser(s) name and version -- : Firefox 71.0

I want to offer a promo code that will allow the user to use it towards one product , only one time. Mine seems to allow the coupon to apply towards as many items in that category that I add to my shopping cart. What should I set the Quota and Quota per user to? Do I need to set Number of times used to anything? What if I want to allow a user to use it for 2 items in that category? What would be my settings? Does it have to be in the same purchasing episode?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Rpc2NvdW50LWNvdXBvbi84OTk2NDYtaG93LXRvLWxpbWl0LXVzZS1vZi1jb3Vwb24tY29kZS10by1vbmx5LW9uZS1vci10d28tcHJvZHVjdC1pbi1hLWNhdGVnb3J5P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 86321
- Thank you received: 14279
-
-

6 years 6 months ago [\#317971](#317971) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to limit use of coupon code to only one or two product in a category](/forum/46-discount-coupon/899646-how-to-limit-use-of-coupon-code-to-only-one-or-two-product-in-a-category#317971 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.16 -- PHP version -- : 7.2.26 -- Browser(s) name and version -- : Firefox 71.0  I want to offer a promo code that will allow the user to use it towards one product , only one time. Mine seems to allow the coupon to apply towards as many items in that category that I add to my shopping cart. What should I set the Quota and Quota per user to? Do I need to set Number of times used to anything? What if I want to allow a user to use it for 2 items in that category? What would be my settings? Does it have to be in the same purchasing episode?")*

Hi,

If you restrict a coupon to a category, it will apply to the whole cart is at least a product of that category is in the cart.
The percentage value of a coupon will be calculated based on the total amount of the cart, and if your coupon is limited to a category, on the total amount of the products of that category in the cart.
So if you have product A costing 20€ and product B costing 10€ in the cart, and they are in the same category, if you apply a 50% percentage coupon restricted to that same category, the coupon value will be 50% of 20€ + 50% of 10€ so 15€.
There is no "maximum number of product" setting in the coupons so the only thing you can do to avoid the value increasing based on the number of products in the category in the cart, is to not use the "percentage" field, and instead to use the "flat amount" field so that you enter a fixed value.

If you want to do such things, I'm afraid you'll have to use AWOCoupon:
[ awodev.com/products/joomla/awocoupon](https://awodev.com/products/joomla/awocoupon)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Rpc2NvdW50LWNvdXBvbi84OTk2NDYtaG93LXRvLWxpbWl0LXVzZS1vZi1jb3Vwb24tY29kZS10by1vbmx5LW9uZS1vci10d28tcHJvZHVjdC1pbi1hLWNhdGVnb3J5P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[dagroupinc](/forum/user/57629-dagroupinc "View dagroupinc's Profile")**
- [![dagroupinc's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar57629.jpg)](/forum/user/57629-dagroupinc "View dagroupinc's Profile")
- [ Offline](/forum/user/57629-dagroupinc)

Less More

- Posts: 109
- Thank you received: 1
-
-

6 years 6 months ago [\#318128](#318128) by [dagroupinc](/forum/user/57629-dagroupinc "View dagroupinc's Profile")  Replied by *[dagroupinc](/forum/user/57629-dagroupinc "View dagroupinc's Profile")* on topic *[How to limit use of coupon code to only one or two product in a category](/forum/46-discount-coupon/899646-how-to-limit-use-of-coupon-code-to-only-one-or-two-product-in-a-category#318128 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.16 -- PHP version -- : 7.2.26 -- Browser(s) name and version -- : Firefox 71.0  I want to offer a promo code that will allow the user to use it towards one product , only one time. Mine seems to allow the coupon to apply towards as many items in that category that I add to my shopping cart. What should I set the Quota and Quota per user to? Do I need to set Number of times used to anything? What if I want to allow a user to use it for 2 items in that category? What would be my settings? Does it have to be in the same purchasing episode?")*

I can see where to create a coupon code, but not where you can configure where to apply it to a single product or category. I have 4 products I only want to apply it to

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Rpc2NvdW50LWNvdXBvbi84OTk2NDYtaG93LXRvLWxpbWl0LXVzZS1vZi1jb3Vwb24tY29kZS10by1vbmx5LW9uZS1vci10d28tcHJvZHVjdC1pbi1hLWNhdGVnb3J5P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 86321
- Thank you received: 14279
-
-

6 years 6 months ago [\#318153](#318153) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to limit use of coupon code to only one or two product in a category](/forum/46-discount-coupon/899646-how-to-limit-use-of-coupon-code-to-only-one-or-two-product-in-a-category#318153 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.16 -- PHP version -- : 7.2.26 -- Browser(s) name and version -- : Firefox 71.0  I want to offer a promo code that will allow the user to use it towards one product , only one time. Mine seems to allow the coupon to apply towards as many items in that category that I add to my shopping cart. What should I set the Quota and Quota per user to? Do I need to set Number of times used to anything? What if I want to allow a user to use it for 2 items in that category? What would be my settings? Does it have to be in the same purchasing episode?")*

Hi,

This setting is only available if your have HikaShop Essential or HikaShop Business.
So you must be using HikaShop Starter which doesn't have that capability.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Rpc2NvdW50LWNvdXBvbi84OTk2NDYtaG93LXRvLWxpbWl0LXVzZS1vZi1jb3Vwb24tY29kZS10by1vbmx5LW9uZS1vci10d28tcHJvZHVjdC1pbi1hLWNhdGVnb3J5P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 108
- Thank you received: 2
-
-

6 years 6 months ago [\#318193](#318193) by [aimlesslady](/forum/user/7696-aimlesslady "View aimlesslady's Profile")  Replied by *[aimlesslady](/forum/user/7696-aimlesslady "View aimlesslady's Profile")* on topic *[How to limit use of coupon code to only one or two product in a category](/forum/46-discount-coupon/899646-how-to-limit-use-of-coupon-code-to-only-one-or-two-product-in-a-category#318193 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.16 -- PHP version -- : 7.2.26 -- Browser(s) name and version -- : Firefox 71.0  I want to offer a promo code that will allow the user to use it towards one product , only one time. Mine seems to allow the coupon to apply towards as many items in that category that I add to my shopping cart. What should I set the Quota and Quota per user to? Do I need to set Number of times used to anything? What if I want to allow a user to use it for 2 items in that category? What would be my settings? Does it have to be in the same purchasing episode?")*

I am using hikashop business

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Rpc2NvdW50LWNvdXBvbi84OTk2NDYtaG93LXRvLWxpbWl0LXVzZS1vZi1jb3Vwb24tY29kZS10by1vbmx5LW9uZS1vci10d28tcHJvZHVjdC1pbi1hLWNhdGVnb3J5P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 86321
- Thank you received: 14279
-
-

6 years 6 months ago [\#318199](#318199) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to limit use of coupon code to only one or two product in a category](/forum/46-discount-coupon/899646-how-to-limit-use-of-coupon-code-to-only-one-or-two-product-in-a-category#318199 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.16 -- PHP version -- : 7.2.26 -- Browser(s) name and version -- : Firefox 71.0  I want to offer a promo code that will allow the user to use it towards one product , only one time. Mine seems to allow the coupon to apply towards as many items in that category that I add to my shopping cart. What should I set the Quota and Quota per user to? Do I need to set Number of times used to anything? What if I want to allow a user to use it for 2 items in that category? What would be my settings? Does it have to be in the same purchasing episode?")*

Hi,

Yes. My last message was for dagroupinc

The following user(s) said Thank You: [dagroupinc](/forum/user/57629-dagroupinc "View dagroupinc's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Rpc2NvdW50LWNvdXBvbi84OTk2NDYtaG93LXRvLWxpbWl0LXVzZS1vZi1jb3Vwb24tY29kZS10by1vbmx5LW9uZS1vci10d28tcHJvZHVjdC1pbi1hLWNhdGVnb3J5P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.123 seconds

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

[](#top)
