Post by MZBS » Thu Apr 25, 2013 8:22 pm

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!

New member

Posts

Joined
Tue Jan 17, 2012 1:36 am

Post by MZBS » Thu Apr 25, 2013 9:50 pm

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:

Code: Select all

route=product/category&path=60_63
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!

New member

Posts

Joined
Tue Jan 17, 2012 1:36 am

Post by MZBS » Tue Apr 30, 2013 11:27 am

Nobody really dont know how can I do this? I am sure more than one have the same question.

New member

Posts

Joined
Tue Jan 17, 2012 1:36 am

Post by iamafaker » Fri Nov 01, 2013 4:51 pm

push!!!!

Active Member

Posts

Joined
Wed Sep 18, 2013 3:19 pm

Post by TBFdirect » Fri May 29, 2015 5:43 pm

did you ever find the answer to this, i would like to know also

Newbie

Posts

Joined
Thu May 28, 2015 5:28 am

Post by Lucasmon77 » Fri May 06, 2016 9:03 pm

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

Newbie

Posts

Joined
Fri May 06, 2016 9:01 pm

Post by IP_CAM » Fri May 06, 2016 11:22 pm

one could create a free Custom Page, and place it's content, whereever one likes:
http://www.opencart.com/index.php?route ... tom%20page
it just takes a little coding knowledge.
http://www.opencart.com/index.php?route ... on_id=6857
http://www.opencart.com/index.php?route ... n_id=15906
http://www.opencart.com/index.php?route ... n_id=20784

or then buy one, possibly beeing able to this, with some assistance by the vendor:
http://www.opencart.com/index.php?route ... tom%20page

Ernie

I'm rarely active at the OC Forum lately. To reach me, contact: jti@jacob.ch
A Demoversion of my free OpenCart LIGHT v.1.5.6.5 Software Edition
can be seen in real Action here: http://www.jti.li/shop/
---
1'300+ FREE OC Extension-Repositories - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
---
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by victorj » Sun May 08, 2016 4:54 am

you can use layouts for that.
system design layouts, create new routeds here for desired manufacturer page

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Eigen productie en snelle levering.
https://123-deurrubbers.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland
Who is online

Users browsing this forum: No registered users and 18 guests