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

#   how to use Multi Coupon Checkout

##

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

Less More

- Posts: 53
- Thank you received: 1
-
-

3 years 6 months ago [\#351236](#351236) by [matmosis](/forum/user/61552-matmosis "View matmosis's Profile")  *[how to use Multi Coupon Checkout](/forum/4-how-to/906305-how-to-use-multi-coupon-checkout#351236 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.3 -- Browser(s) name and version -- : Chrome 90.0.4430.212  Hi, i'm trying to use the Multi Coupon Checkout plugin. I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out  How can i use this plugin?  Thank you.")* was created by *[matmosis](/forum/user/61552-matmosis "View matmosis's Profile")*

-- HikaShop version -- : 4.7.2
-- Joomla version -- : 3.10.11
-- PHP version -- : 7.4.3
-- Browser(s) name and version -- : Chrome 90.0.4430.212

Hi,
i'm trying to use the Multi Coupon Checkout plugin.
I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out

How can i use this plugin?

Thank you.

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

Less More

- Posts: 86295
- Thank you received: 14273
-
-

3 years 6 months ago [\#351239](#351239) 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 use Multi Coupon Checkout](/forum/4-how-to/906305-how-to-use-multi-coupon-checkout#351239 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.3 -- Browser(s) name and version -- : Chrome 90.0.4430.212  Hi, i'm trying to use the Multi Coupon Checkout plugin. I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out  How can i use this plugin?  Thank you.")*

Hi,

First, please make sure that you're able to use your coupon on the checkout with the Multi coupon plugin deactivated.
It's likely that the problem you're describing has nothing to do with the plugin.

The plugin waits that a coupon has been added to a cart to remove the coupon from the cart and add it instead with its own system as a "simili coupon". No configuration is required to use the plugin. You just have to install it and enable it.

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

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

Less More

- Posts: 53
- Thank you received: 1
-
-

3 years 6 months ago [\#351298](#351298) by [matmosis](/forum/user/61552-matmosis "View matmosis's Profile")  Replied by *[matmosis](/forum/user/61552-matmosis "View matmosis's Profile")* on topic *[how to use Multi Coupon Checkout](/forum/4-how-to/906305-how-to-use-multi-coupon-checkout#351298 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.3 -- Browser(s) name and version -- : Chrome 90.0.4430.212  Hi, i'm trying to use the Multi Coupon Checkout plugin. I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out  How can i use this plugin?  Thank you.")*

Hi,
without plugin coupon works as expected.
Can you explain better what it means that the plugin waits for a copon to be added to the cart and then remove it?

Thank you

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

Less More

- Posts: 86295
- Thank you received: 14273
-
-

3 years 6 months ago [\#351299](#351299) 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 use Multi Coupon Checkout](/forum/4-how-to/906305-how-to-use-multi-coupon-checkout#351299 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.3 -- Browser(s) name and version -- : Chrome 90.0.4430.212  Hi, i'm trying to use the Multi Coupon Checkout plugin. I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out  How can i use this plugin?  Thank you.")*

Hi,

Well, normally, you add a coupon to the cart via the input field in the "coupon" view of the checkout workflow.
When this happens, the plugin takes the coupon out of the cart, as if the cart didn't have a coupon, and then adds it as an "additional fee" to the cart. That way, the normal coupon view of HikaShop can be used again to add another coupon, and the coupon is still taken into account in the cart.

So if it works without the multicoupon plugin, it has to work with the plugin too, unless there is a misunderstanding somewhere.
For example, the cart module doesn't display additional fees, but it can display coupons. So if you rely on the cart module display to see if the coupon is in the cart or not, instead of the cart view of the checkout workflow, you might think the coupon is not taken into account when the plugin is activated, when in fact it is, but you just don't see it.

Could you provide a coupon code, a screenshot of the settings of that coupon, activate the multicoupon plugin, and provide instructions to reproduce the issue on your website ?

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

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

Less More

- Posts: 53
- Thank you received: 1
-
-

3 years 6 months ago [\#351339](#351339) by [matmosis](/forum/user/61552-matmosis "View matmosis's Profile")  Replied by *[matmosis](/forum/user/61552-matmosis "View matmosis's Profile")* on topic *[how to use Multi Coupon Checkout](/forum/4-how-to/906305-how-to-use-multi-coupon-checkout#351339 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.3 -- Browser(s) name and version -- : Chrome 90.0.4430.212  Hi, i'm trying to use the Multi Coupon Checkout plugin. I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out  How can i use this plugin?  Thank you.")*

Hi,
sorry but i cannot get it!
here is my website [ 93.65.142.236:22080/joomlabresciarevamp2021](http://93.65.142.236:22080/joomlabresciarevamp2021)
user: atlas2@cartsoftware.eu
pwd: cv56py

go to cart and chekcout
plugin is active, try to add coupon AAA (see attached screenshot) nothing appends

thank you

[ ![brescia-Amministrazione-Buono.png](/forum/attachment/56983) ](/forum/attachment/56983 "...ione-Buono.png")

- [ ![brescia-Amministrazione-Buono.png](/forum/attachment/56983) ](/forum/attachment/56983 "...ione-Buono.png") [ ](/forum/attachment/56983?download=1 "...ione-Buono.png")

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

Less More

- Posts: 86295
- Thank you received: 14273
-
-

3 years 6 months ago [\#351343](#351343) 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 use Multi Coupon Checkout](/forum/4-how-to/906305-how-to-use-multi-coupon-checkout#351343 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.3 -- Browser(s) name and version -- : Chrome 90.0.4430.212  Hi, i'm trying to use the Multi Coupon Checkout plugin. I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out  How can i use this plugin?  Thank you.")*

Hi,

Thanks.
Could you provide a FTP access via our contact form so that we could look into it deeper ?
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

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

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

Less More

- Posts: 53
- Thank you received: 1
-
-

3 years 6 months ago [\#351365](#351365) by [matmosis](/forum/user/61552-matmosis "View matmosis's Profile")  Replied by *[matmosis](/forum/user/61552-matmosis "View matmosis's Profile")* on topic *[how to use Multi Coupon Checkout](/forum/4-how-to/906305-how-to-use-multi-coupon-checkout#351365 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.3 -- Browser(s) name and version -- : Chrome 90.0.4430.212  Hi, i'm trying to use the Multi Coupon Checkout plugin. I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out  How can i use this plugin?  Thank you.")*

Hi,
sorry but i have problem give you access through FTP.
You can download a whole site backup from the following url (akeeba backup)

JPA: [ www.dropbox.com/s/ynvl9kut8onyi94/site-l...l3zZwoXlIw4.jpa?dl=0](https://www.dropbox.com/s/ynvl9kut8onyi94/site-localhost-20230428-132209utc-Y6RA7l3zZwoXlIw4.jpa?dl=0)
or
ZIP: [ www.dropbox.com/s/vtk422undrqv6c0/site-l...umz1YjbsZEE.zip?dl=0](https://www.dropbox.com/s/vtk422undrqv6c0/site-localhost-20230428-133113utc-PU8VEumz1YjbsZEE.zip?dl=0)

Hope you can check it and solve my problem.

Thanks

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

Less More

- Posts: 86295
- Thank you received: 14273
-
-

3 years 6 months ago [\#351374](#351374) 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 use Multi Coupon Checkout](/forum/4-how-to/906305-how-to-use-multi-coupon-checkout#351374 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.3 -- Browser(s) name and version -- : Chrome 90.0.4430.212  Hi, i'm trying to use the Multi Coupon Checkout plugin. I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out  How can i use this plugin?  Thank you.")*

Hi,

Well, I tried but it didn't work.
After going through the restoration process, the website didn't work for some reason:
[ i.imgur.com/kBAKf71.png](https://i.imgur.com/kBAKf71.png)

If you can't provide a FTP access, could you install a file explorer extension ( like [ extensions.joomla.org/extension/core-enh...anagement/extplorer/](https://extensions.joomla.org/extension/core-enhancements/file-management/extplorer/) ) on your website backend which would allow me to modify the files without the need for FTP ?

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

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

Less More

- Posts: 53
- Thank you received: 1
-
-

3 years 5 months ago -  3 years 5 months ago [\#351437](#351437) by [matmosis](/forum/user/61552-matmosis "View matmosis's Profile")  Replied by *[matmosis](/forum/user/61552-matmosis "View matmosis's Profile")* on topic *[how to use Multi Coupon Checkout](/forum/4-how-to/906305-how-to-use-multi-coupon-checkout#351437 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.3 -- Browser(s) name and version -- : Chrome 90.0.4430.212  Hi, i'm trying to use the Multi Coupon Checkout plugin. I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out  How can i use this plugin?  Thank you.")*

Hi,
you have to use PHP 7.4, it will not work with 8 or latest.

eXtplorer installed

Let me know if you need something else to check and solve our problem!

Thanks.

Regards,
Matteo

Last edit: 3 years 5 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

Less More

- Posts: 86295
- Thank you received: 14273
-
-

3 years 5 months ago [\#351450](#351450) 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 use Multi Coupon Checkout](/forum/4-how-to/906305-how-to-use-multi-coupon-checkout#351450 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.3 -- Browser(s) name and version -- : Chrome 90.0.4430.212  Hi, i'm trying to use the Multi Coupon Checkout plugin. I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out  How can i use this plugin?  Thank you.")*

Hi,

Thanks for the access.
I was able to reproduce and debug the issue on your website and made a patch in the multicoupon plugin.
I've added the patch on your website and it seems to be working fine now.
I've also made a new version of the plugin available on our website in order for others to be able to get the patch.

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

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

Less More

- Posts: 53
- Thank you received: 1
-
-

3 years 5 months ago [\#351457](#351457) by [matmosis](/forum/user/61552-matmosis "View matmosis's Profile")  Replied by *[matmosis](/forum/user/61552-matmosis "View matmosis's Profile")* on topic *[how to use Multi Coupon Checkout](/forum/4-how-to/906305-how-to-use-multi-coupon-checkout#351457 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.3 -- Browser(s) name and version -- : Chrome 90.0.4430.212  Hi, i'm trying to use the Multi Coupon Checkout plugin. I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out  How can i use this plugin?  Thank you.")*

Hi,
thank you it works!

Unfortunately there is another problem now.

I created two coupons, AAA and BBB, if I add AAA to checkout page everything is ok!
Then I add BBB in the checkout page but it gives me 2 times BBB, both with the value of BBB (-2€)
if I put AAA again it gives me two AAA instead of the two BBB, both with the value of AAA (-10€)

You can use our environment for testing
Thanks

Regards

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

Less More

- Posts: 86295
- Thank you received: 14273
-
-

3 years 5 months ago [\#351468](#351468) 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 use Multi Coupon Checkout](/forum/4-how-to/906305-how-to-use-multi-coupon-checkout#351468 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.3 -- Browser(s) name and version -- : Chrome 90.0.4430.212  Hi, i'm trying to use the Multi Coupon Checkout plugin. I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out  How can i use this plugin?  Thank you.")*

Hi,

Thank you for the new feedback.
The new issue comes from the modifications I made in the previous patch.
I've made a new patch to fix this too.
I've added the patch on your website and it seems to be working fine now.
I've also made a new version of the plugin available on our website in order for others to be able to get the patch.

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

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

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

Less More

- Posts: 53
- Thank you received: 1
-
-

3 years 5 months ago [\#351472](#351472) by [matmosis](/forum/user/61552-matmosis "View matmosis's Profile")  Replied by *[matmosis](/forum/user/61552-matmosis "View matmosis's Profile")* on topic *[how to use Multi Coupon Checkout](/forum/4-how-to/906305-how-to-use-multi-coupon-checkout#351472 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.3 -- Browser(s) name and version -- : Chrome 90.0.4430.212  Hi, i'm trying to use the Multi Coupon Checkout plugin. I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out  How can i use this plugin?  Thank you.")*

Hi,
it works thank you.

Just a little one, when adding a coupon, message $checkoutHelper-&gt;addMessage('cart.additional.added', array(Jtext::_('COUPON_ADDED'),success')); does not come out

Thanks

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

Less More

- Posts: 86295
- Thank you received: 14273
-
-

3 years 5 months ago [\#351475](#351475) 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 use Multi Coupon Checkout](/forum/4-how-to/906305-how-to-use-multi-coupon-checkout#351475 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.3 -- Browser(s) name and version -- : Chrome 90.0.4430.212  Hi, i'm trying to use the Multi Coupon Checkout plugin. I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out  How can i use this plugin?  Thank you.")*

Hi,

Thank you for the new feedback.
I've made a new patch to fix this too.
I've added the patch on your website but it didn't work. It seems that whatever modification I did, they were not taken into account for some reason. So I've tested the patch on a test website on my end and I confirmed it fixed the problem there.
I've also made a new version of the plugin available on our website and the patch is in it.

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

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

Less More

- Posts: 53
- Thank you received: 1
-
-

3 years 5 months ago [\#351638](#351638) by [matmosis](/forum/user/61552-matmosis "View matmosis's Profile")  Replied by *[matmosis](/forum/user/61552-matmosis "View matmosis's Profile")* on topic *[how to use Multi Coupon Checkout](/forum/4-how-to/906305-how-to-use-multi-coupon-checkout#351638 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.3 -- Browser(s) name and version -- : Chrome 90.0.4430.212  Hi, i'm trying to use the Multi Coupon Checkout plugin. I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out  How can i use this plugin?  Thank you.")*

Hi,
is there an event fired when coupon is removed by the little trash icon that we can get?

Thanks

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

Less More

- Posts: 86295
- Thank you received: 14273
-
-

3 years 5 months ago [\#351641](#351641) 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 use Multi Coupon Checkout](/forum/4-how-to/906305-how-to-use-multi-coupon-checkout#351641 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.3 -- Browser(s) name and version -- : Chrome 90.0.4430.212  Hi, i'm trying to use the Multi Coupon Checkout plugin. I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out  How can i use this plugin?  Thank you.")*

Hi,

A save is done on class.cart since the additionals are stored in cart_params, so you have the onBeforeCartSave(&amp;$cart, &amp;$do) event before the modification and then onAfterCartSave(&amp;$cart) after it. if you check $cart-&gt;cart_params and $cart-&gt;old-&gt;cart_params you should be able to run PHP code only when the coupon is removed via the little trash icon.

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

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

Less More

- Posts: 53
- Thank you received: 1
-
-

3 years 5 months ago [\#351656](#351656) by [matmosis](/forum/user/61552-matmosis "View matmosis's Profile")  Replied by *[matmosis](/forum/user/61552-matmosis "View matmosis's Profile")* on topic *[how to use Multi Coupon Checkout](/forum/4-how-to/906305-how-to-use-multi-coupon-checkout#351656 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.3 -- Browser(s) name and version -- : Chrome 90.0.4430.212  Hi, i'm trying to use the Multi Coupon Checkout plugin. I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out  How can i use this plugin?  Thank you.")*

Hi,
sorry but i don't get what's the difference between $cart-&gt;additional and $cart-&gt;cart_params-&gt;additional
And in general i don't get what $cart-&gt;cart_params contains, can you explain me better please?

Regarding my question about manage coupon delete, can you provide an example code?

Thanks

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

Less More

- Posts: 86295
- Thank you received: 14273
-
-

3 years 5 months ago [\#351660](#351660) 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 use Multi Coupon Checkout](/forum/4-how-to/906305-how-to-use-multi-coupon-checkout#351660 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.3 -- Browser(s) name and version -- : Chrome 90.0.4430.212  Hi, i'm trying to use the Multi Coupon Checkout plugin. I enabled all, i can see input box on my checkout page, i add a coupon from Orders-&gt;Coupon and than i write down coupon code on the input on the checkout page, it start to process but nothing comes out  How can i use this plugin?  Thank you.")*

Hi,

Well, I'm not sure about the code.
I suppose it should be something like that: Code:

function onAfterCartSave(&amp;$cart) { $oldcoupons = array(); $newcoupons = array(); if(!empty($cart-&gt;old-&gt;cart_params-&gt;additional)) { foreach($cart-&gt;old-&gt;cart_params-&gt;additional as $additional) { $oldcoupons[] = $additional-&gt;name; } } if(!empty($cart-&gt;cart_params-&gt;additional)) { foreach($cart-&gt;cart_params-&gt;additional as $additional) { $newcoupons[] = $additional-&gt;name; } } if(count($newcoupons) &lt; count($oldcoupons)) { // a coupon has been deleted, add your code there } }

Note that this will probably not work as I haven't tested it.
The first thing I would do is to have only hikashop_writeToLog($cart);
in the function, run my test and check the "payment log file" of the HikaShop configuration. At the end I should have a cart object with the data of the cart, including $cart-&gt;cart_params and $cart-&gt;old-&gt;cart_params
That way, I could make sure that the data in these indeed reflect the coupon being removed, and that they are in the correct format as you actually might need to json_decode the params before running the foreach on them.

$cart-&gt;additional is where the additionals are added to the $cart object when a cart is loaded. There is no "additional" column in the hikashop_cart table in the database. cart_params is the name of the column of hikahsop_cart where all extra data regarding a cart is stored in the database, including the additionals.

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

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

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

[](#top)
