Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2006
    Location
    Derby UK
    Posts
    99
    Plugin Contributions
    0

    Default Manufacturers logo on Product Info pages - How To?

    I've seen variations of this question asked before, but can't find the solution. If its here somewhere and I've missed it I'm sorry!

    I have been trying to display the manufacturers logo on the product info page [not in the sidebox] directly below the Model: and Manufactured By: text but I'm not having any success. The only answers I've been able to find refer to adding/modifying code, but nothing I have tried so far has worked ['though I have been able to mess it up big time]!

    Can someone kindly point me in the right direction.

    Many thanks.
    Crazy



  2. #2
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Manufacturers logo on Product Info pages - How To?

    I'm no expert, but I've just done a quick experiment and this works....take the code from includes/templates/sideboxes/tpl_manufacturer_info.php and extract the bits you want... as a minimum you need:

    Code:
    <?php 
    echo zen_image(DIR_WS_IMAGES . $manufacturer_info_sidebox->fields['manufacturers_image'], $manufacturer_info_sidebox->fields['manufacturers_name']);
    ?>
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  3. #3
    Join Date
    Sep 2006
    Location
    Derby UK
    Posts
    99
    Plugin Contributions
    0

    Default Re: Manufacturers logo on Product Info pages - How To?

    Hi Ryk.

    I had already tried using the Manufacturers sidebox as a starting point, but have again tried the code you suggest above.

    All I am able to get is the "Sorry No Image Available" image. I guess the code is just calling the image from the wrong location, but that's the bit I can't fathom.

    Thanks for your help.
    Crazy



  4. #4
    Join Date
    Sep 2006
    Location
    Derby UK
    Posts
    99
    Plugin Contributions
    0

    Default Re: Manufacturers logo on Product Info pages - How To?

    Ok, I've now managed to solve this with the help of this thread, which I had found before but couldn't make it work. http://www.zen-cart.com/forum/showth...facturers+logo

    Several cups of coffee may have also helped.

    Posting a question is always a last resort, but it's surprising how many times you can solve the problem yourself after posting.

    Thanks again for your help.
    Crazy



  5. #5
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Manufacturers logo on Product Info pages - How To?

    Quote Originally Posted by Still Crazy View Post
    Hi Ryk.

    All I am able to get is the "Sorry No Image Available" image. I guess the code is just calling the image from the wrong location, but that's the bit I can't fathom.

    Thanks for your help.
    I know you've solved it, but I had the above problem when first I tried it on my test site...because there were no images in the images/manufacturer directory

    It certainly did work when tried on the live site where manufacturer details/images had been correctly added and placed.
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

 

 

Similar Threads

  1. Adding MPN to Product Pages (Manufacturers Part Number)
    By fmckinnon in forum General Questions
    Replies: 3
    Last Post: 18 Aug 2010, 04:57 AM
  2. Manufacturers logo and Info doesn't show on product page anymore
    By RobertG in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Jun 2010, 01:20 PM
  3. Replies: 7
    Last Post: 3 Aug 2007, 07:07 PM
  4. Disable right sideboxes for manufacturers product pages.
    By shackle in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Jul 2007, 03:36 AM

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