Has anyone already inserted the (uploaded) manufacturer image next to manufacturer name at product_info_display?
Has anyone already inserted the (uploaded) manufacturer image next to manufacturer name at product_info_display?
Here my code so far. It's picking up the wrong image. Anyone an idea how to adjust this?
Code:<?php echo '<div class="manufacturer-product-info-display">' . zen_image(DIR_WS_IMAGES, $manufacturers_image) . '</div>' ; ?>
I have tried three possibilities but none works.
Code:<?php echo '<div class="">' . zen_image(DIR_WS_IMAGES . $manufacturer_image) . '</div>'; ?> <?php echo '<div class="">' . zen_image(DIR_WS_IMAGES . $manufacturer_image->fields['manufacturers_image']) . '</div>'; ?> <?php echo '<div class="">' . zen_image(DIR_WS_IMAGES . $manufacturer_info_sidebox->fields['manufacturers_image']) . '</div>'; ?>
The variable $manufacturers_image isn't set. You need to set it.
Code:$manufacturers_image = zen_get_products_manufacturers_image($_GET['products_id']); echo '<div class="manufacturer-product-info-display">' . zen_image(DIR_WS_IMAGES . $manufacturers_image, $manufacturers_name, SMALL_IMAGE_HEIGHT, SMALL_IMAGE_WIDTH) . '</div>' ;
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Thank you very much!
Bookmarks