Jump to content
Sign in to follow this  

Product Description problem!

Recommended Posts



Im quiet new to oscommerce and i have following problem.


If i write something in product description it displays only as plain text.

Is there any solution so everything i write in description saves as HTML.


For example if i write something in description and press ENTER to go line down it will not save like that and it will be displayed without ENTER.

Maybe there is any solution for advanced description editor, like where i could insert tables of comparsion for products and like that.


Thanks and hoping for some replies.

Share this post

Link to post
Share on other sites

Hi, in products_info.php find(aprox row 145):

 <p><?php echo stripslashes($product_info['products_description']); ?></p>

and replace with:

<p><?php echo nl2br($product_info['products_description']); ?></p>

. Thats it

Edited by katalin

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this