Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Product Descriptions with formatting


diyroberts

Recommended Posts

Posted

Hi folks,

 

When I'm adding a product to my website I may format the paragraphs (i.e leave lines in the text), but when I upload the product I loose all formatting

 

I know why this happens but is there any way to stop this?? Is there any way of having a WYSIWYG box?

 

 

Thanks in advance

Will

Posted

Also...If I added a WYSIWYG editor now, would the products that have already been entered have formatting?? If not, is there a way to do this??

 

Thanks

Will

Posted

No, already existing entries are in the database and would not be affected. One way to update these entries would be to manually edit each one. Another, if there are a huge number of them, would be to write some custom PHP/MySQL code to extract product descriptions, look for line-ends (carriage returns, or whatever way they're stored in the database), add <br> at that point, and save them back into the database. A big job either way, I'm afraid.

Posted
No, already existing entries are in the database and would not be affected. One way to update these entries would be to manually edit each one. Another, if there are a huge number of them, would be to write some custom PHP/MySQL code to extract product descriptions, look for line-ends (carriage returns, or whatever way they're stored in the database), add <br> at that point, and save them back into the database. A big job either way, I'm afraid.

 

OK, many thanks for your help

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...