Monday 1 August 2011

Magento linking to a CMS created page in the CMS

If you're looking to link to a CMS page using Magento's page editor, in the CMS, use this bit of code in the a href swapping out the "about-us" for the page identifier:

{{store direct_url="about-us"}}

example:
<a href="{{store direct_url="about-us"}}">About Us</a>

If you are linking to a Category, add .html to the end of the identifier.

No comments:

Post a Comment