Templates Magento:使用变量以CMS语法构建存储URL

Templates Magento:使用变量以CMS语法构建存储URL,templates,magento,Templates,Magento,我正在构建一个电子邮件模板。我想建立一个如下的URL: http://store.com/path/to/page?shipmentid=123 {{store url='path/to/page' _query_shipmentid=shipment.id}} 此代码生成正确的URL: {{store url='path/to/page' _query_shipmentid=123}} 但是123部分应该是动态的。我需要它从这个变量中提取: {{var shipment.id}} 这可

我正在构建一个电子邮件模板。我想建立一个如下的URL:

http://store.com/path/to/page?shipmentid=123
{{store url='path/to/page' _query_shipmentid=shipment.id}}
此代码生成正确的URL:

{{store url='path/to/page' _query_shipmentid=123}}
但是
123
部分应该是动态的。我需要它从这个变量中提取:

{{var shipment.id}}
这可能吗?我在找这样的东西:

http://store.com/path/to/page?shipmentid=123
{{store url='path/to/page' _query_shipmentid=shipment.id}}

使用
$
前缀让Magento知道它是可变的。此代码应适用于:

{{store url='path/to/page' _query_shipmentid=$shipment.getId()}}

使用
$
前缀让Magento知道它是可变的。此代码应适用于:

{{store url='path/to/page' _query_shipmentid=$shipment.getId()}}