Zen Cart Logo
Forums / General Questions / Getting manufacturer info on other pages?

Getting manufacturer info on other pages?

Locked

Views: 786

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
31 Dec 2007, 6:41 PM
#1
benn600 avatar

benn600

Zen Follower

Join Date:
Nov 2007
Posts:
124
Plugin Contributions:
0

Getting manufacturer info on other pages?

Hi,
I am trying to add the manufacturer logo to the manufacturer product listing page. It appears that this code:

      if (zen_not_null($manufacturer_info_sidebox->fields['manufacturers_image']))
  $content .= '<div class="centeredContent">' . zen_image(DIR_WS_IMAGES . $manufacturer_info_sidebox->fields['manufacturers_image'], $manufacturer_info_sidebox->fields['manufacturers_name']) . '</div>';

is what is used for displaying the image in the sidebox. How can I get access to $manufacturer_info_sidebox from another page? An answer to this will allow me to customize many other aspects of my site. I know some PHP but am not sure how to access this class...what do I have to do to "instantiate" it?? Or whatever I need to do? I'm trying to add this to the index product listing page.

2 Jan 2008, 4:29 PM
#2
benn600 avatar

benn600

Zen Follower

Join Date:
Nov 2007
Posts:
124
Plugin Contributions:
0

Re: Getting manufacturer info on other pages?

So how do I get access to: $manufacturer_info_sidebox->fields['manufacturers_image'] from other files? Can I get access to it in PHP some way?

2 Jan 2008, 4:32 PM
#3
benn600 avatar

benn600

Zen Follower

Join Date:
Nov 2007
Posts:
124
Plugin Contributions:
0

Re: Getting manufacturer info on other pages?

Or is there some PHP code I can use that will simply print the manufacturer info sidebox? If I could print it where I want on command then I wouldn't need this.