Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    91
    Plugin Contributions
    0

    Default Show manufacturer image within product_info_display

    Has anyone already inserted the (uploaded) manufacturer image next to manufacturer name at product_info_display?
    My Zen-Cart Vespa Shop.
    GDPR compliant Webhosting in Germany.

  2. #2
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    91
    Plugin Contributions
    0

    Default Re: Show manufacturer image within 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>' ; ?>
    Name:  2024-03-09-101625_1920x1080_scrot.jpg
Views: 35
Size:  33.9 KB
    My Zen-Cart Vespa Shop.
    GDPR compliant Webhosting in Germany.

  3. #3
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    91
    Plugin Contributions
    0

    Default Re: Show manufacturer image within product_info_display

    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>'; ?>
    My Zen-Cart Vespa Shop.
    GDPR compliant Webhosting in Germany.

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Show manufacturer image within product_info_display

    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 Modifications
    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.

  5. #5
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    91
    Plugin Contributions
    0

    Default Re: Show manufacturer image within product_info_display

    Thank you very much!
    My Zen-Cart Vespa Shop.
    GDPR compliant Webhosting in Germany.

 

 

Similar Threads

  1. v151 Including model number & manufacturer within Tabbed Products product description
    By welshop.com in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 23 Jul 2013, 12:23 PM
  2. 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
  3. Removing Manufacturer Image without losing manufacturer
    By Jamie Bower in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 30 Jan 2009, 10:42 PM
  4. How to show manufacturer image and name with link?
    By YairOz in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 28 Aug 2007, 09:22 PM
  5. How to get Manufacturer image to show?
    By digitaldoughnuts in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 26 May 2006, 02:02 AM

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