Forums / General Questions / Product Info Display in FireFox missing a lot of info

Product Info Display in FireFox missing a lot of info

Locked

Started by ebaobao on 15 Jan 2009, 7:40 PM · Views: 2,216

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
15 Jan 2009, 7:40 PM
#1
ebaobao avatar

ebaobao

Zen Follower

Join Date:
Jul 2008
Posts:
495
Plugin Contributions:
0

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-amaryllis-bush-purple-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.

15 Jan 2009, 7:53 PM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

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

Open your product_info_display.php file

find the following section of code:

<!--WEBMASTER EDIT REMOVE MODEL NUMBER DISPLAY<li>ITEM NUMBER: 91474-PU</li>
---->

and change it as indicated by the highlighted portion

<!--WEBMASTER EDIT REMOVE MODEL NUMBER DISPLAY<li>ITEM NUMBER: 91474-PU</li>
-->

There are also several other validation errors which you should correct.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

15 Jan 2009, 8:02 PM
#3
ebaobao avatar

ebaobao

Zen Follower

Join Date:
Jul 2008
Posts:
495
Plugin Contributions:
0

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?

16 Jan 2009, 1:47 AM
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

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

ebaobao:

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 &
line 149 column 150 - Warning: unescaped & which should be written as &
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>

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

22 Jan 2009, 6:34 PM
#5
ebaobao avatar

ebaobao

Zen Follower

Join Date:
Jul 2008
Posts:
495
Plugin Contributions:
0

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.

22 Jan 2009, 8:19 PM
#6
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

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

ebaobao:

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

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.