Sunday, October 20, 2013

How to change footer links and copyright notification in magento

How to change footer links:


how to edit footer link in Magento templates. Usually the footer links are:


About Us, Customer Service, Site Map, Search Terms, Advanced Search, Contact Us


Before you proceed please make sure your Magento cache is refreshed and disabled.


 


Static Block footer links


The footer links could be different for each template. You can find them in the Magento admin panel > CMS > Static blocks. However each Magento template has static block called Footer Links


This block contains 2 links: About Us and Customer Service.


The static block code looks as follows:


 


<ul>
<li><a href="{{store direct_url="about-magento-demo-store"}}">About Us</a></li>
<li class="last"><a href="{{store direct_url="customer-service"}}">Customer Service</a></li>
</ul>

 


To link it to the extarnal URL replace:




store direct_url="about-magento-demo-store"



with your website URL (http://your_URL_here)


To link it to the internal page replace:


store direct_url="about-magento-demo-store"

with:




store direct_url="HERE INSERT THE PAGE, CATEGORY OR PRODUCT PAGE LINK"

 




For example:





store direct_url="sample_product"

 





Magento core footer links


Other 4 links Site Map, Search Terms, Advanced Search, Contact Us are stored in XML files. Open your Magento installation folder, go to app/design/frontend/ folder.


Depending on the template version you may see folders like: blank, base and default. Open each and search for your template folder (theme NAME).When you are in the template folder open Layout folder.


 


Site Map


Open catalog.xml file. Edit:


<reference name="footer_links">
<action method="addLink" translate="label title" module="catalog" ifconfig="catalog/seo/site_map">
<label>Site Map</label><url helper="catalog/map/getCategoryUrl" />
<title>Site Map</title>
</action>
</reference>

 


Search Terms and Advanced Search


Open catalogsearch.xml file. Edit:


 


<reference name="footer_links">
<action method="addLink" translate="label title" module="catalogsearch" ifconfig="catalog/seo/search_terms">
<label>Search Terms</label><url helper="catalogsearch/getSearchTermUrl" />
<title>Search Terms</title>
</action>

<action method="addLink" translate="label title" module="catalogsearch">
<label>Advanced Search</label>
<url helper="catalogsearch/getAdvancedSearchUrl" />
<title>Advanced Search</title>
</action>
</reference>

 


Contact Us


Open contacts.xml file. Edit:




<reference name="footer_links">
<action method="addLink" translate="label title" module="contacts" ifconfig="contacts/contacts/enabled">
<label>Contact Us</label>
<url>contacts</url>
<title>Contact Us</title>
<prepare>true</prepare>
</action>
</reference>



In case your footer contains RSS link it could be found in the layout/rss.xml file




<reference name="footer_links"> <action method="addLink" translate="label title" module="contacts" ifconfig="contacts/contacts/enabled">
<label>Contact Us</label>
<url>contacts</url>
<title>Contact Us</title>
<prepare>true</prepare>
</action>
</reference>

 




Note: if your template folder (theme NAME/layout) doesn’t contain the necessary files search in the parent theme folder. For example if there are no necessary files in default/default/layout folder search in default/theme NAME /layout. The same if no files in the base/theme NAME/layout folder, search in base/default/layout folder.


 


How to edit the footer copyright notification:


1. Open the Magento admin panel

2. Select the “System” tab

3. Click the “Configuration” menu item

4. Select the “Design” menu item

5. Click the “Footer” tab. Here you can change the copyright notification


magento-footer-1


 


With that done, click the “Save Configure” button.



How to change footer links and copyright notification in magento

No comments:

Post a Comment