1

我正在尝试在订单确认电子邮件中添加订单审核链接:

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

但是当客户收到电子邮件时,它只是链接到http://mysite/sales/order/view/

4

2 回答 2

1

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.

于 2016-02-03T07:32:22.860 回答
0

移动你的报价。

<a href="{{store url="sales/order/view/order_id/"}}{{var order.id}}" style="color:#1E7EC8;">
于 2013-12-10T22:00:09.400 回答