Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2009
    Posts
    10
    Plugin Contributions
    0

    Default Product Image and Attributes Not Showing

    Good afternoon,
    I am having problems with my website: www.bowgraceous.com/zencart

    The product image shows on the product list page, but when you select a product the next page does not show the image or list out the attributes. I am not sure if I did something wrong with the admin site or with my CSS. When I switch over to the Classic template, both the picture and attributes appear.

    On another note, how do I remove the option of previewing a larger image? This option shows up when I switch over to the Classic template.

    I appreciate any help on this. I have spent a lot of time searching for the problem but cannot seem to find it! Very frustrating.

    Thanks again

  2. #2
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Product Image and Attributes Not Showing

    If the problem disappears when you switch back to the Classic template, then the problem is almost certainly in one of your custom template files.
    Switch back to your custom template - then remove/rename each of these files (if they exist) one by one, checking to see if the problem is still there after each removal:
    includes/templates/your_template/templates/tpl_product_info_display_default.php
    includes/templates/your_template/templates/tpl_modules_main_product_image.php
    includes/templates/your_template/templates/tpl_modules_attributes.php
    includes/modules/your_template/main_product_image.php
    includes/modules/your_template/attributes.php

    If the problem disappears while you do this, you know the error is in the file you just deleted/renamed on the server
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  3. #3
    Join Date
    Jun 2009
    Posts
    10
    Plugin Contributions
    0

    Default Re: Product Image and Attributes Not Showing

    Thank you bunyip. I checked and do not have any of these files for my template.
    Should I open these from the classic template, save and make changes into my custom template?
    I have switched back to the custom template online so you can see what I am talking about.

  4. #4
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Product Image and Attributes Not Showing

    Your problem is in the stylesheet:
    Code:
    .back {
    	display: none;
    	float: left;
    	}
    delete the line
    display: none
    and everything should work just fine....
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  5. #5
    Join Date
    Jun 2009
    Posts
    10
    Plugin Contributions
    0

    Default Re: Product Image and Attributes Not Showing

    Bless your heart!! That worked! Thanks so much for your help with this!

    Not to press my luck, but do you know how to take away the option for the larger image?

    You rock!
    Thanks again

  6. #6
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Product Image and Attributes Not Showing

    Copy includes/templates/template_default/templates/tpl_modules_main_product_image.php into your includes/templates/your_template/templates folder.

    then edit that override copy:
    replace this entire section of code:
    PHP Code:
    <div id="productMainImage" class="centeredContent back">
    <script language="javascript" type="text/javascript"><!--
    document.write('<?php echo '<a href="javascript:popupWindow(\\\'' zen_href_link(FILENAME_POPUP_IMAGE'pID=' $_GET['products_id']) . '\\\')">' zen_image($products_image_mediumaddslashes($products_name), MEDIUM_IMAGE_WIDTHMEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' TEXT_CLICK_TO_ENLARGE '</span></a>'?>');
    //--></script>
    <noscript>
    <?php
      
    echo '<a href="' zen_href_link(FILENAME_POPUP_IMAGE'pID=' $_GET['products_id']) . '" target="_blank">' zen_image($products_image_medium$products_nameMEDIUM_IMAGE_WIDTHMEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' TEXT_CLICK_TO_ENLARGE '</span></a>';
    ?>
    </noscript>
    </div>
    with this:
    PHP Code:
    <div id="productMainImage" class="centeredContent back">
    <?php
      
    echo zen_image($products_image_medium$products_nameMEDIUM_IMAGE_WIDTHMEDIUM_IMAGE_HEIGHT);
    ?>
    </div>
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  7. #7
    Join Date
    Jun 2009
    Posts
    10
    Plugin Contributions
    0

    Default Re: Product Image and Attributes Not Showing

    Bunyip, I tried that code, but it still shows up. Please take a look and see if I entered it wrong, but I simply copied and pasted your code.
    Thank you!

  8. #8
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Product Image and Attributes Not Showing

    hmmm... the page I see no longer has any trace of the larger image link or the javascript for the popup larger image window, so the new code seems to me to be functioning perfectly. Perhaps you need to clear your cache, close your browser and look again.
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  9. #9
    Join Date
    Jun 2009
    Posts
    10
    Plugin Contributions
    0

    Default Re: Product Image and Attributes Not Showing

    Here is a quick way to make sure no additional images appear: (I found it in another thread)

    turn off all extra-image functionality via Admin->Catalog->Product Types->Product General->Edit Layout->Show Additional Images = 0

 

 

Similar Threads

  1. Replies: 2
    Last Post: 28 Jun 2014, 05:16 AM
  2. v138a Thumbnail image mouse over and show up just product attributes detail, not images.
    By ahhs9162 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Sep 2012, 09:03 PM
  3. Product Description and Image not showing
    By ginar in forum General Questions
    Replies: 10
    Last Post: 11 Jul 2012, 03:10 AM
  4. v150 Product Attributes Not Showing Up
    By woodvilleusa in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 May 2012, 12:19 PM
  5. Shipping, Billing and Attributes not showing UP
    By Digitalciggz2009 in forum General Questions
    Replies: 2
    Last Post: 2 Dec 2010, 12:17 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