How can I get secure store url with store code in CMS page or block?
e.g. https://www.mydomain.com/storecode/ should be generated..
How can I get secure store url with store code in CMS page or block?
e.g. https://www.mydomain.com/storecode/ should be generated..
Try this:
<a href="{{store direct_url="" _secure=1}}">Some text</a>
if that does not work try
<a href="{{store direct_url="" _force_secure=1}}">Some text</a>
For the unsecured base URL:
{{config path='web/unsecure/base_url'}}
Or for the secured base URL:
{{config path='web/secure/base_url'}}