templates - Magento: Building a store URL in CMS-syntax, using a variable -
i building e-mail template. want build url this:
http://store.com/path/to/page?shipmentid=123 this code builds correct url:
{{store url='path/to/page' _query_shipmentid=123}} but 123 part should dynamic. need pull variable:
{{var shipment.id}} is possible? i'm looking this:
{{store url='path/to/page' _query_shipmentid=shipment.id}}
use $ prefix let magento know variable. code should work:
{{store url='path/to/page' _query_shipmentid=$shipment.getid()}}
Comments
Post a Comment