mitzayapa Posted July 31, 2017 Share Posted July 31, 2017 Hey guys , is there any way to generate a $manufacturer.jpg file when adding a new manufacturer or updating a manufacturer that is allready created ? For ej : i add a "corsair" manufacturer aside the default generated images : *large_default" "medium_default" and "small_default" , i need a corsair.jpg file in the same directory Any way to make that ? ps 1.6.0.8 Best regards mitzayapa Link to comment Share on other sites More sharing options...
Scully Posted July 31, 2017 Share Posted July 31, 2017 You had to override the manufacturer controller to achieve that. But why? All manufacturers get images with their ids. Why have a duplicate? Link to comment Share on other sites More sharing options...
mitzayapa Posted August 1, 2017 Author Share Posted August 1, 2017 (edited) Its for seo purposes. The default image name is irrelevant , "hp.jpg" for example with a good "alt" would sum some points. Any easy way to achive that ? Edited August 16, 2017 by mitzayapa (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted August 1, 2017 Share Posted August 1, 2017 You had to change the manufacturer admin controller as well as the manufacturer front end controller to change according to your wishes. Without having done it before I'd guess some 2-3 hours to change it when you have experience with PHP and prestashop controllers. However I don't know any way with default behaviour and without changing the relevant parts in the code. Link to comment Share on other sites More sharing options...
_Veronika_ Posted February 25, 2022 Share Posted February 25, 2022 Hello I want to do the same, in these 5 years, does exist any solution to achive it? 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