Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ( ! defined( 'ABSPATH' ) ) {
- exit;
- }
- echo "= " . $email_heading . " =nn";
- echo $order->get_formatted_billing_full_name() ) . "n";
- echo $order->get_billing_address_1() . " " . $order->get_billing_address_2 "n";
- echo $order->get_billing_phone(); . "n";
- echo "---n";
- if ( $order->get_customer_note() ) {
- echo "Комментарий " . "t " . wptexturize( $order->get_customer_note() ) . "n";
- echo "---n";
- do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
- echo "---n";
- foreach ( $totals as $total ) {
- if ($total['label'] == "Payment method") echo "Форма оплаты: " . "t " . $total['value'] . "n";
- }
- foreach ( $totals as $total ) {
- if ($total['label'] == "Subtotal") echo "Сумма заказа: " . "t " . $total['value'] . "n";
- }
- foreach ( $totals as $total ) {
- if ($total['label'] == "Shipping") echo "Доставка: " . "t " . $total['value'] . "n";
- }
- foreach ( $totals as $total ) {
- if ($total['label'] == "Total") echo "Итого: " . "t " . $total['value'] . "n";
- }
- echo "---n";
- echo "PizzaCoffee.by";
Add Comment
Please, Sign In to add comment