Skip to Content
मेन्यू
This question has been flagged

Hello,

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

Thanks before.

Avatar
Discard
Best Answer

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

Avatar
Discard
Best Answer

Thank you. This is what I finding.

Avatar
Discard
Related Posts Replies Views Activity
1
अक्तू॰ 19
5769
2
जुल॰ 25
1877
0
नव॰ 23
2381
1
मई 22
9267
2
फ़र॰ 22
2599