Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add link to CMS page from admin panel magento

Tags:

magento

How to add link to CMS from product description part with admin panel.

like image 657
Michelle Avatar asked Jul 09 '13 06:07

Michelle


2 Answers

You can add relative a link in the product description like this:

<a href="{{store url="page_identifier_here"}}#something">Anchor text here</a>

But in order for this to work you need to allow store (media and skin) directives in the description. This can be enabled from System->Configuration->Catalog->Frontend->Allow Dynamic Media URLs in Products and Categories. Set the field to yes and clear the cache.

like image 174
Marius Avatar answered Oct 02 '22 00:10

Marius


Place the anchor tag with href as below:

href="{{store url='about-magento-demo-store'}}"

Replace "about-magento-demo-store" with cms page code.

like image 31
Afroz Alam Avatar answered Oct 02 '22 01:10

Afroz Alam