Hi,
The Multi coupon plugin allows you to have several coupons at the same time in the cart.
However, you can't have several parameters with the same name in an URL.
And HikaShop itself doesn't support having several coupon codes in the add to cart URL.
However, it's possible to do what you want I think.
To do this, you will need to add an extra parameter "url" in your add to cart URL. That parameter should have the add to cart URL with only the second second, and it should be urlencoded.
So, for your example, supposing that your website URL is
mywebsite.com
, the add to cart URL would something like this:
https://mywebsite.com/index.php?option=com_hikashop&ctrl=product&task=updatecart&quantity=1&cid=1&Itemid=672&coupon=COUPON1&url=https%3A%2F%2Fmywebsite.com%2Findex.php%3Foption%3Dcom_hikashop%26ctrl%3Dproduct%26task%3Dupdatecart%26Itemid%3D672%26coupon%3DCOUPON2
You can use
www.urlencoder.org/
to encode the second URL.
This way, the add to cart flow will be like this:
- product with the id 1 is added to the cart
- COUPON1 is added to the cart
- redirected to the URL in the "url" parameter
- COUPON2 is added to the cart
- redirect to the checkout