Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5163 Lượt xem

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 ? 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Tác giả

thanks waleed

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 7 25
1888
2
thg 11 24
7476
2
thg 10 24
4172
2
thg 8 24
2343
3
thg 7 24
8809