Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2011
    Location
    Durango, CO
    Posts
    21
    Plugin Contributions
    0

    help question Manufacturer Images

    Hello everyone,
    We are doing some updating on our site, trying to make it look a bit better everyday. We have uploaded all of our Manufacturer images but we can not figure out how to place them on the site. When you search and item in our search bar it brings up the item, price, and manufacturer. But it only shows the name of the manufacturer and we want it to show the picture. An example is located at http://www.everayla.com/index.php?ma...&keyword=55700 . Does anyone know how to get it to show the image where the manufacturer name is?
    Thank you so much,
    Everayla Outdoors
    www.everayla.com

  2. #2
    Join Date
    Feb 2011
    Location
    Durango, CO
    Posts
    21
    Plugin Contributions
    0

    Default Re: Manufacturer Images

    Anyone?

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Manufacturer Images

    Admin > Catalog > Manufacturers > Edit Manufacturer, and browse to the image or select it on the server.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Manufacturer Images

    Note that the product listing is not built to display the manufacturer image in any case, just the name. You would have to customize the PHP code in /includes/modules/your_template/product_listing.php and possibly another file to get this functionality.

  5. #5
    Join Date
    Feb 2011
    Location
    Durango, CO
    Posts
    21
    Plugin Contributions
    0

    Default Re: Manufacturer Images

    Thank you gjh42! I guess we will have to look into the PHP code because we do currently have the images uploaded but they are not showing because we haven't customized anything. So once again thank you very much.
    Everayla Outdoors

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Manufacturer Images

    The stock version of product_listing.php has the output building code around line 99:
    PHP Code:
            case 'PRODUCT_LIST_MANUFACTURER':
            
    $lc_align '';
            
    $lc_text '<a href="' zen_href_link(FILENAME_DEFAULT'manufacturers_id=' $listing->fields['manufacturers_id']) . '">' $listing->fields['manufacturers_name'] . '</a>';
            break; 
    You would have to get the image filename/location into something like $listing->fields['manufacturers_image'], by modifying the SQL select statement in a previous file, probably /includes/modules/pages/index/main_template_vars.php (no override available).

 

 

Similar Threads

  1. Manufacturer Images too big
    By raptor_55 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 Jun 2011, 07:29 PM
  2. Manufacturer Images
    By autoace in forum Basic Configuration
    Replies: 2
    Last Post: 7 Oct 2010, 08:55 PM
  3. How to add manufacturer images?
    By benn600 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 14 May 2008, 04:51 PM
  4. Manufacturer Images on Category page
    By chrisvwd in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Mar 2008, 11:06 PM

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