Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2009
    Posts
    1
    Plugin Contributions
    0

    Default 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
    Last edited by edt123; 15 Dec 2009 at 06:52 PM. Reason: possibly useful info

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default 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.

 

 

Similar Threads

  1. Replies: 6
    Last Post: 25 Sep 2015, 03:00 AM
  2. Add code to Product description
    By beco1979 in forum General Questions
    Replies: 1
    Last Post: 21 Oct 2010, 04:12 PM
  3. HTML code in Product Description
    By irishshopper in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 Apr 2010, 01:51 AM
  4. In what file and What line of code outputs Product Description?
    By mk12 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 28 Sep 2009, 09:56 PM
  5. strange html code in product description
    By nilsen in forum General Questions
    Replies: 0
    Last Post: 31 Jan 2009, 11:09 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR