zencart程序有時候 要批量刪除大量的制定的 產(chǎn)品,但同時又要保留部分產(chǎn)品和目錄的,
一 通過在數(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(產(chǎn)品狀態(tài)),將該列中單元格設(shè)置成1時是顯示產(chǎn)品 設(shè)置成 9 時即為刪除該產(chǎn)品。
將要刪除的產(chǎn)品狀態(tài)設(shè)置成9。
4、設(shè)置完成后保存,再導入。進入產(chǎn)品分類中查看,產(chǎn)品狀態(tài)設(shè)置成9的也被刪除!
未經(jīng)允許不得轉(zhuǎn)載:外貿(mào)商城系統(tǒng),外貿(mào)網(wǎng)站模板,php建站教程,zencart模板 » 最新zencart如何批量刪除產(chǎn)品信息