- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2021
11:17 AM
05-06-2021
11:17 AM
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.
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2021
10:44 PM
05-06-2021
10:44 PM
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!