How can I enter to Thank you page in woocommerce the discount code I assigned to the product category?
Question
I would like to show a discount code for each order from the same product category to user in "Thank You" page.
if($order->get_total() >= 100000) {
echo //Discount code
}
0
10 months
2022-03-27T05:36:25-05:00
2022-03-27T05:36:25-05:00 0 Answers
0 views
0
Leave an answer