Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5174 Widoki

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 ? 

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Autor

thanks waleed

Powiązane posty Odpowiedzi Widoki Czynność
0
lip 25
1908
2
lis 24
7525
2
paź 24
4185
2
sie 24
2352
3
lip 24
8817