cancel
Showing results for 
Search instead for 
Did you mean: 

order and returns remove function

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

order and returns remove function

Hi Guys -

I'm pretty sure I'm able to remove the link in the footer for 'Orders and Returns', but i'd also like to remove the function completely.

If i simply remove the link, you'll still be able to reach that page if you know the url.

 

Does anyone know how to remove the page itself?

 

Thank you

Andy

3 REPLIES 3

Re: order and returns remove function

 Hello,

 

You use Magento 1.9.x or 2 version?

Problem solved? Click Accept as Solution!

Re: order and returns remove function

Hi

 

I'm using version 1.9.2.2

 

Many Thanks

Andy

Re: order and returns remove function

Hello,

 

You copy this file:

app/code/core/Mage/Sales/controllers/GuestController.php

to your local code pool

app/code/local/Mage/Sales/controllers/GuestController.php

 

comment the function:

public function formAction() {} 

 

Problem solved? Click Accept as Solution!