You can see what it looks like here:
http://www.niora.com/anti-aging-acne-care
On what it looks like on a new install of OSCommerce here:
http://adult-acne-product.com/catalog/index.php?cPath=3_10
1)Create a new field in products_description, I suggest 255 characters long
ALTER TABLE `products_description` ADD `products_minidescp` LONGTEXT NOT NULL
2. Paste the following query into catalog/includes/modules/product_listings.php about line 85-90 (assuming a new install). Be sure to place it below the ' }' and above '$cur_row = sizeof($list_box_contents) - 1;'
//BOF add a mini-description
$pl_id = $listing['products_id'];
$minidescp_query = tep_db_query("select products_id, products_minidescp from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" .$pl_id. "'");
$minidescp = tep_db_fetch_array($minidescp_query);
$pl_minidescp = '<p>'.$minidescp['products_minidescp'].'</p>';
//EOF add a mini-description
3. A few lines below that add the variable $pl_minidescp at the end of this line:
This line:
$lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a>';
is changed to this:
$lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a><br/>'.$pl_minidescp;
4. Manually enter your mini-descriptions into products_descriptions.products_minidescp
( A proper user interface in admin/categories.php might look it like a contribution )
Edited by npn2531, 21 December 2009, 21:23.















