Jump to content

Disabling returns on front end


Recommended Posts

Anyone know which pieces of code to remove on the front-end to disable all the functionality for customers to return orders?

 

We don't allow most returns but I want to keep it enabled on the backend in case of cancelled orders or the rare instances where we do accept a return. This allows me to replenish the stock without having to go in to the product to increase the amount.

 

Vs 1.5.2

 

Thanks!

Edited by ajensen27 (see edit history)
Link to comment
Share on other sites

PS backoffice - Orders - Merchandise Returns - Enable returns (applies to 1.5.6.2).

 

Update: didn't read carefully.

 

1) remove a link in themes/<theme>/my-account.tpl

2) Add the following to your .htaccess file:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{QUERY_STRING} ^(.*)controller=OrderReturn(.*)$
RewriteRule ^(.*)$ http://www.yourdomain.com [R=301,L]
Edited by inweb (see edit history)
Link to comment
Share on other sites

Thanks for the reply! I was able to remove the "My merchandise returns" link from both the my account section and the my account block. I also added that code to the .htaccess but I'm still seeing the below on the order history page.

 

2elb0ox.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...