Forums / Templates, Stylesheets, Page Layout / display manufacturer image in product listing?

display manufacturer image in product listing?

Views: 7,276

Results 41 to 48 of 48
2 Jan 2016, 8:50 PM
#41
ajeh avatar

ajeh

Oba-san

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

display manufacturer image in product listing?

Could you post that URL without your domain name on it as I have no idea what you are calling the manufacturer_info page as there isn't one in Zen Cart ... :lookaroun

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Jan 2016, 8:54 PM
#42
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: display manufacturer image in product listing?

Sure. Its the url when you click on "Other products" from manufacturer side box on product page or from manufacturers sidebox on any page.

index.php?main_page=index&manufacturers_id=xx

2 Jan 2016, 9:04 PM
#43
ajeh avatar

ajeh

Oba-san

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

Re: display manufacturer image in product listing?

What is the name of the table and field for the manufacturer_description that you want to display?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Jan 2016, 9:10 PM
#44
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: display manufacturer image in product listing?

Table is zen_manufacturers_info

Field/Column is manufacturers_about

2 Jan 2016, 9:43 PM
#45
ajeh avatar

ajeh

Oba-san

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

Re: display manufacturer image in product listing?

If you run this function:

$manufacturer_about = zen_get_manufacturers_about((int)$_GET['manufacturers_id']);
$mfg_about = '';
if ($manufacturer_about->RecordCount()) {
  $mfg_about = $manufacturer_about->fields['manufacturers_about'];
}
echo $mfg_about;

Does that give you what you to show?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Jan 2016, 9:56 PM
#46
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: display manufacturer image in product listing?

I can try this but in which file and line number as I don't see separate file for manufacturer_info instead I see some code related to it in tpl_index_product_list.php.

2 Jan 2016, 10:00 PM
#47
ajeh avatar

ajeh

Oba-san

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

Re: display manufacturer image in product listing?

If I get time I will try to fool with this add on to figure it out but I have to go right now ... :(

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Jan 2016, 10:49 PM
#48
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: display manufacturer image in product listing?

Thank you for your help. I got it.
I edit tpl_index_product_list.php and added manufacturer filter and call for manufacturer_about from database and it seems working now.