2013-02-26 75 views
1

我真的試圖添加鏈接在訂單確認電子郵件訂購回顧:鏈接從訂單確認電子郵件訂購

<a href="{{store url="sales/order/view/order_id/}}"{{var order.id}}" style="color:#1E7EC8;"> 

但客戶時獲得的電子郵件將其鏈接只是爲了http://mysite/sales/order/view/

回答

0

移動你的報價。

<a href="{{store url="sales/order/view/order_id/"}}{{var order.id}}" style="color:#1E7EC8;"> 
0

Hi, 
 
<a href="{{store url="sales/order/view/order_id/"}}{{var order.id}}" style="color:#1E7EC8;"> 
 

 
This is okay but it still not shows full link. It shows only sales/order/view/. 
 

 
To show **order_id/**, you have to create Custom Variable. 
 
Go to **System >> Custom Variables**. 
 
Check Image below. 
 
**http://imagizer.imageshack.com/img922/1470/tI8BGv.png** 
 

 
Now create custom variable shown in image with any name. 
 
Now revise the code and change the line. 
 

 
<a href="{{store url="sales/order/view/"}}{{customVar code=static_url}}{{var order.id}}" style="color:#1E7EC8;"> 
 

 
It's working fine for me. 
 
Thanks & Regards.

相關問題