jeudi 1 septembre 2016

How to check which coupon is applied to which product in WooCommerce?

Since we can apply different coupons to each product in an order, Is there any method to know which coupon is applied to which product? I've used $order->get_used_coupons() function but it just returns the used coupon codes only.

Please help with a solution. Thanks.

Aucun commentaire:

Enregistrer un commentaire