Magento 2 Add Store URL In Static Block

Hello Friends,

Static blocks are very useful. we can use to place static contents but still admin user has power to change it any time from admin.

We can place it simply by using below methods.

To Add Store Url we can use

{{store url=""}}

To add any category page url we can use

{{store url="path of category"}}

To add cms page links

{{store url="path of cms page"}}

Taking one example to know more transparent. We are using footer links block

Just call that in another cms page to better understanding.

Now Clear cache and refresh the page. Links are added and working fine for redirect to specific page as we given store url.

You can refer previous post how we can call static blocks Different Ways To Call Static Block.

That's It....!!!  Have A Nice Day...!!!

Experienced Magento Certified Developer with a demonstrated history of working in the information technology and services industry. Skilled in SQL, PHP, XAMPP, jQuery, and Microsoft Office. Strong engineering professional with a Master of Computer Applications


Post a Comment

Popular Posts

Have You Any Questins Let Us Know.

Contact Us
Ahmedabad India