• Resolved Pat K

    (@blackcapdesign)


    Hello,
    I am testing WooCommerce Extended Coupon Features on a site-in-progress (not public). I have usage restriction enabled for product categories (with the AND condition) so a customer selecting at least 1 product from category A and 1 product from category B gets a 10% discount. So far so good! When additional products are added to the cart, I would like the 10% discount to apply to ALL products subsequently added to the cart (based on the original condition that at least 1 product from category A AND B are in the cart). If I add more products from category A or B to the cart, the 10% discount is applied. If I add products from categories C or D, the discount is not applied.

    In trying to figure this out, I came across this post. I added this code snippet to the functions.php file in the child theme and no change.

    Am I missing something?

    Thanks! (Nifty plugin by the way.)
    PK

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Pat K

    (@blackcapdesign)

    Update! I double-checked the all the settings again after adding the custom function and noticed the Discount Type had changed to Percentage Product Discount. As soon as I changed it back to Percentage Cart Discount, it suddenly started working. Yay!

    I think this is resolved, but it would be great if you could confirm that the code snippet I added is required for this to work. This may come in handy for others with similar requirements.

    Cheers,
    PK

    Plugin Author Soft79

    (@josk79)

    I confirm.

    Unfortunately the Product % discount was removed from WC in v3.0. The snippet restores it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Percentage Discount on Cart with Usage Restriction by Category’ is closed to new replies.