0

I am trying to fetch system config value inside an html file for email template. But below code is not working

{{config path="design/footer/copyright"}}

Can someone suggest if there is another way or syntax to do this?

1
  • I had a problem that some config was not loading when I migrated to 2.3, check email_template and change the template column is_legacy to 1 then test if it loads
    – Rui Silva
    Commented Aug 31, 2020 at 15:18

1 Answer 1

0

Add {{config path="general/store_information/gst_no"}} in you email template.

Now Login to admin panel and navigate to System->Permissions->Variables

Click on Add new variable and fill the text box with general/store_information/gst_no. Set Is Allowed to yes

Hope this helps you!

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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