| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Insert Order Details In Email | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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!
__________________
Respectfully, Jeremy X-Cart 5.3 running on: * Web server: Nginx with PHP-FPM via FastCGI (Opcache enabled) * Database: Percona Server * OS: CentOS |
|||||||
#2
|
|||||||||
|
|||||||||
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?
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#3
|
|||||||||
|
|||||||||
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.
__________________
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
|
|||||||
|
|||||||
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?
__________________
Respectfully, Jeremy X-Cart 5.3 running on: * Web server: Nginx with PHP-FPM via FastCGI (Opcache enabled) * Database: Percona Server * OS: CentOS |
|||||||
#5
|
|||||||||
|
|||||||||
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.
__________________
Best regards, Igor Pudovkin X-Cart hosting team |
|||||||||
#6
|
|||||||
|
|||||||
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.
__________________
Respectfully, Jeremy X-Cart 5.3 running on: * Web server: Nginx with PHP-FPM via FastCGI (Opcache enabled) * Database: Percona Server * OS: CentOS |
|||||||
|
|||
X-Cart forums © 2001-2020
|