- Posts: 8
- Thank you received: 2
Simple plain text email for order confirmed status change
3 years 3 months ago #352605
by drop
Simple plain text email for order confirmed status change was created by drop
I am trying to make very simple order confirmed status change email notification (plain text) containing basic information about order:
Order Id
invoice id
order total price
It was harder than I though because email preload template is a bit complicated to me. How can I print these 3 parameters in plain text email?
Thanks.
Order Id
invoice id
order total price
It was harder than I though because email preload template is a bit complicated to me. How can I print these 3 parameters in plain text email?
Thanks.
Please Log in or Create an account to join the conversation.
3 years 3 months ago #352608
by nicolas
Replied by nicolas on topic Simple plain text email for order confirmed status change
Hi,
It should be quite simple.
Turn off the "html" setting of the email, ignore the HTML and preload area and just customize the "text" area.
In there, you can use simple PHP. For example, to display the order_id:
<?php echo $data->order_id; ?>
It should be quite simple.
Turn off the "html" setting of the email, ignore the HTML and preload area and just customize the "text" area.
In there, you can use simple PHP. For example, to display the order_id:
<?php echo $data->order_id; ?>
The following user(s) said Thank You: ssnobben
Please Log in or Create an account to join the conversation.
3 years 3 months ago - 3 years 3 months ago #352609
by drop
Replied by drop on topic Simple plain text email for order confirmed status change
Thank you.
I figured out that order total price could be $data->cart->order_subtotal+$data->cart->order_shipping_price.
And invoice number is:$data->cart->order_invoice_number
Seems that its working and gives right result.
I figured out that order total price could be $data->cart->order_subtotal+$data->cart->order_shipping_price.
And invoice number is:$data->cart->order_invoice_number
Seems that its working and gives right result.
Last edit: 3 years 3 months ago by drop.
Please Log in or Create an account to join the conversation.
Time to create page: 0.148 seconds