zencart模板如何增加评论长度
ftp:includesmodulespagesproduct_reviewsheader_PHP.php里面找到:
$reviews_query_raw = “SELECT r.reviews_id, left(rd.reviews_text, 100) as reviews_text, r.reviews_rating, r.date_added, r.customers_name
FROM ” . TABLE_REVIEWS . ” r, ” . TABLE_REVIEWS_DESCRIPTION . ” rd
WHERE r.products_id = :productsID
AND r.reviews_id = rd.reviews_id
AND rd.languages_id = :languagesID ” . $review_status . ”
ORDER BY r.reviews_id desc”;
把100调整成你要修改的字数(注意:按一英文字母1字算)