Skip to Content
Menu
This question has been flagged
1 Atsakyti
5183 Rodiniai

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 ? 

Portretas
Atmesti
Best Answer

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.

Portretas
Atmesti
Autorius

thanks waleed

Related Posts Replies Rodiniai Veikla
0
liep. 25
1918
2
lapkr. 24
7560
2
spal. 24
4210
2
rugp. 24
2373
3
liep. 24
8827