Repository Forums Support WooCommerce Extended Coupon Features PRO Coupon by URL: How to "set-cart" and not "add-to"? Reply To: Coupon by URL: How to "set-cart" and not "add-to"?

#3411
dhickman
Participant

Thanks for the quick reply!

I installed the plugin but it does not seem to solve the issue. Even though it works a bit differently than the “Coupon by URL” feature of “Extended Coupon Features PRO”.

It does not clear the cart before filling it. For example:
if I use this first:
https://example.com/cart/?fill_cart=2x999&apply_coupon=2ormore
then coupon “1productonly” is not accepted by this:
https://example.com/cart/?fill_cart=1x999&apply_coupon=1productonly
because I just get:
The maximum quantity of matching products for this coupon is 1.
This is because there are already two of those items in the cart.

So the issue remains: how is it possible to have the plugin(s) empty the cart first?