Post by lith07 » Thu Jan 21, 2010 4:03 am

How can I get my store to show the manufacturers on the main page, and when you click on one, it shows all the products by that manufacturer?

Thanks

New member

Posts

Joined
Thu Jan 14, 2010 2:20 pm

Post by Xsecrets » Thu Jan 21, 2010 5:28 am

It's called brands and it's there with a default install. It's a dropdown list by default, but you could modify the tpl to create a list instead.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by Qphoria » Thu Jan 21, 2010 5:45 am

It would be a change to the common.php file. It currently calls getLatestProducts and then passes the data to the common.tpl
You'd need to change the call to use manufacturers and change the common.tpl to show the correct values.

Really, the best thing would be to make the home page modular so things like this could be created like center modules

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Xsecrets » Thu Jan 21, 2010 6:20 am

doh! I thought he was talking about a sidebox. Yeah I would love to see something like the homepage mod added to the core. We get sooo many of these types of requests.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by lith07 » Thu Jan 21, 2010 6:43 am

Xsecrets wrote:doh! I thought he was talking about a sidebox. Yeah I would love to see something like the homepage mod added to the core. We get sooo many of these types of requests.
Haha yes something on the homepage. Whats this mod you're talking about?

New member

Posts

Joined
Thu Jan 14, 2010 2:20 pm

Post by Qphoria » Thu Jan 21, 2010 7:02 am

Fido-x has a Homepage module floating around here somewhere. That lets you have a more modular homepage, Thats just the start to getting this to work.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Xsecrets » Thu Jan 21, 2010 7:03 am

lith07 wrote:
Xsecrets wrote:doh! I thought he was talking about a sidebox. Yeah I would love to see something like the homepage mod added to the core. We get sooo many of these types of requests.
Haha yes something on the homepage. Whats this mod you're talking about?
It's a mod Fido-X wrote.
http://www.fido-x.net/index.php?route=p ... duct_id=69

I don't think it has a manufacturer module, but it makes it pretty easy to mod any module to show on the homepage.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by lith07 » Thu Jan 21, 2010 4:43 pm

Xsecrets wrote:
lith07 wrote:
Xsecrets wrote:doh! I thought he was talking about a sidebox. Yeah I would love to see something like the homepage mod added to the core. We get sooo many of these types of requests.
Haha yes something on the homepage. Whats this mod you're talking about?
It's a mod Fido-X wrote.
http://www.fido-x.net/index.php?route=p ... duct_id=69

I don't think it has a manufacturer module, but it makes it pretty easy to mod any module to show on the homepage.

Cool mod! How would I go about modding a module to make a 'Brands' section on the front page, which would show all the manufacturers? I'm kinda new at this ???

New member

Posts

Joined
Thu Jan 14, 2010 2:20 pm

Post by Xsecrets » Thu Jan 21, 2010 9:45 pm

look at the tpl for one of his boxes that works on the homepage, say featured. you'll see an if homepage at the top then else regular. mod the manufacture.tpl add the if homepage with the layout you want then goto the admin side and edit the tpl and compare it to one of his that suppports the homepage. what you are looking for is the select code to change it to have the homepage option.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by lith07 » Mon Jan 25, 2010 1:48 pm

Hey guys, OP here. I cant quite get this to work. Is there any other ways to do it?

New member

Posts

Joined
Thu Jan 14, 2010 2:20 pm

Post by comprido » Mon Feb 19, 2018 9:58 am

And about restrict the shopping by manufacturer? So the shop shows all the products, as per default, but the customer can just shop by manufacturer/s when selected. Once the customer add one product from a manufacturer, the shop doesn't allow to add other manufacturer products...

Pedro Martin - websitesbuilder.com.au
Checkout my free extensions: https://www.opencart.com/index.php?rout ... r=comprido


User avatar
New member

Posts

Joined
Mon Sep 10, 2012 11:46 pm
Who is online

Users browsing this forum: Amazon [Bot], darkhorse and 192 guests