
Originally Posted by
kobra
Try looking in \includes\modules\product_listing.php
About line 186
Make any alterations in a copy for your template
I saw a recommendation in a previous post, which appears to be where you're pointing and tried it to no avail...
Any references to product_description are on line 97
Code:
$lc_text = '<h3 class="itemTitle"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' .
(($_GET['manufacturers_id'] > 0 and $_GET['filter_id'] > 0) ? zen_get_generated_category_path_rev($_GET['filter_id']) :
($_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) :
zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) .
'">' . $listing->fields['products_name'] . '</a></h3><div class="listingDescription">' .
zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION) . '</div>';
or lines 175 to 187, which are all commented out.
Line 97
Code:
zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION)
changed to
Code:
zen_trunc_string(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']), PRODUCT_LIST_DESCRIPTION)
-to permit the truncating descriptions that are too long
or
Code:
zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']
-to ignore truncating and leave it up to us to control the length of our descriptions manually