Modify Order Advanced Changed Template
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? |
Re: Modify Order Advanced Changed Template
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:
<p> The new label would be "We received your order on DATE", and the translation would be "We received your order on {{date}}". |
Re: Modify Order Advanced Changed Template
By the way, please update your signature, and:
1. Remove the license key 2. Add your X-Cart version number :) Thanks! |
Re: Modify Order Advanced Changed Template
Quote:
:oops: Thank you! |
All times are GMT -8. The time now is 09:37 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.