Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Descriptions


srober

Recommended Posts

Posted

Ive done some searches probably using the wrong keywords. The product description does not look so nice when you copy paste. It does not keep any of the formatting. Its a pain to have to go in there and insert <b>'s and what not to make the description look good.

 

Anyone have any suggestions I have a ton of products to bring in the site and the descriptions are killing me.

Posted
Ive done some searches probably using the wrong keywords.  The product description does not look so nice when you copy paste.  It does not keep any of the formatting.  Its a pain to have to go in there and insert <b>'s and what not to make the description look good.

 

Anyone have any suggestions I have a ton of products to bring in the site and the descriptions are killing me.

 

I went through the same thing the other day - we ended up using a simple php function that converts line endings to hard returns with one line of code. Dont add <br> to all of your items because once you do this php mod you will have to go back in and remove all of them (I know!).

 

The php function is called nl2br.

Archived

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

×
×
  • Create New...