I see in the admin panel this code {{depend prefix}} {{/depend}}:

HTML address template

What does it mean?


The {{depend}} condition checks whether there is data for the variable to output.

For instance: If the customer hasn't entered any prefix details then there will be no data in the database. The {{depend}} condition recognizes this and makes sure that in this case the prefix variable isn't displayed in the email template.

To learn more about this click here and read Marius' answer for this question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.