How can I get (current store) Base Url in CMS block/page in Magento 2? Actually, I am displaying category names in the footer by using static block. For that how can I give the Category Url links in admin static block?
12
-
Refer link may get help emagentosupport.com/2018/12/… – denish vachhani Dec 9 '18 at 12:32
37
You can add current store URL in static block.
{{store url=""}}
If you wanto add store url with category URL.
{{store url="category-url"}}
2
You can add store URL in static block:
<a href="{{store direct_url='identifier'}}">Your link</a>