تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5100 أدوات العرض

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
يوليو 25
1677
2
نوفمبر 24
6997
2
أكتوبر 24
3850
2
أغسطس 24
2156
3
يوليو 24
8562