Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2010
    Posts
    77
    Plugin Contributions
    0

    Default IE - Double Price Box?

    Hi, I've created my template and all is looking pretty good so far. The only issue I seem to be experiencing is with IE on the product page, there appears to be TWO price boxes, I cannot understand for the life of me what the cause is.

    Really appreciate some help, I'm sure it's probably something small.

    http://www.chichairandbeauty.co.uk/b...&products_id=3

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: IE - Double Price Box?

    This is what's causing the problem, I think:

    <div class="prodPrice">
    <div class="prodPriceContainer">
    <div style="float: left; font-size: 16px; font-weight: bold; margin-top: 6px;">Online Price: </div><div style="color: #FF0000; font-size: 13px; float: left;">

    <!--bof Product Price block -->
    <h2 id="productPrices" class="productGeneral">
    &pound;1,000.00<br /></h2>
    <!--eof Product Price block -->
    </div>

    You added the red part, but you have the regular Product price Block inside that div, and you never closed two of the divs.

    BTW, your product description is still messed up in IE6 and 7.

  3. #3
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: IE - Double Price Box?

    Suggest you run the code through a validator and correct some or all of the errors.

    http://validator.w3.org/

    For Validation it is probably easiest to use the Validate by Direct Input; just copy & paste the page output. You will then have to search through the various Zen Cart Template files but this one is where to start:

    includes/templates/mifsuds/common/templates/tpl_product_info_display.php

  4. #4
    Join Date
    Aug 2010
    Posts
    77
    Plugin Contributions
    0

    Default Re: IE - Double Price Box?

    Quote Originally Posted by stevesh View Post
    This is what's causing the problem, I think:

    <div class="prodPrice">
    <div class="prodPriceContainer">
    <div style="float: left; font-size: 16px; font-weight: bold; margin-top: 6px;">Online Price: </div><div style="color: #FF0000; font-size: 13px; float: left;">

    <!--bof Product Price block -->
    <h2 id="productPrices" class="productGeneral">
    &pound;1,000.00<br /></h2>
    <!--eof Product Price block -->
    </div>

    You added the red part, but you have the regular Product price Block inside that div, and you never closed two of the divs.

    BTW, your product description is still messed up in IE6 and 7.
    Hi there, many thanks for your message. So I'm presuming I need to add two extra closing DIVS to the code? I've tried using the validator, I've done a couple of the errors that says to rectify, but just messes up my layout, making it worse than when I started.

  5. #5
    Join Date
    Aug 2010
    Posts
    77
    Plugin Contributions
    0

    Default Re: IE - Double Price Box?

    So how can this be fixed? Apologies I'm still learning HTML, etc. Keen to learn but can't understand what is causing the problems and where I need to place the closing DIV.

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: IE - Double Price Box?

    Use Admin - Tools - Developers Tool Kit to search for prodprice (which doesn't exist in a stock Zencart installation) to see the file where that was added.

    I would just remove the part I highlighted and see if that fixes it.

    If you didn't add it, you might want to contact your template designer.

 

 

Similar Threads

  1. Double Price
    By maxell6230 in forum General Questions
    Replies: 1
    Last Post: 12 Sep 2011, 06:16 PM
  2. total price is double unit price once in shopping cart?
    By wittyusername in forum General Questions
    Replies: 2
    Last Post: 21 Jul 2010, 05:51 PM
  3. Call for price double images
    By DivineIguana in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 9 Jan 2009, 08:29 PM
  4. Austpost Improved - quotes double the correct price
    By Blueeyedfrog in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 30 Mar 2008, 10:29 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