Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2007
    Posts
    133
    Plugin Contributions
    0

    Default Display Product Manufacturer Image

    Is there a way to make "Display Product Manufacturer Name" into "Display Product Manufacturer Name"

    Basically, in the product listing, instead of saying the name of the Manufacturer, id like it to show the Manufacturer logo instead

    Any ideas ?

  2. #2
    Join Date
    Apr 2006
    Posts
    266
    Plugin Contributions
    0

    Default Re: Display Product Manufacturer Image

    In includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php, change this (around line 122):

    PHP Code:
      <?php echo (($flag_show_product_info_manufacturer == and !empty($manufacturers_name)) ? '<li>' TEXT_PRODUCT_MANUFACTURER $manufacturers_name '</li>' '') . "\n"?>
    to this:

    PHP Code:
      <?php echo (($flag_show_product_info_manufacturer == and !empty($manufacturers_name)) ? '<li>' TEXT_PRODUCT_MANUFACTURER zen_image(DIR_WS_IMAGES zen_get_products_manufacturers_image((int)$_GET['products_id']), $manufacturers_name) . '</li>' '') . "\n"?>
    BrandTim

  3. #3
    Join Date
    Jul 2007
    Posts
    133
    Plugin Contributions
    0

    Default Re: Display Product Manufacturer Image

    thanks

    do you knwo how do I change the logo size on the product listing ?

  4. #4
    Join Date
    Apr 2006
    Posts
    266
    Plugin Contributions
    0

    Default Re: Display Product Manufacturer Image

    Code:
    <?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . zen_image(DIR_WS_IMAGES . zen_get_products_manufacturers_image((int)$_GET['products_id']), $manufacturers_name, YOUR_WIDTH_HERE, YOUR_HEIGHT_HERE) . '</li>' : '') . "\n"; ?>
    BrandTim

 

 

Similar Threads

  1. display manufacturer image in product listing?
    By familynow in forum Templates, Stylesheets, Page Layout
    Replies: 51
    Last Post: 2 Jan 2016, 11:49 PM
  2. Display manufacturer image on top of product index listing page
    By Thannaree in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 4 Oct 2012, 12:49 PM
  3. Add Manufacturer image to Manufacturer product page
    By vito in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 23 Jul 2010, 05:05 PM
  4. Manufacturer Image in Product Display
    By Fusion5 in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 27 Dec 2009, 01:43 AM
  5. Display Product Manufacturer Image
    By Svanis in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 4 Jun 2006, 04:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR