we have an extension with only a system.xml giving us some config parameters per store that we can access. Now I would like to access these in an email template and use them in a depend or if statement as follows
{{depend my_custom_var}}
Or by using something like
{{depend var path/to/config}}
The problem is that Magento wont't accept
{{depend {{config path='some/value/here'}}}} text here
Please find more information here: Magento {{depend}} combined with {{config path='some/value/here'}}
Question: Now how would I add something to my new extension where I make the variable config path='some/value/here' available in a manner that I can use it in the depend statement?
many thanks