Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Setting Up Categories, Products, Attributes / product description os utputting code -stylesheet and comment code

product description os utputting code -stylesheet and comment code

Locked

Started by edt123 on 15 Dec 2009, 5:48 PM · Views: 1,151

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
15 Dec 2009, 5:48 PM
#1
edt123 avatar

edt123

New Zenner

Join Date:
Dec 2009
Posts:
1
Plugin Contributions:
0

product description os utputting code -stylesheet and comment code

I downloaded the latest version on Friday and instakkked without a problem.
Very impressed with it overall.
I added categorie today and products. Still all went well.

Then I added a second product in one category and only when there are two products displayed on a page (or presumably more) it outputs no description but isntead I get:

<!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1;...I have switched themes and tried again but still the same problem.

Initially I thought it might be a ( and / that had been included in the description, but removing them fixed nothing.

Any suggestions where to start looking?

The theme I was using (I plan to customise it) is called clean_business. I'm not sure where it came form, but all the themse seem to behave in the same way.

The only minor changes mae to anything was to add the UK counties etc t the database for uk customers. This seems to work fine.

I'd really appreciate any help you can offer

15 Dec 2009, 6:06 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: product description os utputting code -stylesheet and comment code

That appears to be something caused by your word processing application when you copy-and-pasted HTML from a Microsoft application into your product description.
If you clean up your HTML, things will display properly.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.