Seems like it should be simple, but cant find a solution anywhere. I need to output the Store Contact Telephone number, which is in Store Informtion in the admin.
I need to output it in template files and CMS pages, what would the code be for each?
Thanks 🙂
That’s a Core configuration, so it’s saved in
core_config_datatable, and the phone information is the field:So, all you need is to read the configuration data as
For CMS pages insert the following variable:
You can find more info on this here, and you can always do the reverse programmatically