Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
5177 Vizualizări

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 ? 

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Autor

thanks waleed

Related Posts Răspunsuri Vizualizări Activitate
0
iul. 25
1913
2
nov. 24
7540
2
oct. 24
4197
2
aug. 24
2358
3
iul. 24
8818