I am trying to get store URL or base URL for a specific store in cms block.

I have tried {{store _store="1"}}

Also, {{config path="web/secure/base_url"}}

I wanted to know if this is going to work or is there any solution for this


You Can try this

<a href="{{store url=""}}">Link to Base URL</a>

or This may be helpful

<a href="{{store direct_url=""}}">Link to Base URL</a>
|improve this answer|||||
  • I have tried both the solution but i am not able to get store1 url in store2 – Parthavi Mar 26 '19 at 9:44

You can use base url followed by store code {{base url=''}}storecode


{{base url='storecode'}}
|improve this answer|||||

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.