Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2007
    Posts
    136
    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
    136
    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. Large image display problem
    By Raina in forum Customization from the Admin
    Replies: 5
    Last Post: 29 Aug 2009, 03:09 AM
  2. Help making Template
    By Shiftypow in forum Basic Configuration
    Replies: 8
    Last Post: 4 Jun 2007, 07:20 AM
  3. Why no support on this site - Sidebox image size question - need help please
    By JLA in forum Templates, Stylesheets, Page Layout
    Replies: 30
    Last Post: 17 Aug 2006, 10:08 PM
  4. 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
  •