My goal : Retrieve the coupon code applied (only one coupon code can be applied on the cart page) and create a custom link 'Remove Coupon'.
My problem : I can't figure out how to display in my 'Remove Coupon' link's href the current applied coupon slug.
Thanks for your time.
To get the applied coupon(s) name(s) linked with remove url, you can simply use something like:
So there is everything here to get the coupon code and the remove link… It should work.