Answer the question
In order to leave comments, you need to log in
Woocoommerce, apply coupon via php?
Good afternoon, please tell me there is a coupon, how can I activate it manually, through php?
Answer the question
In order to leave comments, you need to log in
Use
There is an article that may help: Automatically apply a coupon in the cartWC()->cart->apply_coupon('КУПОН');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question