Magento Email Template If Statements

Magento Email Template If Statements

I was able to more or less accomplish this right in the template using {{depend}} template tags.

{{depend somevar}}
    Print this if somevar evaluates to true
{{/depend}}

Pin It on Pinterest

Share This