View Single Post
  #2   IP: 76.164.216.30
Old 2016-05-06, 10:58 PM
Queen City Queen City is offline
初级会员
 
Join Date: 2010-05-12
Posts: 1
Queen City 现在声名狼藉
Default

Agreed this is not the best behavior. We found it simpler to adjust the code in include/func/func.product.php after:

Code:
 $product['meta_description'] = trim($product['meta_description']);
    $product['meta_keywords']    = trim($product['meta_keywords']);
add

Code:
if (empty($product['meta_description']))
    $product['meta_description'] = trim(strip_tags(func_query_first_cell("SELECT descr FROM $sql_tbl[products_lng_current] WHERE productid='$productid'")));
Reply With Quote