Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / manufacturer sidebox

manufacturer sidebox

Locked

Views: 3,837

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
20 Oct 2006, 11:10 PM
#1
etoile03 avatar

etoile03

Zen Follower

Join Date:
Jun 2006
Posts:
123
Plugin Contributions:
0

manufacturer sidebox

Is there a way to get the manufacturer sidebox to show up when that manufacturers' products are listed?

24 Oct 2006, 2:50 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,821
Plugin Contributions:
16

Re: manufacturer sidebox

The Manufacturer's name will appear with the product if it is turned on in Admin -> Configuration -> Product Listing. It should be on by default.

Having the SideBox for Manufacturers only show up when the product listing is displayed would take some coding to the tpl files.

Hope I understood your question.

24 Oct 2006, 10:12 PM
#3
etoile03 avatar

etoile03

Zen Follower

Join Date:
Jun 2006
Posts:
123
Plugin Contributions:
0

Re: manufacturer sidebox

I think I might have been unclear. I was also wondering if there was a way to list the manufacturer sidebox when all the products from that specific manufacturer are listed. Seems like it would make sense that it would show up here, as well.

25 Oct 2006, 1:05 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: manufacturer sidebox

The current sidebox displays when products_id is set ...

You could further customize the sidebox to also display when manufacturers_id is set ... be sure to use the templates and overrides for this ...

25 Oct 2006, 2:19 PM
#5
nebbuchadnezzar avatar

nebbuchadnezzar

New Zenner

Join Date:
Oct 2006
Posts:
9
Plugin Contributions:
0

Re: manufacturer sidebox

I'd like to jump in here and just add that I'm having problems being able to show the Manufactures on the sidebox at all. I've just setup zencart and have logged into admin and added several manufactures. In addition, I've gone into Column Boxes under admin and made sure the manufactures is turned on. The problem is that on the site I can't get it to show up. I've set it both for the right side and/or the left and it wont come up for either. Can anyone assist?

25 Oct 2006, 7:24 PM
#6
etoile03 avatar

etoile03

Zen Follower

Join Date:
Jun 2006
Posts:
123
Plugin Contributions:
0

Re: manufacturer sidebox

Linda,

I'm looking in the sideboxes/manufacturer_info.php. I'm not sure how to set the manufacturers_id..

25 Oct 2006, 7:29 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: manufacturer sidebox

If you select a manufactuer from the manufactuer sidebox ... you will see that there is a manufacturers_id in the URL ...

Same as if you pick a Category with multiple manufactuers if you pick one, then you see both a cPath and a filter_id in the URL ...

This identifies when there is a known manufacturer selected on the display ...

You could use these to further customize the manufacturers sidebox so that it also displays based on those variables ...

25 Oct 2006, 11:54 PM
#8
etoile03 avatar

etoile03

Zen Follower

Join Date:
Jun 2006
Posts:
123
Plugin Contributions:
0

Re: manufacturer sidebox

ok..i'm understanding the logic but i'm looking at the code and have no idea..i see there's the function that checks if the product id is set - if(isset)$Get['products_id']...which then executes a query to find the specific manufacturer info

would i have to define the actual $Get['manufacturers_id'] function and then have it execute the same query? ok..i might not be making any sense at all.

26 Oct 2006, 3:44 AM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: manufacturer sidebox

This means IF I know without looking it up the products_id that is being displayed ... allow the code in the IF to run which allows the sidebox to show ...

  if (isset($_GET['products_id'])) {

You want to add additional conditions to that ...

But, in doing so, you need to alter what the select is doing to grab the manufactuer information ...

Currently, it is checking based on products table manufactuers_id ...

You need a different select that just uses the given manufactuers_id

In this case ... there are two more possibilities, as I defined earlier ...

If there is a manufactuers_id or if there is a cPath and a filter_id ...

Under these two conditions ... you select the same information but remove the products table and lookup from the select statement and use either the manufacturers_id or filter_id to find the right manufactuer ...

9 Nov 2006, 6:46 AM
#10
kingsky avatar

kingsky

New Zenner

Join Date:
Apr 2005
Posts:
12
Plugin Contributions:
0

Re: manufacturer sidebox

I also need some help with this. I looked through the forum and read this post several times but I'm in over my head a bit. Not sure what code to change.

Thanks

19 Nov 2006, 8:12 PM
#11
kingsky avatar

kingsky

New Zenner

Join Date:
Apr 2005
Posts:
12
Plugin Contributions:
0

Re: manufacturer sidebox

Any ideas are appreciated, thanks!

22 Nov 2006, 4:39 AM
#12
kingsky avatar

kingsky

New Zenner

Join Date:
Apr 2005
Posts:
12
Plugin Contributions:
0

Re: manufacturer sidebox

Hi,

I've played with this a bit more but I just can't figure it out.

Anybody out there for hire, or anyone you can recommend Ajeh, who might be able to help me with this?

I don't expect a free answer if its 'this' hard to do.

Thanks,
-Kevin

22 Nov 2006, 6:23 AM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: manufacturer sidebox

See PM ... :cool: