Skip to content Skip to sidebar Skip to footer

Magento how can I get URL path in static blocks

Reading Time: < 1 minute

Here,simple script to get base url, store url, media url, skin url in magento.You can use this method in your static blocks in magento.

1- Base URL

 {{base url='yourstore/yourpage.phtml'}}

2- Get Store URL

  {{store url='yourpage.phtml'}}

3- Get Skin URL

  {{skin url='images/image.png'}}

4- Get Media URL

  {{media url='/image.png'}}