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

#   how to make a coupon ignore one item

##

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

Less More

- Posts: 3
- Thank you received: 0
-
-

8 years 9 months ago [\#288269](#288269) by [judygross](/forum/user/53360-judygross "View judygross's Profile")  *[how to make a coupon ignore one item](/forum/25-install-update/893858-how-to-make-a-coupon-ignore-one-item#288269 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.5  How can I offer a customer a coupon code that will not work on gift certificates - the work around I'm using is to make it &quot;Ignore discount products&quot; - so I have to first raise the price (by $0.01) for the gift certificate, and then discount it by the same amount to get the new coupon code to ignore it. Is there a better way?")* was created by *[judygross](/forum/user/53360-judygross "View judygross's Profile")*

-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3.8.5

How can I offer a customer a coupon code that will not work on gift certificates - the work around I'm using is to make it "Ignore discount products" - so I have to first raise the price (by $0.01) for the gift certificate, and then discount it by the same amount to get the new coupon code to ignore it.
Is there a better way?

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

8 years 9 months ago -  8 years 9 months ago [\#288290](#288290) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[how to make a coupon ignore one item](/forum/25-install-update/893858-how-to-make-a-coupon-ignore-one-item#288290 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.5  How can I offer a customer a coupon code that will not work on gift certificates - the work around I'm using is to make it &quot;Ignore discount products&quot; - so I have to first raise the price (by $0.01) for the gift certificate, and then discount it by the same amount to get the new coupon code to ignore it. Is there a better way?")*

Hello,

The best way is to use restriction (categorie, product, user etc) on **Coupon/Discount system** but it's only available on **Essential &amp; Business version**.

[ ![&#91;img](https://cdn.pbrd.co/images/H8DSbIg.png) ](https://cdn.pbrd.co/images/H8DSbIg.png "&#91;img")

You can see [ **here**](https://www.hikashop.com/extensions/compare-versions.html), which features is available for each version.

Regards

Last edit: 8 years 9 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

8 years 9 months ago [\#288346](#288346) by [judygross](/forum/user/53360-judygross "View judygross's Profile")  Replied by *[judygross](/forum/user/53360-judygross "View judygross's Profile")* on topic *[how to make a coupon ignore one item](/forum/25-install-update/893858-how-to-make-a-coupon-ignore-one-item#288346 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.5  How can I offer a customer a coupon code that will not work on gift certificates - the work around I'm using is to make it &quot;Ignore discount products&quot; - so I have to first raise the price (by $0.01) for the gift certificate, and then discount it by the same amount to get the new coupon code to ignore it. Is there a better way?")*

I have the business edition, but I can't figure out how to make the gift certificate be permanently outside of any coupon or discount. Otherwise, anytime I make a coupon code for a specific customer, or a general sale, I have to go through hoops of raising the price and then discounting it so the coupon restrictions can be applied.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5Mzg1OC1ob3ctdG8tbWFrZS1hLWNvdXBvbi1pZ25vcmUtb25lLWl0ZW0/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: 86584
- Thank you received: 14325
-
-

8 years 9 months ago [\#288363](#288363) 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 make a coupon ignore one item](/forum/25-install-update/893858-how-to-make-a-coupon-ignore-one-item#288363 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.5  How can I offer a customer a coupon code that will not work on gift certificates - the work around I'm using is to make it &quot;Ignore discount products&quot; - so I have to first raise the price (by $0.01) for the gift certificate, and then discount it by the same amount to get the new coupon code to ignore it. Is there a better way?")*

Hi,

The coupon restrictions in HikaShop are inclusive, not exclusive.
So would have to move it to a category by itself and select the other categories in the coupon.
And you could copy the previous coupons instead of creating new coupons so that you wouldn't have to reselect the categories each time.

Otherwise, if you want exclusive product restriction for coupons, I believe that AWOCoupon, which is compatible with the coupon system of HikaShop, has such capability:
[ awodev.com/products/joomla/awocoupon](http://awodev.com/products/joomla/awocoupon)

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

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

Less More

- Posts: 147
- Thank you received: 8
-
-

1 year 8 months ago [\#366140](#366140) by [NicoW](/forum/user/58228-nicow "View NicoW's Profile")  Replied by *[NicoW](/forum/user/58228-nicow "View NicoW's Profile")* on topic *[how to make a coupon ignore one item](/forum/25-install-update/893858-how-to-make-a-coupon-ignore-one-item#366140 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.5  How can I offer a customer a coupon code that will not work on gift certificates - the work around I'm using is to make it &quot;Ignore discount products&quot; - so I have to first raise the price (by $0.01) for the gift certificate, and then discount it by the same amount to get the new coupon code to ignore it. Is there a better way?")*

Hi Nicolas,

I have a similar situation at the moment. I would want just 1 product to be excluded from all coupons so people can only purchase it at full price. How best to arrange for this? I think the coupon system still only has inclusive option instead of exclusive?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5Mzg1OC1ob3ctdG8tbWFrZS1hLWNvdXBvbi1pZ25vcmUtb25lLWl0ZW0/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: 86584
- Thank you received: 14325
-
-

1 year 8 months ago [\#366142](#366142) 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 make a coupon ignore one item](/forum/25-install-update/893858-how-to-make-a-coupon-ignore-one-item#366142 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.5  How can I offer a customer a coupon code that will not work on gift certificates - the work around I'm using is to make it &quot;Ignore discount products&quot; - so I have to first raise the price (by $0.01) for the gift certificate, and then discount it by the same amount to get the new coupon code to ignore it. Is there a better way?")*

Hi,

Indeed, the coupon system doesn't have an exclusive option.
So using AWO Coupon could be a solution, as I was saying in my previous message here.
Otherwise, a small plugin could be developed implementing the onAfterCouponCheck event to check if the target product is in the $products array remove it from there:
[ www.hikashop.com/support/documentation/6...l#onAfterCouponCheck](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#onAfterCouponCheck)

I've asked chatGPT for you:
[ chatgpt.com/canvas/shared/67d195ae3eb4819187884bf0d78f168d](https://chatgpt.com/canvas/shared/67d195ae3eb4819187884bf0d78f168d)
The code looks good. Just replace the product id in the code, ask chatGPT to also generate the XML and you have the plugin.
And if you need extra products to be discarded, or the product has variants that you also want to discard, I'm sure chatGPT can update the code to take that into account.

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

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

Less More

- Posts: 147
- Thank you received: 8
-
-

1 year 8 months ago [\#366152](#366152) by [NicoW](/forum/user/58228-nicow "View NicoW's Profile")  Replied by *[NicoW](/forum/user/58228-nicow "View NicoW's Profile")* on topic *[how to make a coupon ignore one item](/forum/25-install-update/893858-how-to-make-a-coupon-ignore-one-item#366152 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.5  How can I offer a customer a coupon code that will not work on gift certificates - the work around I'm using is to make it &quot;Ignore discount products&quot; - so I have to first raise the price (by $0.01) for the gift certificate, and then discount it by the same amount to get the new coupon code to ignore it. Is there a better way?")*

Hi Nicolas,

Thanks, but as always i can't use any part of the answers.
I can't go about buying a plugin for 1 function i need 1 or 2 times and then go about spending all day copying the coupons to the new plugin.

Also, as i am just a guy that sells things, i don't know how chatgpt works so i have to completely ignore that.

I will just do the painful process of making custom payment links over email for every customer in the waiting list as that's 200% more easy then all the other options for me.

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

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

Less More

- Posts: 147
- Thank you received: 8
-
-

1 year 7 months ago [\#366446](#366446) by [NicoW](/forum/user/58228-nicow "View NicoW's Profile")  Replied by *[NicoW](/forum/user/58228-nicow "View NicoW's Profile")* on topic *[how to make a coupon ignore one item](/forum/25-install-update/893858-how-to-make-a-coupon-ignore-one-item#366446 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.5  How can I offer a customer a coupon code that will not work on gift certificates - the work around I'm using is to make it &quot;Ignore discount products&quot; - so I have to first raise the price (by $0.01) for the gift certificate, and then discount it by the same amount to get the new coupon code to ignore it. Is there a better way?")*

I actually took the time to see how xml files need to be setup and made one out of a copy of an existing simple one.
BAM! whole shop down, needed a backup to get it running again.
This was fun ![:)](/media/kunena/emoticons/3.png ":)") Thanks chatgpt

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5Mzg1OC1ob3ctdG8tbWFrZS1hLWNvdXBvbi1pZ25vcmUtb25lLWl0ZW0/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: 86584
- Thank you received: 14325
-
-

1 year 7 months ago [\#366447](#366447) 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 make a coupon ignore one item](/forum/25-install-update/893858-how-to-make-a-coupon-ignore-one-item#366447 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.5  How can I offer a customer a coupon code that will not work on gift certificates - the work around I'm using is to make it &quot;Ignore discount products&quot; - so I have to first raise the price (by $0.01) for the gift certificate, and then discount it by the same amount to get the new coupon code to ignore it. Is there a better way?")*

Hi,

Note that if a plugin crashes the whole website, you can easily restore it by renaming the folder of the plugin via FTP in the plugins/hikashop/ folder of your website. That way, no need to restore everything from a backup.

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

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