If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / display manufacturer image on product info page

display manufacturer image on product info page

Started by delia on 20 Jul 2024, 9:37 PM · Views: 1,088

Results 1 to 3 of 3
20 Jul 2024, 9:37 PM
#1
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #1 by delia

Everything I've tried on the product info page results in a no_image pic so obviously I'm missing something. I first tried $manufacturers_id and then tried this:

<?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . zen_image(DIR_WS_IMAGES. $manufacturers_image, $manufacturers_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</li>' : '') . "\n"

Since functions_products.php has this, zen_get_products_manufacturers_image($products_id), I also tried something like that before calling for the image but I suspect my coding skills are failing if this actually can be utilized here. How can I use that function to call the image in the product details?

I also want to make the manufacturer name a link to that brand page. Do I need to add a query to pull that info out on the products page or is there something already available I can use?

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

21 Jul 2024, 12:39 PM
#3
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #3 by delia

YAY! So much for my search abilities - I only turned up a really old post. Thanks so much!

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo