What isn't working? I see the manufacturers name and image in the products_listing ...
your_domain.com/zencart/index.php?main_page=index&cPath=20_21_23
Were you able to fix this? :unsure:
Printable View
What isn't working? I see the manufacturers name and image in the products_listing ...
your_domain.com/zencart/index.php?main_page=index&cPath=20_21_23
Were you able to fix this? :unsure:
The item listed in it's "Brand" (manufacturer) category is here:
http://spottedsheepyarnshoppe.com/ze...products_id=37
the same item, appearing after it's searched "by Fiber" is here:
http://spottedsheepyarnshoppe.com/ze...products_id=37
It's the same item, and as appears on the bottom of the screen "Manufactured by: Blue Sky Alpacas" . I was under the impression that the Blue Sky Alpacas logo would appear after that "Manufactured by... " text. This way, even when people are searching by different fibers, they will still see the brand logos on individual pages.
The code you are working with shows the manufacturer's image here:
/zencart/index.php?main_page=index&cPath=20_5_6_7
Where are you wanting the image on the listing, where you are coding it to appear? Or on the product_info page ... :unsure:
Ok, I see - I wanted the manufacturers image to appear on the product info page for every product in a certain product type, right below where the Manufacturer's name appears.
So, I should be looking at this thread... ?
http://www.zen-cart.com/showthread.p...roduct-Display
I got it!! Edited the tpl_product_info_display.php & now it's working. Thanks so much for pointing me in the right direction!
Tammy
Thanks for the update that you were able to get this working on your Product _info page ... :smile:
Hello! I want to display the manufacturer image on all products listing page without the name. It says "Manufacturer: Video" right now but want to change it to a image. Im in my template @ tp_modules_products_all_products.php file trying to alter line 68:
if (PRODUCT_ALL_LIST_MANUFACTURER != '0' and zen_get_show_product_switch($products_all->fields['products_id'], 'manufacturer')) {
$display_products_manufacturers_name = ($products_all->fields['manufacturers_name'] != '' ? TEXT_MANUFACTURER . ' ' . $products_all->fields['manufacturers_name'] . str_repeat('<br clear="all" /><br clear="all" />', substr(PRODUCT_ALL_LIST_MANUFACTURER, 3, 1)) : '');
} else {
to
if (PRODUCT_ALL_LIST_MANUFACTURER != '0' and zen_get_show_product_switch($products_all->fields['products_id'], 'manufacturer')) {
$display_products_manufacturers_image = ($products_all->fields['manufacturers_name'] != '' ? TEXT_MANUFACTURER . ' ' . $products_all->fields['manufacturers_name'] . str_repeat('<br clear="all" /><br clear="all" />', substr(PRODUCT_ALL_LIST_MANUFACTURER, 3, 1)) : '');
} else {
$display_products_manufacturers_image = '';
}
but it doesnt seem to work:( here's a screenshot!! Any help?
Attachment 11015
The manufacturers_image can be obtained on the products_all using for the images:
Code:zen_image(DIR_WS_IMAGES . zen_get_products_manufacturers_image($products_all->fields['products_id']), $products_all->fields['manufacturers_name'])
Depends on where you want the image to be ...
That is the code to get the image ... you find in your code where you want it to be ...