![]() |
Insert Order Details In Email
Hello Community,
I was wondering if anyone knows the tags to insert the order (invoice id) and order email into the Order Purchase template. I have edited the template in the Admin panel to include a link but want to insert the invoice id and invoice/order email into the html. I tried {order_id} and {order_email} but that didn't work as it just printed that text. So again I have using the HTML text link editor something like: http://www.mysite.tld/shop/?target=my_custom_target&order_id={order_id}&order_email={order_email} Thank you! |
Re: Insert Order Details In Email
I'd probably approach this by building the url in PHP and then calling it in the template.
I guess both of those variables are present in the email that is already going out? How are they referenced? |
Re: Insert Order Details In Email
Hello Jeremy,
Quote:
How did you do this? I believe there is no e-mail template for purchase orders that you could edit in the back end. |
Re: Insert Order Details In Email
I edited the "Order processed" message using the editor in the admin panel. I added the text I wanted and hyperlinked the desired anchor text.
However I am not sure how to get X-Cart to insert the order id (invoice id) and order email into the link. I realize order purchased can mean purchase order but what I was referring to is when an order has been paid I wanted some custom information sent out in the order confirmation. I again have the text working fine I just am trying to insert those two pieces of information. Any thoughts? |
Re: Insert Order Details In Email
Hello.
Such anchors as 'order_id' or 'order_email' are not available in the WYSIWYG editor for email notifications. You will need to build a custom module in order to add such anchors. |
Re: Insert Order Details In Email
Thanks! That is unfortunate X-Cart doesn't support tags to insert data in email like many systems do. Oh well.
|
All times are GMT -8. The time now is 08:18 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.