zencart程序有時候 要批量刪除大量的制定的 產品,但同時又要保留部分產品和目錄的,
一 通過在數(shù)據(jù)庫中或后臺sql中運行以下代碼:
delete from products_attributes where products_id>=44444 and products_id<=44657;
delete from products where products_id>=44444 and products_id<=44657;
delete from products_to_categories where products_id>=44444 and products_id<=44657;
delete from meta_tags_products_description where products_id>=44444 and products_id<=44657;
二:通過批量表格來解決
1、進入后臺管理,如果你沒安裝easy_populate,那么你就要先安裝一個!
2、工具—easy_populate(批量管理)—》點擊Download Complete .csv file to edit (Attributes Not Included),下載批量表;
3、在下載的csv文件中有一列v_status(產品狀態(tài)),將該列中單元格設置成1時是顯示產品 設置成 9 時即為刪除該產品。
將要刪除的產品狀態(tài)設置成9。
4、設置完成后保存,再導入。進入產品分類中查看,產品狀態(tài)設置成9的也被刪除!
未經(jīng)允許不得轉載:外貿商城系統(tǒng),外貿網(wǎng)站模板,php建站教程,zencart模板 » 最新zencart如何批量刪除產品信息