• Resolved jlstysis

    (@jlstysis)


    Applying coupons via URL fails if coupon is restricted to certain products or categories.

    Steps to duplicate:

    Create a standard Woocommerce coupon which is restricted to apply only to certain products (or categories).
    Add one of these products to cart and apply the coupon manually – works fine, as expected.

    Apply coupon via URL, then add one of the qualifying products to cart – coupon does NOT get applied – error message about products not meeting coupon requirements.
    If product is added to cart first, then coupon applied via URL – coupon applied correctly, as expected.

    Remove product or category restriction from coupon.
    Apply coupon via URL, then add the product in question to cart – coupon applied correctly, as expected.

    There appears to be an issue with applying coupon via URL first and then checking restrictions.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Applying coupons via URL fails if coupon is restricted to certain products or ca’ is closed to new replies.