Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
5096 Представления

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 ? 

Аватар
Отменить
Лучший ответ

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.

Аватар
Отменить
Автор

thanks waleed

Related Posts Ответы Просмотры Активность
0
июл. 25
1654
2
нояб. 24
6917
2
окт. 24
3784
2
авг. 24
2126
3
июл. 24
8528