コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5145 ビュー

i have a lot of products i didn`t use , 0 sale 0 purchase 0 qty . i want to delete all this products . which method should i use  
code ORM unlike  , or from database ? 

アバター
破棄
最善の回答

Hi,

Always don't use DB if you don't know the consequences.

You can archive them, You will filter them from list view, select them and from actions menu select Archive.

If you want to delete them completely, You can filter them from list view, select them and from actions menu select delete.

If you can select them from list view, you can write code on product_template model and use ORM unlink.

アバター
破棄
著作者

thanks waleed

関連投稿 返信 ビュー 活動
0
7月 25
1857
2
11月 24
7421
2
10月 24
4131
2
8月 24
2323
3
7月 24
8785