ajensen27 Posted March 27, 2014 Share Posted March 27, 2014 (edited) 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 March 27, 2014 by ajensen27 (see edit history) Link to comment Share on other sites More sharing options...
inweb Posted March 27, 2014 Share Posted March 27, 2014 (edited) 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 March 27, 2014 by inweb (see edit history) Link to comment Share on other sites More sharing options...
ajensen27 Posted March 27, 2014 Author Share Posted March 27, 2014 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. Link to comment Share on other sites More sharing options...
inweb Posted March 27, 2014 Share Posted March 27, 2014 Check themes/<theme>/order-detail.tpl file. Link to comment Share on other sites More sharing options...
ajensen27 Posted March 27, 2014 Author Share Posted March 27, 2014 That file did the trick! Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now