Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
5150 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Auteur

thanks waleed

Gerelateerde posts Antwoorden Weergaven Activiteit
0
jul. 25
1862
2
nov. 24
7430
2
okt. 24
4140
2
aug. 24
2327
3
jul. 24
8790