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

Hello,

Need help here, when i create new product on module inventory then automatic published on website/eCommerce (without click button publish),

Thanks before.

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

Hi,

You can Set website_published field True as default.

You can do this by both code and Interface.

From code, rewrite the field and add the attribute, default=True

From the interface, you can set Is Published field as true.

Check this video for understanding how to set up default value from the interface.

Link: https://www.youtube.com/watch?v=cQYHiGAd9k4


Thanks & Regards

Avinash N K

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

Thank you. This is what I finding.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 10 19
5769
2
thg 7 25
1877
0
thg 11 23
2381
1
thg 5 22
9267
2
thg 2 22
2599