Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
5173 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

thanks waleed

Related Posts Odpovědi Zobrazení Aktivita
0
čvc 25
1901
2
lis 24
7506
2
říj 24
4181
2
srp 24
2348
3
čvc 24
8814