I want to to display on WooCommerce cart page (i.e. on woocommerce_after_add_to_cart_form
) the total usage count for a specific coupon only after the same coupon is added by user in cart page and it's valid.
How can I do that?
I want to to display on WooCommerce cart page (i.e. on woocommerce_after_add_to_cart_form
) the total usage count for a specific coupon only after the same coupon is added by user in cart page and it's valid.
How can I do that?
Finally I find the solution.