Penge Posted July 22, 2016 Share Posted July 22, 2016 (edited) Hello I am running Prestashop version 1.6.1.6 How can I remove Manufacture and Supplier in the sitemap view ? Thanks. Petter Edited July 27, 2016 by Penge (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted July 22, 2016 Share Posted July 22, 2016 Go to \controllers\front\SitemapController.php and make the necessary changes. Or - if you want to do it nice - create an adapted copy of this file in the override directory. Link to comment Share on other sites More sharing options...
Penge Posted July 22, 2016 Author Share Posted July 22, 2016 Thank you musicmaster. On the top of the SitemapController.php there is a warning not to modify the file. Should I not care about this ? Could you please help me with what modifications to do to prevent Manufacture and Suppliers not to be shown ? Thanks. Petter Link to comment Share on other sites More sharing options...
musicmaster Posted July 23, 2016 Share Posted July 23, 2016 The alternative is to disable the manufacturer and supplier blocks. Link to comment Share on other sites More sharing options...
Penge Posted July 27, 2016 Author Share Posted July 27, 2016 Thank you. I deactivated the module for manufacture and supplier blocks. Thanks for your help. Link to comment Share on other sites More sharing options...
cafejoya Posted August 26, 2016 Share Posted August 26, 2016 Thank you. I deactivated the module for manufacture and supplier blocks. Thanks for your help. Would you be kind enough to share with me / us how you deactivated the module(s). Much appreciated. Link to comment Share on other sites More sharing options...
rocky Posted August 27, 2016 Share Posted August 27, 2016 To remove the manufacturers and suppliers, you can go to the "Modules & Services" tab, search for the "Manufacturers block" and "Suppliers block" and click the "Disable" option on each of them. You can also go the Preferences > General tab and change "Display suppliers and manufacturers" to "No" and then click the "Save" button. That should remove them from the sitemap. If not, you've probably got a custom theme and will need to manually edit sitemap.tpl in your theme's directory. 1 Link to comment Share on other sites More sharing options...
cafejoya Posted August 27, 2016 Share Posted August 27, 2016 Brilliant. Thank you 1 Link to comment Share on other sites More sharing options...
b3drik Posted February 28, 2019 Share Posted February 28, 2019 Hi. For information, on v1.7.x there is not suppliers and brands modules anymore. There is an option to enable/disable suppliers and brands on sitemap under Preferences > General. Maybe it will help. 1 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