Last Updated: May 03, 2017
·
1.676K
· dja4mower

Magento code snippets to retrieve URL path in STATIC BLOCKS

Get Magento Store Base URL


Use the below code to add your magento store url to a CMS page or Static Block - replace your store with your store ID and mypage.html with the page you re linking to.

{{base url='yourstore/mypage.html'}}