Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Nov 2011
    Posts
    3
    Plugin Contributions
    0

    Default Product Reviews - page layout source?

    Hey Everyone,

    Couldn't find an answer on this one, it might be an easy answer. Thanks in advance for any help here.

    I'm trying to find the source of the product info on the product reviews page. For some reason the model name is coming up next to the image with an extra ">". I'd like to either remove the code thats calling the model name or just put a div around it so I can turn it's display to none.

    Here's a link to the page from the site I'm working on as an example.
    https://www.shoppetra.com/index.php?...products_id=47

  2. #2
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Product Reviews - page layout source?

    You might go to your Admin>Tools>Developers Tool Kit, and do a search for:

    Code:
    [H5]"
    Hope this helps.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  3. #3
    Join Date
    Dec 2006
    Location
    Hudson Valley, New York USA
    Posts
    93
    Plugin Contributions
    0

    Default Re: Product Reviews - page layout source?

    I'm having the same issue on my Product Review page. For some reason it's showing the product ID with an extra quote and greater than sign exactly like the original poster's. I've checked the tpl_reviews_default.php page but I don't see any error. It appears we are both using lightbox code for the images. I've also checked the tpl_modules_main_product.php page where the image display code is, but I don't see an error there. Any other ideas?
    Code is posted below, maybe someone can see something I'm not.
    Code:
    <?php
    /**
     * Module Template
     *
     * @package templateSystem
     * @copyright Copyright 2003-2005 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: tpl_modules_main_product_image.php 3208 2006-03-19 16:48:57Z birdbrain $
     */
    ?>
    <?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); ?> 
    <div id="productMainImage" class="centeredContent back">
    <?php // bof Zen Lightbox 2008-12-15 aclarke ?>
    <?php
    if (ZEN_LIGHTBOX_STATUS == 'true') {
      if (ZEN_LIGHTBOX_GALLERY_MODE == 'true' && ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE == 'true') {
        $rel = 'lightbox-g';
      } else {
        $rel = 'lightbox';
      }
    ?>
    <script language="javascript" type="text/javascript"><!--
    document.write('<?php echo '<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="' . $rel . '" title="' . addslashes($products_name) . '">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
    //--></script>
    <?php } else { ?>
    <?php // eof Zen Lightbox 2008-12-15 aclarke ?>
    <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_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
    //--></script>
    <?php // bof Zen Lightbox 2008-12-15 aclarke ?>
    <?php } ?>
    <?php // eof Zen Lightbox 2008-12-15 aclarke ?>
    <noscript>
    <?php
      echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>';
    ?>
    </noscript>
    </div>
    Last edited by gwynwyffar; 29 Nov 2011 at 10:59 PM. Reason: additional information

  4. #4
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Product Reviews - page layout source?

    For some reason it's showing the product ID with an extra quote and greater than sign exactly like the original poster's.
    Are you also using a Template Monster template? The problem is that because of the way they code their templates, the element may not actually be located where it would in a standard Zen template.

  5. #5
    Join Date
    Dec 2006
    Location
    Hudson Valley, New York USA
    Posts
    93
    Plugin Contributions
    0

    Default Re: Product Reviews - page layout source?

    I'm using the Avonlee Contempo theme from Picaflor Azul
    http://www.zen-cart.com/index.php?ma...oducts_id=1811

  6. #6
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Product Reviews - page layout source?

    Quote Originally Posted by gwynwyffar View Post
    I'm using the Avonlee Contempo theme from Picaflor Azul
    http://www.zen-cart.com/index.php?ma...oducts_id=1811
    Great template, and standard Zen Cart. Try looking at:

    includes/templates/avonlee_contempo/templates/tpl_product_info_display.php

 

 

Similar Threads

  1. Replies: 6
    Last Post: 31 Mar 2014, 03:06 PM
  2. Source code didn't change the page source
    By wilson_li in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Sep 2011, 02:33 PM
  3. Contrib, Product reviews added to product info page!!
    By md5577 in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 17 Jan 2010, 08:01 AM
  4. Product page - how to show a link to the reviews page and reviews count?
    By Ronson in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 26 Mar 2009, 11:45 PM
  5. Product Reviews Layout... Help Needed!
    By gee38l in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 9 Dec 2008, 12:25 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