vendredi 10 juin 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.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire