blindek Posted March 1, 2010 Share Posted March 1, 2010 Hello, How is possible that short description will consider the html code? If you check here: http://www.seftiko.si/delovne-rokavice-showa-c-18_61.html The short description don't consider new lines and other html tags, but when you go on "Details" page of the product in the long description there are considered html tags. Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted March 1, 2010 Share Posted March 1, 2010 Hello, How is possible that short description will consider the html code? If you check here: http://www.seftiko.si/delovne-rokavice-showa-c-18_61.html The short description don't consider new lines and other html tags, but when you go on "Details" page of the product in the long description there are considered html tags. It would require code changes that would break other parts of osC, like Searches and a lot of unknowns... Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
blindek Posted March 1, 2010 Author Share Posted March 1, 2010 so there is no possibilities, maybe some addons or something? That just \n new lines will shows? Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted March 1, 2010 Share Posted March 1, 2010 so there is no possibilities, maybe some addons or something? That just \n new lines will shows? There are all kinds of add ons that modify the product listings. Perhaps one of them will suit your needs. Search the Contributions for Short Description. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
puddlec Posted March 1, 2010 Share Posted March 1, 2010 i am using http://addons.oscommerce.com/info/3123 which, i have been using some html tags, and it treats it like html tags. so if i put </br> it would force the next bit to be on thenext line Phoenix support now at https://phoenixcart.org/forum/ App created for phoenixTinyMCE editor for admin Link to comment Share on other sites More sharing options...
MrPhil Posted March 1, 2010 Share Posted March 1, 2010 So for item #129, you want the text to be formatted as you entered it? Showa 600 Rokavice iz PVC zelene barve z bombažno podlogo brez šivov. Hrapava obdelava zagotavlja dober oprijem v suhem in mokrem delovnem okolju. - Dolžina: 25 cm - Velikosti: 8M - 9L - 10XL... Was that how you entered the product description text in the first place, or were there HTML tags in it? Probably the easiest thing would be to run the product description text through nl2br(), which inserts <br/> at every end-of-line. There may be an add-on to do that already. Or, use <pre> and </pre> tags around the text to suppress "reflow" of the lines. Of course, if you suppress HTML formatting of the text, it will look odd when your display area becomes wider or narrower... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.