Add links Magento

Creating a link in Magento is not that obvious if you never did before.

Today we're going to see how to add them to a Static Block or a Page (under your CMS panel).


If you want to add a link to the page About Us in your footer. How you do that?

If you try this code it will only work for the default lenguage. We need Magento to build a link with our lenguage tag.

About us

What we need is something like

So we will use Magento shortcodes. You will need to write the page identifier after the direct_url:

About us

Using the structure above it will build links dinamically with everything it needs in the url.

About Ricard Torres

Senior Front-end Software Engineer from Barcelona, Haidong Gumdo Instructor (korean martial art of the sword), street photographer, travel lover, TV addict, Boston Red Sox fan, and privacy advocate.

@ricard_dev @ricard_dev

📝 Blog 🎙 Podcast

Leave a Reply

Add <code> Some Code </code> by using this tags.