email tokens not working

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 years ago
In my OrderPlaced.StoreOwnerNotification template I can not get the the added tokens to work..
<p><a href="%Store.URL%">%Store.Name%</a> <br />
<br />
%Order.CustomerFullName% (%Order.CustomerEmail%) has just placed an order from your store. Below is the summary of the order. <br />
<br />
Order Number: %Order.OrderNumber%<br />
Date Ordered: %Order.CreatedOn%<br />
<br />
<br />
Shipping Address<br />
%Order.ShippingFirstName% %Order.ShippingLastName%<br />
%Order.ShippingAddress1%<br />
%Order.ShippingCity% %Order.ShippingZipPostalCode%<br />
%Order.ShippingStateProvince% %Order.ShippingCountry%<br />
<br />
Shipping Method: %Order.ShippingMethod%</p>
<p>ORDER&nbsp;FROM&nbsp;<span id="ctl00_cph1_ctrlMessageTemplateDetails_lblAllowedTokens">%Order.CreatedOn%</span></p>
<p>&nbsp;</p>
<p>Product Name,</p>
<p>%Product.Name%,</p>
<p>Discription,</p>
<p>%Product.ShortDescription% %Product.ProductURLForCustomer% %ProductVariant.FullProductName%</p>


Then comes across looking like this.

John Smith ([email protected]) has just placed an order from your store. Below is the summary of the order.

Order Number: 5021
Date Ordered: Tuesday, February 09, 2010


Shipping Address
John Smith
21 West 52nd Street
New York 10021
New York United States

Shipping Method: By Ground
ORDER FROM Tuesday, February 09, 2010

Product Name,
%Product.Name%
Discription,
%Product.ShortDescription% %Product.ProductURLForCustomer% %ProductVariant.FullProductName%
14 years ago
try using %Order.Product(s)%
14 years ago
Still not working
14 years ago
I imagine it's not as easy as just having one variable in your mail - the reason being that you have an unknown number of product variants in your order, which you would probably insert one by one into the mail programatically in the code behind at the time the mail is created
14 years ago
I added a new message for another lanague but OrderPlaced.StoreOwnerNotification  always takes English one.

do you have any idea?
7 years ago
Hi
I've got the same error in my nop 3.8 version
When I try to display on OrderPlaced.StoreOwnerNotification the follow tokens:

%Order.CustomerEmail%
%Order.CustomerFullName%
%Order.OrderNumber%
%Store.Email%
%Store.Name%
%Store.Email%
%Product.ProductURLForCustomer%    %ProductReview.ProductName%
%Product.Name%
%Product.SKU%

I can see the follow:

[email protected]     WORKING
lorenzo xxxx      WORKING
9102              WORKING
[email protected]   WORKING
www.xxxxxx.it     WORKING
[email protected]  WORKING
%Product.ProductURLForCustomer%    %ProductReview.ProductName%  DOESN'T WORK
%Product.Name%                                                  DOESN'T WORK
%Product.SKU%                                                   DOESN'T WORK

Anyone knows how to fix it??
Lorenzo
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.