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'}}
Written by David Allsop
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Magento
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#