[Skip to main content](#vessel-content)

#   Simple plain text email for order confirmed status change

##

- **[drop](/forum/user/46167-drop "View drop's Profile")**
- [![drop's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/46167-drop "View drop's Profile") Topic Author
- [ Offline](/forum/user/46167-drop)

Less More

- Posts: 8
- Thank you received: 2
-
-

3 years 3 months ago [\#352605](#352605) by [drop](/forum/user/46167-drop "View drop's Profile")  *[Simple plain text email for order confirmed status change](/forum/33-customers/906584-simple-plain-text-email-for-order-confirmed-status-change#352605 "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.")* was created by *[drop](/forum/user/46167-drop "View drop's Profile")*

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.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDY1ODQtc2ltcGxlLXBsYWluLXRleHQtZW1haWwtZm9yLW9yZGVyLWNvbmZpcm1lZC1zdGF0dXMtY2hhbmdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

3 years 3 months ago [\#352608](#352608) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Simple plain text email for order confirmed status change](/forum/33-customers/906584-simple-plain-text-email-for-order-confirmed-status-change#352608 "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.")*

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:
&lt;?php echo $data-&gt;order_id; ?&gt;

The following user(s) said Thank You: [ssnobben](/forum/user/10468-ssnobben "View ssnobben's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDY1ODQtc2ltcGxlLXBsYWluLXRleHQtZW1haWwtZm9yLW9yZGVyLWNvbmZpcm1lZC1zdGF0dXMtY2hhbmdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[drop](/forum/user/46167-drop "View drop's Profile")**
- [![drop's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/46167-drop "View drop's Profile") Topic Author
- [ Offline](/forum/user/46167-drop)

Less More

- Posts: 8
- Thank you received: 2
-
-

3 years 3 months ago -  3 years 3 months ago [\#352609](#352609) by [drop](/forum/user/46167-drop "View drop's Profile")  Replied by *[drop](/forum/user/46167-drop "View drop's Profile")* on topic *[Simple plain text email for order confirmed status change](/forum/33-customers/906584-simple-plain-text-email-for-order-confirmed-status-change#352609 "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.")*

Thank you.
I figured out that order total price could be $data-&gt;cart-&gt;order_subtotal+$data-&gt;cart-&gt;order_shipping_price.
And invoice number is:$data-&gt;cart-&gt;order_invoice_number
Seems that its working and gives right result.

Last edit: 3 years 3 months ago by [drop](/forum/user/46167-drop "View drop's Profile").

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile"), [ssnobben](/forum/user/10468-ssnobben "View ssnobben's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDY1ODQtc2ltcGxlLXBsYWluLXRleHQtZW1haWwtZm9yLW9yZGVyLWNvbmZpcm1lZC1zdGF0dXMtY2hhbmdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.201 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
