-1

I have one product on my site. I want to give coupons out which allow for a free one. So, if the customer puts one item in their basket - applying the coupon will make this free. If the customer puts two items in, the coupon will discount the price of one of the items but leave the other one to be paid.

When I first looked at woocommerce - I assumed that the product discount would do this if I set a 100% product discount voucher. However, in reality, this is is taking 100% off the whole basket as it appears to apply the discount to all of that product items in the basket.

What I want to do is apply the 100% product discount to ONE product - not the whole basket.

Does anybody know any way I can achieve what I want to do? Via plugin if necessary.

closed as off-topic by helgatheviking, tfrommen, fuxia Jan 23 '14 at 11:18

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions should be specific to WordPress within defined scope (merely happening in its context, such as generic PHP/JS/HTML/CSS, is insufficient). Might be better asked at Stack Overflow or other appropriate site of Stack Exchange network." – helgatheviking, tfrommen, fuxia
If this question can be reworded to fit the rules in the help center, please edit the question.

4

You must change the coupon's "discount type" from "cart %" to "product %". And then define which product the coupon applies to.

enter image description here

  • I have found the article about WooCommerce discount cart which describe how to get discount on total sales, orders, shipping cost and sales per item cloudways.com/blog/woocommerce-discount-cart – Owais Alam Dec 14 '17 at 8:42
  • It appears that "product % discount" no longer exists in WooCommerce. – helgatheviking Sep 13 '18 at 14:06

Not the answer you're looking for? Browse other questions tagged or ask your own question.