admin管理员组文章数量:1312973
On my site i am using woocommerce and i am importing products from XML using WP ALL IMPORT. i have the problem that the parent product has not any quantity or it is taking the quantity of the first variation.
I would like to add all the variation's quantity together and show it to the parent quantity field of the product. For example. One product has 3 Variations. Variation 1 has quantity 10, variation 2 has quantity 5 and variation 3 has quantity 20. If we add them together we will have 35 quantity of all variations. I need that amount to show it on the parent's quantity field. With that way i can order the items on my shop more easily and i could see how many quantity in total i have.
Now i am opening every time the variations to check that.
I contacted WP ALL IMPORT and they said that, that is possible with custom coding on it. WP ALL IMPORT's Plugin has a functions editor field for custom coding that can be used when importing products
Thanks for your help.
本文标签: Add quantity of variations together and show it to parent quantity field Woocommerce
版权声明:本文标题:Add quantity of variations together and show it to parent quantity field Woocommerce 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741898694a2403737.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论