cancel
Showing results for 
Search instead for 
Did you mean: 

removing "orders and returns" from footer

removing "orders and returns" from footer

I'm using the Luma theme in CE 2.4. How would I remove "Orders and Returns" from the footer? The documentation doesn't seem to help.

1 REPLY 1

Re: removing "orders and returns" from footer

Hi @mainetopmi65d1 ,

 

You can remove the link from layout way using below steps:

 

1. app/design/frontend/<Package Name>/<Theme_Name>/Magento_Theme/layout/default.xml

2. add below code in the file 

<?xml version="1.0"?>
<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
            <referenceBlock name="sales-guest-form-link" remove="true"/>
    </body>
</page>

3. clear the cache and check on the frontend.

 

Hope this helps you!

Problem Solved! Click Kudos & Accept as Solution!