Is it possible to output the store name using double curly brace syntax?

For example, I know I can output the contact page's URL using:

<a href="{{store url="contact"}}">Contact Luma</a>

Is there a way I can do something like this:

<p>Hi, welcome to {{store name}}! We hope you like it here.</p>

2 Answers 2


We can get store name like this:

In Phtml:

$storeName = Mage::app()->getStore()->getName();

In Cms Page:

{{config path="general/store_information/name"}}

Don't forget to configure your store name from below Configuration path:

admin->system->configuration, general->store information select the store in top left corner and set the name of your store that you want to show.

Hope this helps.

  • Thanks so much for the explanation. I hadn't set the store name, that's why I was getting a blank. I had to go to Dashboard, Stores, Settings, Configuration, General, Store Information, Store Name, enter the store's name, Save Config.
    – GTS Joe
    Commented Oct 26, 2018 at 15:08

Did you try this?

{{config path="general/store_information/name"}}
  • Yes, I tried that and it didn't work. I'm trying to add the text in a CMS page (not a PHP template).
    – GTS Joe
    Commented Oct 25, 2018 at 23:40
  • your other changes are applying to CMS page ? because @Rafael answer should work.
    – Pawan
    Commented Oct 26, 2018 at 2:02

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.