跳至內容
選單
此問題已被標幟
2 回覆
9383 瀏覽次數

Hello,

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

Thanks before.

頭像
捨棄
最佳答案

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

頭像
捨棄
最佳答案

Thank you. This is what I finding.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
10月 19
5769
2
7月 25
1877
0
11月 23
2381
1
5月 22
9267
2
2月 22
2599