Show Order Date in Email Confirmation to Customer

General ShopSite user discussion

Show Order Date in Email Confirmation to Customer

Postby laknight » Mon Feb 11, 2008 7:45 am

Hello,

I am using Shop Site Manager ver 8.3. My pages are static html pages which I have built and have incorporated the "Order Anywhere" links for the shopping cart.

My problem is that I have had customers complain that when the email confirmation is sent to them, the Date Ordered does not appear anywhere on the email. Now, obviously the email is sent out immediately upon the order submit which has a date, but they really want to see the Order Date in the body of the email.

I've tried putting in a custom date stamp javascript to the "Thank You" page which is want gets sent to the customer's email. It's works great on the screen/browser but the script does not transfer to the email confirmation to the customer.

I even tried going into the "sc_default" page and adding the [--store.Date--] tag into the page, but when I do that the shopping cart does not work anymore. So either I'm doing it wrong or that can't be done either.

Any help with this is greatly appreciated. Thanks.
laknight
laknight
 
Posts: 2
Joined: Mon Feb 11, 2008 7:23 am

Postby Jim » Mon Feb 11, 2008 11:42 am

If you enable the html email receipt (Commerce Setup > Order system >ThankYou > Customer E-mail Receipt in HTML format) then you can put the date tag
[-- store.date --]
in the email section of the custom shopping cart template you are using and it will display on the shoppers email receipt.

It will not work on the text version of the receipt since that is generated by built in code and not a custom template. So if you give registered users the option to choose Text or html and they choose Text they will not see the date in the body of the email.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby laknight » Mon Feb 11, 2008 12:43 pm

Thank you so much. It worked great now. I was trying to edit the "sc_default" template offline and it wasn't working that way.

Thanks again!
laknight
laknight
 
Posts: 2
Joined: Mon Feb 11, 2008 7:23 am

Re: Show Order Date in Email Confirmation to Customer

Postby tdavis74 » Mon Oct 31, 2011 1:14 pm

I'm trying to figure out where in the template I put the [--store.date--] code at to get it to come out in that email. I don't know what template to edit. In the edit screen for the custom template I am using I don't see where I add code to just the receipt. Please help!
Tanya
tdavis74
 
Posts: 11
Joined: Mon Oct 03, 2011 11:17 am

Re: Show Order Date in Email Confirmation to Customer

Postby Jim » Mon Oct 31, 2011 1:23 pm

The template assigned to the shopping cart (Commerce Setup > Order System > Layout Info) will contain the code for the email receipt.
You can edit that template on Merchandising > Custom Templates > Shopping Cart. If it is a ShopSite provided template you will need to make a copy of it using the Copy ShopSite Template button. You can't give it the same name as the ShopSite template so give it a different name and then after you have made your changes use the Copy template to copy it to the same name that ShopSite had for it.

The section for the email begins with
[-- DEFINE THANKYOU_EMAIL --]

and ends with.
[-- END_DEFINE THANKYOU_EMAIL --]
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 119 guests

cron