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

#   How to exclude a product or category from the coupon

##

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

2 years 6 months ago [\#360967](#360967) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to exclude a product or category from the coupon](/forum/17-serial-how-to/907804-how-to-exclude-a-product-or-category-from-the-coupon?start=20#360967 "-- HikaShop version -- : 5.0.3 -- HikaSerial version -- : 4.0.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 8.1.26  Hi, using the automatic coupon feature in Acymailing, it is not possible to exclude a product or category from the coupon (I have already asked their support team). I would like the coupon to be activated on all products except for one product or category. Specifically, I am referring to a product that can only be purchased with recurring payments. Is there a way to exclude a product or product category from any type of coupon? Obviously I know that if I create a coupon in Hikashop I can define the categories to which it can be applied and can, consequently, exclude others. But with the email marketing automation system, via Acymailing follow up, this function does not exist. Can you help me find a solution? For example, is there a function on the product page to disable any coupons for that product? I don't think I've seen it, but I'm asking anyway.  By the way, if a coupon is created with Acymail with a 10% discount on all products, therefore including a product with a recurring payment with PayPal of 100 euros each month, what value will be applied to the renewal of the second payment, 90 euros or 100 euros?  Thank you. Best regards Francesco")*

Hello,

No, that's not the page I gave you.

> Your Paypal IPN logs should be at : [ www.paypal.com/merchantnotification/ipn/history](http://www.paypal.com/merchantnotification/ipn/history)
> ( as explained in the documentation page : developer.paypal.com/api/nvp-soap/ipn/IPNOperations/ )
> {/quote\]
>
> Regards

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 79
- Thank you received: 3
-
-

2 years 6 months ago [\#360995](#360995) by [studiocurci](/forum/user/67327-studiocurci "View studiocurci's Profile")  Replied by *[studiocurci](/forum/user/67327-studiocurci "View studiocurci's Profile")* on topic *[How to exclude a product or category from the coupon](/forum/17-serial-how-to/907804-how-to-exclude-a-product-or-category-from-the-coupon?start=20#360995 "-- HikaShop version -- : 5.0.3 -- HikaSerial version -- : 4.0.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 8.1.26  Hi, using the automatic coupon feature in Acymailing, it is not possible to exclude a product or category from the coupon (I have already asked their support team). I would like the coupon to be activated on all products except for one product or category. Specifically, I am referring to a product that can only be purchased with recurring payments. Is there a way to exclude a product or product category from any type of coupon? Obviously I know that if I create a coupon in Hikashop I can define the categories to which it can be applied and can, consequently, exclude others. But with the email marketing automation system, via Acymailing follow up, this function does not exist. Can you help me find a solution? For example, is there a function on the product page to disable any coupons for that product? I don't think I've seen it, but I'm asking anyway.  By the way, if a coupon is created with Acymail with a 10% discount on all products, therefore including a product with a recurring payment with PayPal of 100 euros each month, what value will be applied to the renewal of the second payment, 90 euros or 100 euros?  Thank you. Best regards Francesco")*

Hi,
in any case, I think that PayPal correctly sends the information to Hikasghop, because the renewal of the first test without a discount coupon was successful.
Sorry, but have you tried to do any tests successfully with the discount coupon?
I thank you
Francesco

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

2 years 6 months ago [\#361032](#361032) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to exclude a product or category from the coupon](/forum/17-serial-how-to/907804-how-to-exclude-a-product-or-category-from-the-coupon?start=20#361032 "-- HikaShop version -- : 5.0.3 -- HikaSerial version -- : 4.0.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 8.1.26  Hi, using the automatic coupon feature in Acymailing, it is not possible to exclude a product or category from the coupon (I have already asked their support team). I would like the coupon to be activated on all products except for one product or category. Specifically, I am referring to a product that can only be purchased with recurring payments. Is there a way to exclude a product or product category from any type of coupon? Obviously I know that if I create a coupon in Hikashop I can define the categories to which it can be applied and can, consequently, exclude others. But with the email marketing automation system, via Acymailing follow up, this function does not exist. Can you help me find a solution? For example, is there a function on the product page to disable any coupons for that product? I don't think I've seen it, but I'm asking anyway.  By the way, if a coupon is created with Acymail with a 10% discount on all products, therefore including a product with a recurring payment with PayPal of 100 euros each month, what value will be applied to the renewal of the second payment, 90 euros or 100 euros?  Thank you. Best regards Francesco")*

Hello,

We performed an investigation and the recurring price should not contain the discount price.
For a reason that I can't understand right now, the detection of the discount during the recurring value processing is not working properly.

Please edit the file "administrator/components/com_hikaserial/classes/cart.php" and replace the content Code:

if($fullcart) { unset($order_products); return; }

By Code:

if(false &amp;&amp; $fullcart) { unset($order_products); return; }

in order to force the processing of the recurring price using the total of the products (and not using the order price).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 79
- Thank you received: 3
-
-

2 years 6 months ago [\#361048](#361048) by [studiocurci](/forum/user/67327-studiocurci "View studiocurci's Profile")  Replied by *[studiocurci](/forum/user/67327-studiocurci "View studiocurci's Profile")* on topic *[How to exclude a product or category from the coupon](/forum/17-serial-how-to/907804-how-to-exclude-a-product-or-category-from-the-coupon?start=20#361048 "-- HikaShop version -- : 5.0.3 -- HikaSerial version -- : 4.0.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 8.1.26  Hi, using the automatic coupon feature in Acymailing, it is not possible to exclude a product or category from the coupon (I have already asked their support team). I would like the coupon to be activated on all products except for one product or category. Specifically, I am referring to a product that can only be purchased with recurring payments. Is there a way to exclude a product or product category from any type of coupon? Obviously I know that if I create a coupon in Hikashop I can define the categories to which it can be applied and can, consequently, exclude others. But with the email marketing automation system, via Acymailing follow up, this function does not exist. Can you help me find a solution? For example, is there a function on the product page to disable any coupons for that product? I don't think I've seen it, but I'm asking anyway.  By the way, if a coupon is created with Acymail with a 10% discount on all products, therefore including a product with a recurring payment with PayPal of 100 euros each month, what value will be applied to the renewal of the second payment, 90 euros or 100 euros?  Thank you. Best regards Francesco")*

Hi,
If I understand correctly, with your code it will become possible to make the first purchase with the discount. The subsequent renewals will be at full price, with the price of the product without discount?
Thank you

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

2 years 6 months ago -  2 years 6 months ago [\#361065](#361065) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to exclude a product or category from the coupon](/forum/17-serial-how-to/907804-how-to-exclude-a-product-or-category-from-the-coupon?start=20#361065 "-- HikaShop version -- : 5.0.3 -- HikaSerial version -- : 4.0.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 8.1.26  Hi, using the automatic coupon feature in Acymailing, it is not possible to exclude a product or category from the coupon (I have already asked their support team). I would like the coupon to be activated on all products except for one product or category. Specifically, I am referring to a product that can only be purchased with recurring payments. Is there a way to exclude a product or product category from any type of coupon? Obviously I know that if I create a coupon in Hikashop I can define the categories to which it can be applied and can, consequently, exclude others. But with the email marketing automation system, via Acymailing follow up, this function does not exist. Can you help me find a solution? For example, is there a function on the product page to disable any coupons for that product? I don't think I've seen it, but I'm asking anyway.  By the way, if a coupon is created with Acymail with a 10% discount on all products, therefore including a product with a recurring payment with PayPal of 100 euros each month, what value will be applied to the renewal of the second payment, 90 euros or 100 euros?  Thank you. Best regards Francesco")*

Hello,

Yes, that's it.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Last edit: 2 years 6 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

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

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

Less More

- Posts: 79
- Thank you received: 3
-
-

2 years 6 months ago [\#361090](#361090) by [studiocurci](/forum/user/67327-studiocurci "View studiocurci's Profile")  Replied by *[studiocurci](/forum/user/67327-studiocurci "View studiocurci's Profile")* on topic *[How to exclude a product or category from the coupon](/forum/17-serial-how-to/907804-how-to-exclude-a-product-or-category-from-the-coupon?start=20#361090 "-- HikaShop version -- : 5.0.3 -- HikaSerial version -- : 4.0.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 8.1.26  Hi, using the automatic coupon feature in Acymailing, it is not possible to exclude a product or category from the coupon (I have already asked their support team). I would like the coupon to be activated on all products except for one product or category. Specifically, I am referring to a product that can only be purchased with recurring payments. Is there a way to exclude a product or product category from any type of coupon? Obviously I know that if I create a coupon in Hikashop I can define the categories to which it can be applied and can, consequently, exclude others. But with the email marketing automation system, via Acymailing follow up, this function does not exist. Can you help me find a solution? For example, is there a function on the product page to disable any coupons for that product? I don't think I've seen it, but I'm asking anyway.  By the way, if a coupon is created with Acymail with a 10% discount on all products, therefore including a product with a recurring payment with PayPal of 100 euros each month, what value will be applied to the renewal of the second payment, 90 euros or 100 euros?  Thank you. Best regards Francesco")*

Well, I replaced the code. Today I'm doing a new test with a product. Renewal every 3 days. I'll let you know how it goes. It seems that it is not possible to override the file you indicated, so kindly do not make new versions without including the new code otherwise it would overwrite the code I modified.
Regards

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

2 years 6 months ago [\#361102](#361102) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to exclude a product or category from the coupon](/forum/17-serial-how-to/907804-how-to-exclude-a-product-or-category-from-the-coupon?start=20#361102 "-- HikaShop version -- : 5.0.3 -- HikaSerial version -- : 4.0.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 8.1.26  Hi, using the automatic coupon feature in Acymailing, it is not possible to exclude a product or category from the coupon (I have already asked their support team). I would like the coupon to be activated on all products except for one product or category. Specifically, I am referring to a product that can only be purchased with recurring payments. Is there a way to exclude a product or product category from any type of coupon? Obviously I know that if I create a coupon in Hikashop I can define the categories to which it can be applied and can, consequently, exclude others. But with the email marketing automation system, via Acymailing follow up, this function does not exist. Can you help me find a solution? For example, is there a function on the product page to disable any coupons for that product? I don't think I've seen it, but I'm asking anyway.  By the way, if a coupon is created with Acymail with a 10% discount on all products, therefore including a product with a recurring payment with PayPal of 100 euros each month, what value will be applied to the renewal of the second payment, 90 euros or 100 euros?  Thank you. Best regards Francesco")*

Hello,

Since you have that error, we will perform further tests regarding that discount detection.
If we can understand the issue, we will work on a patch.
Otherwise, we will change the behavior and add a setting to configure which mode should be use.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 79
- Thank you received: 3
-
-

2 years 6 months ago [\#361119](#361119) by [studiocurci](/forum/user/67327-studiocurci "View studiocurci's Profile")  Replied by *[studiocurci](/forum/user/67327-studiocurci "View studiocurci's Profile")* on topic *[How to exclude a product or category from the coupon](/forum/17-serial-how-to/907804-how-to-exclude-a-product-or-category-from-the-coupon?start=20#361119 "-- HikaShop version -- : 5.0.3 -- HikaSerial version -- : 4.0.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 8.1.26  Hi, using the automatic coupon feature in Acymailing, it is not possible to exclude a product or category from the coupon (I have already asked their support team). I would like the coupon to be activated on all products except for one product or category. Specifically, I am referring to a product that can only be purchased with recurring payments. Is there a way to exclude a product or product category from any type of coupon? Obviously I know that if I create a coupon in Hikashop I can define the categories to which it can be applied and can, consequently, exclude others. But with the email marketing automation system, via Acymailing follow up, this function does not exist. Can you help me find a solution? For example, is there a function on the product page to disable any coupons for that product? I don't think I've seen it, but I'm asking anyway.  By the way, if a coupon is created with Acymail with a 10% discount on all products, therefore including a product with a recurring payment with PayPal of 100 euros each month, what value will be applied to the renewal of the second payment, 90 euros or 100 euros?  Thank you. Best regards Francesco")*

Hi,
with your new code the renewal worked correctly.
Here is the test: 1) total order 1 euro, 10% discount = 0.90 euros.
2) renewal: total order 1 euro (no discount)
Best regards

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

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

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

Less More

- Posts: 79
- Thank you received: 3
-
-

2 years 5 months ago [\#361611](#361611) by [studiocurci](/forum/user/67327-studiocurci "View studiocurci's Profile")  Replied by *[studiocurci](/forum/user/67327-studiocurci "View studiocurci's Profile")* on topic *[How to exclude a product or category from the coupon](/forum/17-serial-how-to/907804-how-to-exclude-a-product-or-category-from-the-coupon?start=20#361611 "-- HikaShop version -- : 5.0.3 -- HikaSerial version -- : 4.0.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 8.1.26  Hi, using the automatic coupon feature in Acymailing, it is not possible to exclude a product or category from the coupon (I have already asked their support team). I would like the coupon to be activated on all products except for one product or category. Specifically, I am referring to a product that can only be purchased with recurring payments. Is there a way to exclude a product or product category from any type of coupon? Obviously I know that if I create a coupon in Hikashop I can define the categories to which it can be applied and can, consequently, exclude others. But with the email marketing automation system, via Acymailing follow up, this function does not exist. Can you help me find a solution? For example, is there a function on the product page to disable any coupons for that product? I don't think I've seen it, but I'm asking anyway.  By the way, if a coupon is created with Acymail with a 10% discount on all products, therefore including a product with a recurring payment with PayPal of 100 euros each month, what value will be applied to the renewal of the second payment, 90 euros or 100 euros?  Thank you. Best regards Francesco")*

Hi,
did add your new custom code to the last Hikashop and Hikaserial versions?
Now I still have:
HikaShop Business 5.0.4 [2405021549]
HikaSubscription: 4.0.2

I didn't update the versions because of the new custom code.
I was afraid of update them because of the risk to overraide the code I manually added on a system file.
Thank you
Regards

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

2 years 5 months ago [\#361622](#361622) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to exclude a product or category from the coupon](/forum/17-serial-how-to/907804-how-to-exclude-a-product-or-category-from-the-coupon?start=20#361622 "-- HikaShop version -- : 5.0.3 -- HikaSerial version -- : 4.0.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 8.1.26  Hi, using the automatic coupon feature in Acymailing, it is not possible to exclude a product or category from the coupon (I have already asked their support team). I would like the coupon to be activated on all products except for one product or category. Specifically, I am referring to a product that can only be purchased with recurring payments. Is there a way to exclude a product or product category from any type of coupon? Obviously I know that if I create a coupon in Hikashop I can define the categories to which it can be applied and can, consequently, exclude others. But with the email marketing automation system, via Acymailing follow up, this function does not exist. Can you help me find a solution? For example, is there a function on the product page to disable any coupons for that product? I don't think I've seen it, but I'm asking anyway.  By the way, if a coupon is created with Acymail with a 10% discount on all products, therefore including a product with a recurring payment with PayPal of 100 euros each month, what value will be applied to the renewal of the second payment, 90 euros or 100 euros?  Thank you. Best regards Francesco")*

Hello,

You can update HikaShop, it's not impacted by your local modification.
The next release of HikaSerial/HikaSubscription will take care of your issue.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 79
- Thank you received: 3
-
-

1 year 11 months ago [\#364973](#364973) by [studiocurci](/forum/user/67327-studiocurci "View studiocurci's Profile")  Replied by *[studiocurci](/forum/user/67327-studiocurci "View studiocurci's Profile")* on topic *[How to exclude a product or category from the coupon](/forum/17-serial-how-to/907804-how-to-exclude-a-product-or-category-from-the-coupon?start=20#364973 "-- HikaShop version -- : 5.0.3 -- HikaSerial version -- : 4.0.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 8.1.26  Hi, using the automatic coupon feature in Acymailing, it is not possible to exclude a product or category from the coupon (I have already asked their support team). I would like the coupon to be activated on all products except for one product or category. Specifically, I am referring to a product that can only be purchased with recurring payments. Is there a way to exclude a product or product category from any type of coupon? Obviously I know that if I create a coupon in Hikashop I can define the categories to which it can be applied and can, consequently, exclude others. But with the email marketing automation system, via Acymailing follow up, this function does not exist. Can you help me find a solution? For example, is there a function on the product page to disable any coupons for that product? I don't think I've seen it, but I'm asking anyway.  By the way, if a coupon is created with Acymail with a 10% discount on all products, therefore including a product with a recurring payment with PayPal of 100 euros each month, what value will be applied to the renewal of the second payment, 90 euros or 100 euros?  Thank you. Best regards Francesco")*

Hi, I'm now using Hikashop 5.0.4, I'd like to updated it to 5.1.2. Does 5.1.2 contain the custom code you had me add?

> Jerome wrote: We performed an investigation and the recurring price should not contain the discount price.
> For a reason that I can't understand right now, the detection of the discount during the recurring value processing is not working properly.
>
> Please edit the file "administrator/components/com\_hikaserial/classes/cart.php" and replace the content
>
> Code:
>
>  if($fullcart) { unset($order_products); return; }
>
>
>
> By Code:
>
>  if(false &amp;&amp; $fullcart) { unset($order_products); return; }
>
>
>
> in order to force the processing of the recurring price using the total of the products (and not using the order price).

Thank you
Francesco

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

1 year 11 months ago [\#364976](#364976) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to exclude a product or category from the coupon](/forum/17-serial-how-to/907804-how-to-exclude-a-product-or-category-from-the-coupon?start=20#364976 "-- HikaShop version -- : 5.0.3 -- HikaSerial version -- : 4.0.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 8.1.26  Hi, using the automatic coupon feature in Acymailing, it is not possible to exclude a product or category from the coupon (I have already asked their support team). I would like the coupon to be activated on all products except for one product or category. Specifically, I am referring to a product that can only be purchased with recurring payments. Is there a way to exclude a product or product category from any type of coupon? Obviously I know that if I create a coupon in Hikashop I can define the categories to which it can be applied and can, consequently, exclude others. But with the email marketing automation system, via Acymailing follow up, this function does not exist. Can you help me find a solution? For example, is there a function on the product page to disable any coupons for that product? I don't think I've seen it, but I'm asking anyway.  By the way, if a coupon is created with Acymail with a 10% discount on all products, therefore including a product with a recurring payment with PayPal of 100 euros each month, what value will be applied to the renewal of the second payment, 90 euros or 100 euros?  Thank you. Best regards Francesco")*

Hello,

Like I told you in my previous message ; you can update HikaShop freely.
The modification is HikaSerial only.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 79
- Thank you received: 3
-
-

1 year 11 months ago [\#364982](#364982) by [studiocurci](/forum/user/67327-studiocurci "View studiocurci's Profile")  Replied by *[studiocurci](/forum/user/67327-studiocurci "View studiocurci's Profile")* on topic *[How to exclude a product or category from the coupon](/forum/17-serial-how-to/907804-how-to-exclude-a-product-or-category-from-the-coupon?start=20#364982 "-- HikaShop version -- : 5.0.3 -- HikaSerial version -- : 4.0.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 8.1.26  Hi, using the automatic coupon feature in Acymailing, it is not possible to exclude a product or category from the coupon (I have already asked their support team). I would like the coupon to be activated on all products except for one product or category. Specifically, I am referring to a product that can only be purchased with recurring payments. Is there a way to exclude a product or product category from any type of coupon? Obviously I know that if I create a coupon in Hikashop I can define the categories to which it can be applied and can, consequently, exclude others. But with the email marketing automation system, via Acymailing follow up, this function does not exist. Can you help me find a solution? For example, is there a function on the product page to disable any coupons for that product? I don't think I've seen it, but I'm asking anyway.  By the way, if a coupon is created with Acymail with a 10% discount on all products, therefore including a product with a recurring payment with PayPal of 100 euros each month, what value will be applied to the renewal of the second payment, 90 euros or 100 euros?  Thank you. Best regards Francesco")*

Hi, I'm now using Hikaserial 4.0.2, I'd like to updated it to 5.0.0. Does 5.0.0 contain the custom code you had me add?
Regards
Francesco

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

1 year 11 months ago [\#364996](#364996) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to exclude a product or category from the coupon](/forum/17-serial-how-to/907804-how-to-exclude-a-product-or-category-from-the-coupon?start=20#364996 "-- HikaShop version -- : 5.0.3 -- HikaSerial version -- : 4.0.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 8.1.26  Hi, using the automatic coupon feature in Acymailing, it is not possible to exclude a product or category from the coupon (I have already asked their support team). I would like the coupon to be activated on all products except for one product or category. Specifically, I am referring to a product that can only be purchased with recurring payments. Is there a way to exclude a product or product category from any type of coupon? Obviously I know that if I create a coupon in Hikashop I can define the categories to which it can be applied and can, consequently, exclude others. But with the email marketing automation system, via Acymailing follow up, this function does not exist. Can you help me find a solution? For example, is there a function on the product page to disable any coupons for that product? I don't think I've seen it, but I'm asking anyway.  By the way, if a coupon is created with Acymail with a 10% discount on all products, therefore including a product with a recurring payment with PayPal of 100 euros each month, what value will be applied to the renewal of the second payment, 90 euros or 100 euros?  Thank you. Best regards Francesco")*

Hello,

You can download HikaSerial 5.0.0 ; it contains a small patch which seems to work fine during my tests.
Feel free to send us your feedback if you still have an issue.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vOTA3ODA0LWhvdy10by1leGNsdWRlLWEtcHJvZHVjdC1vci1jYXRlZ29yeS1mcm9tLXRoZS1jb3Vwb24/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.091 seconds

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