zencart新进商品的随机排序修改方法第二步: 在$new_products_query里增加相应ORDER BY xxx 例:select distinct p.products_id, p.products_image,p.products_tax_class_id, pd.products_name, p.products_date_added,p.products_price, p.products_type, p.master_categories_id fromzen_products p, zen_products_description pd where p.products_id =pd.products_id and pd.language_id = '1' and p.products_status = 1order by pd.products_name
zencart新进商品的随机排序修改方法第三步: zencart新进商品的随机排序修改方法第四步:
然后将/includes/modules /new_products.php 文件中的:
MoveNextRandom() |