Thu. Jul 4th, 2024

7. Magento. How to remove Orders and Returns link (starting from template 55000+)

1 min read


Untitled Document

 

Hello! This tutorial shows how to remove Orders and Returns link in Magento templates (starting from template 55000+).

Magento. How to remove Orders and Returns link (starting from template 55000+)

There is an Orders and Returns link in the footer area of your Magento store that you may want to remove:

magento_remove_orders_and_returns_link_starting_from_55000_1

Let’s learn how to do that.

  1. Using your FTP/hosting control panel File Manager navigate to /app/design/frontend/tm_themes/themeXXX/layout/ directory and locate the local.xml file:magento_remove_orders_and_returns_link_starting_from_55000_2
  2. Open the file for editing and locate the “return_link” text using CTRL+F/CMND+F key (Windows OS/Mac OS):

    magento_remove_orders_and_returns_link_starting_from_55000_3

  3. Remove/comment out the following block of code in the file:
1
2
3
4
5
6
<reference name=”footer_links”>
<action method=”setTitle”><title></title></action>
<block type=”sales/guest_links” name=”return_link”/>
<action method=”addLinkBlock”><blockName>return_link</blockName></action>
<action method=”addLink” translate=”label title” after=”return_link” module=”contacts” ifconfig=”contacts/contacts/enabled”><label>Contact Us</label><url>contacts</url><title>Contact Us</title><prepare>true</prepare></action>
</reference>

magento_remove_orders_and_returns_link_starting_from_55000_5

The commented out code will look as follows:

1
2
3
4
5
6
<!–<reference name=”footer_links”>
<action method=”setTitle”><title></title></action>
<block type=”sales/guest_links” name=”return_link”/>
<action method=”addLinkBlock”><blockName>return_link</blockName></action>
<action method=”addLink” translate=”label title” after=”return_link” module=”contacts” ifconfig=”contacts/contacts/enabled”><label>Contact Us</label><url>contacts</url><title>Contact Us</title><prepare>true</prepare></action>
</reference>–>

magento_remove_orders_and_returns_link_starting_from_55000_5

Make sure to save the file to apply changes:

magento_remove_orders_and_returns_link_starting_from_55000_6

Navigate to your store front-end and refresh the page.

You can see the Orders and Returns link is no longer displayed in the footer:

magento_remove_orders_and_returns_link_starting_from_55000_7

This is the end of the tutorial. You have learnt how to remove Orders and Returns link in your Magento template.

Feel free to check the detailed video tutorial below:

Magento. How to remove Orders and Returns link (starting from template 55000+)

 

July 2024
M T W T F S S
« Jun    
1234567
891011121314
15161718192021
22232425262728
293031