Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Description in Product page returns "p"


eldridge

Recommended Posts

Posted

Hi,

 

I have a problem on the product edit page. When I'm editing a product through the product edit page, the product description returns a "p" character instead of the actual product description of the product. Please see the screenshot attached.

 

I don't know how to fix this since i don't know where to find what causing the problem.

 

Thank you.

post-297473-0-28110300-1316738363_thumb.png

Posted

Yes the product name displays correctly including all other informations except only the Product Description.

The description in the database is ok.

I removed the ckeditor and still the same..

 

Thank you for your reply sir. I hope you can help me.

Posted

I have fixed the problem by replacing,

(isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']])

 

to

 

stripslashes($product['products_description'])

 

Thanks.

Posted

Hi sir, I understand what you are trying to say.. can you help me with this?

 

Here is the code of the product description field before modifying it.

 <td class="main"><?php echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '10', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])),'id = products_description[' . $languages[$i]['id'] . '] class="ckeditor"'); ?></td>

 

Thank you.

Archived

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

×
×
  • Create New...