Answer the question
In order to leave comments, you need to log in
How to set up an email template (eg tpl.msEmail) in miniShop2 / Fenom / MODX?
Good afternoon.
I can’t figure out where the values are substituted from in the letter template?
For example, in this piece of code:
<p style="{$style.p}">
{block 'footer'}
<a href="{$site_url}" style="color: #999999;">
{'site_name' | option}
</a>
{/block}
</p>
Answer the question
In order to leave comments, you need to log in
{'site_name' | option}
This is a Fenom call to the modx "site_name" system setting. Either change it in the system settings for the specified site_name key, or simply delete {'site_name' | option} and write in the text what you need. I think you can just create a system setting of the site_name_email type, specify the desired text there and output it like this{'site_name_email' | option}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question