Page 1 of 1
Layout Override on Manufacturer
Posted: Thu Apr 25, 2013 8:22 pm
by MZBS
Hello,
I need to create different layout for manufacturer pages (where you can see all the products of every manufacturer).
However Catalog-Manufacturer works different o Information pages or Category pages... so I am not sure how to create the layout for every manufacturer "category" in order to add individual banner or slideshow to my manufacturer.
I have tried in the System-Design-Layouts add a new layout with the route: product/manufacturer/info&manufacturer_id=12 instead of the normal way just putting product/manufacturer/ because I can't point the layout in Catalog-Manufacturers.
I am using Opencart 1.5.4
Any idea of how can I do that?
Thank you!
Re: Layout Override on Manufacturer
Posted: Thu Apr 25, 2013 9:50 pm
by MZBS
I have copied the structure of the layout system of category to manufacturer editing model, controller and catalog in admin area and also adding the new table to the db and now looks like is everything ok except that the layout are not working because I dont understand why the structure of the URL is different to the category or information area.
I mean the route of a category for example is:
So if I create a layout with the route product/category gets correctly the ID of each in order to asign the layout I want.
But the route of a manufacturer is:
Code: Select all
product/manufacturer/info&manufacturer_id=16
So if I create a layout with "product/manufacturer" is applied to all manufacturer pages even if I have selected in the new layout part in each manufacturer that I want one particular. And I think this is because the strange link that contains "info&manufacturer_id" when in the database this is called only "manufacturer_id" so I am not really sure what I have to edit in the controller/model to tell the system that have to look at the url "info&manufacturer" instead of just manufacturer that is wrong.
Thank you!
Re: Layout Override on Manufacturer
Posted: Tue Apr 30, 2013 11:27 am
by MZBS
Nobody really dont know how can I do this? I am sure more than one have the same question.
Re: Layout Override on Manufacturer
Posted: Fri Nov 01, 2013 4:51 pm
by iamafaker
push!!!!
Re: Layout Override on Manufacturer
Posted: Fri May 29, 2015 5:43 pm
by TBFdirect
did you ever find the answer to this, i would like to know also
Re: Layout Override on Manufacturer
Posted: Fri May 06, 2016 9:03 pm
by Lucasmon77
Hey man.. I'm also looking for the same answer.. My store has like 20 different brands and I would like to have an unique layout for the most important brands.. Let me know if you could did it
Best regards
Re: Layout Override on Manufacturer
Posted: Fri May 06, 2016 11:22 pm
by IP_CAM
Re: Layout Override on Manufacturer
Posted: Sun May 08, 2016 4:54 am
by victorj
you can use layouts for that.
system design layouts, create new routeds here for desired manufacturer page
Re: Layout Override on Manufacturer
Posted: Fri Mar 22, 2024 6:17 pm
by griffintech
I am also looking for a solution about this:
How can I adda layout for product/manufacturer/info route ?
I want to add modules to products result page for a spesific manufacturer.
But layout seems does not work.