Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5184 Tampilan

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 ? 

Avatar
Buang
Jawaban Terbai

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.

Avatar
Buang
Penulis

thanks waleed

Post Terkait Replies Tampilan Aktivitas
0
Jul 25
1918
2
Nov 24
7567
2
Okt 24
4213
2
Agu 24
2374
3
Jul 24
8828