| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Modify Order Advanced Changed Template | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I have been looking to modify the email order receipt template. I believe I found the template under skins/mail/en/order_advanced_changed/body.tpl.
<p> {t(#Your order has been changed#,_ARRAY_(#id#^order.getOrderNumber())):h}. {t(#Thank you for your order FOOTER#):h} <hr /> <p> I would like to modify "#Your order has been changed#,_ARRAY_(#id#^order.getOrderNumber())):h}" to say "We received your order on "DATE TIME". Is it possible to do that?
__________________
X-Cart Business 5.2.13 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() 1. You can change the text without doing any coding, but this won't allow you to insert the order date into the text. Go to "Store setup" -> "Translations" -> "Edit labels" tab, search for "Your order has been changed" and change the translation to the text you need. Use {{id}} as a placeholder for the order number.
2. You can insert the order date into the text by creating a new skin module (or editing files of the Custom Skin module). You are to do the following: - replace the skins/mail/en/order_advanced_changed/body.tpl file (in the custom skin, not the original core file!) with a custom one displaying the new label (see the contents below) - add the new label on the "Edit labels" tab and use {{date}} as a placeholder for the order date, and {{id}} as a placeholder for the order number. The contents for the template would be as follows: Code:
The new label would be "We received your order on DATE", and the translation would be "We received your order on {{date}}".
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions Last edited by qualiteam : 01-20-2015 at 09:15 PM. |
|||||||||
|
#3
|
|||||||||
|
|||||||||
![]() By the way, please update your signature, and:
1. Remove the license key 2. Add your X-Cart version number ![]() Thanks!
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#4
|
|||||||
|
|||||||
![]() Quote:
![]()
__________________
X-Cart Business 5.2.13 |
|||||||
|
|||
X-Cart forums © 2001-2020
|