Question

I want something like this in a CMS block:

<a href="mailto:{{url:store1-general-email}}">Send an email</a>

...which should result with a proper insertion of the General Email account for store1

Was it helpful?

Solution

{{config path="trans_email/ident_support/email"}}

<a href="mailto:{{config path="trans_email/ident_support/email"}}">{{config path="trans_email/ident_support/email"}}</a>

I figured it out, thanks to Manish Prakash for his blog post, Advanced Transactional Email Templates

One more beautiful thing that I discovered on this search is an amazing plugin that allows you to very easily create complex custom directives, the Aoe_ExtendedFilter maintained by Lee Saferite. Very nice indeed.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top