Skip to Content
Menu
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
Oct 19
4615
2
Aug 24
395
0
Nov 23
751
1
May 22
7822
2
Feb 22
1825