Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2006
    Posts
    6
    Plugin Contributions
    0

    Default Price Not Displaying

    I just noticed that while prices are displayed on the product list pages, the prices aren't showing up on the individual product info pages.

    Also I'm getting a bit too much space between the description and the 'Add to Cart' button.

    www.thezombified.com

  2. #2
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Price Not Displaying

    Quote Originally Posted by thezombified View Post
    I just noticed that while prices are displayed on the product list pages, the prices aren't showing up on the individual product info pages.

    Also I'm getting a bit too much space between the description and the 'Add to Cart' button.

    www.thezombified.com
    Find the file tpl_product_info_display.php it is in:

    includes - templates - YOURTEMPLATE - templates -

    Look for a section that reads:

    Code:
    <!--bof Product Price block -->
    <h2 id="productPrices" class="productGeneral">
    <?php
    // base price
      if ($show_onetime_charges_description == 'true') {
        $one_time = '<span >' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '</span><br />';
      } else {
        $one_time = '';
      }
      echo $one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE : '') . zen_get_products_display_price((int)$_GET['products_id']);
    ?></h2>
    <!--eof Product Price block -->
    This should be between the product name block and the free ship icon block. I don't think it is in your version of the file. The source code of your page reads:

    <!--bof Product Name-->
    <h1 id="productName" class="productGeneral">Hallowhaus - Issue #1</h1>
    <!--eof Product Name-->


    <!--bof free ship icon -->

    <!--eof free ship icon -->


    You can see there is not much between product name and free ship! If it isn't then you need to reinstate it. First option would be to paste the entire code block above to wherever you want it to appear on the page.

  3. #3
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Price Not Displaying

    In the same file there is something amiss with the product description.

    Your source code reads:

    <!--bof Product description -->
    <div id="productDescription" class="productGeneral biggerText"><i>Hallowhaus</i> is the tale of a newly undead girl, risen from the grave one Halloween night. She soon finds her way to the castle Hallowhaus, where she realizes she's not <i>quite</i> as alone as she'd thought.<p>

    Issue #1 contains 18 black and white pages of spooky goodness. Preview several pages from this issue in the <i>Hallowhaus</i> section of The Zombified's image <a href="http://www.thezombified.com/fig/">gallery</a>.</div><p>

    <!--eof Product description -->
    There are some extra <p> tags in there. This is generated in the same file. You are looking for the product description block. It's default version looks like:
    <!--bof Product description -->
    <?php if ($products_description != '') { ?>
    <div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?></div>
    <?php } ?>
    <!--eof Product description -->
    <br class="clearBoth" />
    Personally, I think you need to sort out the page source before adjusting the spacing otherwise the display among different browsers is alway going to be unpredictable.

    The first of the extra <p> tags seems to come from the text that you have entered in the product description. The second one however I believe must come from the php file above.

  4. #4
    Join Date
    Mar 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: Price Not Displaying

    Thanks! :)

 

 

Similar Threads

  1. Price not displaying for products
    By kados in forum General Questions
    Replies: 9
    Last Post: 31 Aug 2011, 12:15 AM
  2. Attributes Lowest Price Not Displaying
    By turbo2001rt in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 15 Jan 2011, 10:01 PM
  3. Price/Add to cart not displaying
    By designtheweb in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 29 Aug 2009, 07:24 AM
  4. Price in Cart not displaying
    By Aaron131 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 11 May 2009, 03:53 PM
  5. Price not displaying
    By defchino in forum General Questions
    Replies: 4
    Last Post: 9 Jul 2008, 09:21 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