Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Displaying Short Description in Product_Listing.php


Recommended Posts

I've installed Products Short Description V2.1 and on the product page it works fine.

Is there a way to get this description to show on the product listing page?


I tried the following:


$description = $products['products_info'];

$description_query = tep_db_query( "SELECT products_info FROM " . TABLE_PRODUCTS_DESCRIPTION . " WHERE products_id = '".(int)$products['products_id']."'");

$selected_description = tep_db_fetch_array($description_query);$description = $selected_description['products_info'];

But this just brings back the 1st character and that's it.


Also, had a look through the database in phpAdmin and there is a field called short_desc in the 'products table' but I can't find any sign of that field in the OSC admin screens - have I missed something?


Any and all help is greatly appreciated.


Thanks in advance


Link to comment
Share on other sites


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

  • Create New...