Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
5162 Переглядів

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

Related Posts Відповіді Переглядів Дія
0
лип. 25
1887
2
лист. 24
7471
2
жовт. 24
4169
2
серп. 24
2341
3
лип. 24
8807