Get Total Discount
-
Hello ,
I’m working on an email template: /emails/customer-processing-order.php.
I got the other data I wanted. However, in this file, I am not getting the total discount amount. So, Regular price – Sale Price. I used the definitions below. But it returns zero value. Can you help me ?echo $total_discount = $order->get_total_discount(); echo $discount_total = $order->get_discount_total();
echo $discount_price = $order->get_discount_to_display();`
Update, also, i didn’t get “date complete”.
echo $order_date = $order->get_date_completed();
How can i display thumbnail in this template ?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Get Total Discount’ is closed to new replies.