Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Posts
    448
    Plugin Contributions
    0

    Default Product Info Display in FireFox missing a lot of info

    Hello,

    I can't seem to find a fix for this and I've searched the board. When you go to this link:

    http://www.usifloral.com/silk-amaryl...le-p-1595.html

    from IE and FireFox, there is a huge difference. IE everything is OK. However in FireFox, there is a lot of difference:
    1. the footer is inside the product description area
    2. missing 'Write a Review' & 'Email to Friend' buttons.
    3. Related product purchased section is missing as well.

    Can someone help?
    Thanks.

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Product Info Display in FireFox missing a lot of info

    Open your product_info_display.php file

    find the following section of code:

    Code:
    <!--WEBMASTER EDIT REMOVE MODEL NUMBER DISPLAY<li>ITEM NUMBER: 91474-PU</li>
    ---->
    and change it as indicated by the highlighted portion

    Code:
    <!--WEBMASTER EDIT REMOVE MODEL NUMBER DISPLAY<li>ITEM NUMBER: 91474-PU</li>
    -->
    There are also several other validation errors which you should correct.

  3. #3
    Join Date
    Aug 2008
    Posts
    448
    Plugin Contributions
    0

    Default Re: Product Info Display in FireFox missing a lot of info

    wow clyde, thank you very much! that worked. I didn't know that comment code has to be exact, but now I know. thanks for the quick reply.

    Can you let me know what you mean by other validation errors? Is this in the same file?

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Product Info Display in FireFox missing a lot of info

    Quote Originally Posted by ebaobao View Post
    wow clyde, thank you very much! that worked. I didn't know that comment code has to be exact, but now I know. thanks for the quick reply.
    FF, unlike IE, does what you tell it to do and not what it thinks you want it to do.

    Always develop for the most compliant browser (FF) and then tweak for IE.

    Can you let me know what you mean by other validation errors? Is this in the same file?
    These are the validation errors/warnings that show up:

    line 16 column 1 - Warning: <meta> attribute with missing trailing quote mark
    line 132 column 132 - Warning: unescaped & which should be written as &amp;
    line 149 column 150 - Warning: unescaped & which should be written as &amp;
    line 198 column 321 - Warning: '<' + '/' + letter not allowed here
    line 198 column 325 - Warning: '<' + '/' + letter not allowed here
    line 224 column 147 - Warning: <br> element not empty or not closed
    line 224 column 250 - Warning: unescaped & or unknown entity "&search_in_description"
    line 224 column 274 - Warning: unescaped & or unknown entity "&keyword"
    line 224 column 1 - Warning: missing </div> before <li>
    line 224 column 333 - Warning: inserting implicit <ul>
    line 224 column 333 - Warning: missing </ul> before </div>
    line 292 column 29 - Warning: unescaped & or unknown entity "&id"
    line 292 column 68 - Warning: <br> element not empty or not closed
    line 293 column 95 - Warning: <br> element not empty or not closed
    line 294 column 105 - Warning: <br> element not empty or not closed
    line 54 column 87 - Warning: <img> proprietary attribute "oncontextmenu"
    line 224 column 151 - Warning: <font> attribute "color" had invalid value "808000" and has been replaced
    line 326 column 1 - Warning: <img> proprietary attribute "target"
    line 303 column 1 - Warning: trimming empty <li>

  5. #5
    Join Date
    Aug 2008
    Posts
    448
    Plugin Contributions
    0

    Default Re: Product Info Display in FireFox missing a lot of info

    Hi Clyde,

    Thank You for pointing them out to me. How can I do the same validation that you did so that I can get a report to fix those problems?

    And also as far as the first problem I noticed the problem as the missing ":

    <meta name="generator" content="Zen Cart />

    But, I didn't touch any code in relation to this so how can this be fixed? Also this meta code is no where in the tpl_product_info_display.php for me to change.

  6. #6
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Product Info Display in FireFox missing a lot of info

    Quote Originally Posted by ebaobao View Post
    Hi Clyde,

    Thank You for pointing them out to me. How can I do the same validation that you did so that I can get a report to fix those problems?

    And also as far as the first problem I noticed the problem as the missing ":

    <meta name="generator" content="Zen Cart />

    But, I didn't touch any code in relation to this so how can this be fixed? Also this meta code is no where in the tpl_product_info_display.php for me to change.
    I'm using FF and the HTML Tidy plugin to check the validation.

    As for your second question you might want to check
    includes/templates/YOUR_TEMPLATE/common/html_header.php

 

 

Similar Threads

  1. tpl product info display: changing product info
    By rbecq in forum Setting Up Categories, Products, Attributes
    Replies: 15
    Last Post: 4 Dec 2012, 05:07 PM
  2. Display info on product info related with the category
    By HellMind in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 20 Aug 2009, 09:34 PM
  3. Product Info Display - Footer on top in Firefox Mac
    By usr226197 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Mar 2008, 03:45 PM
  4. Product Info display problem, IE vs Firefox
    By stumped in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 25 Oct 2006, 12:48 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