admin管理员组文章数量:1333451
I have an issue when I tried to add more than 300 variations on thousands of products on my website. There are two many of them so that it is not possible to add variations manually. Actually, it could be done by logic, but I don't know how to add logic to the variation part. If you could tell me which plugin works or how to write php logic code for this, I'll be very appreciated!
Here's my logic example:
Suppose I have a computer whose base price is 1000$. Then I have an option of LED stripe types and an option for number of LED stripe types. Each type has its own price. So the total price will be 1000 + 5(number of stripes) * 2(price for yellow type) = 1010$.
I tried to write python script code to add variations in CSV file and import CSV variations. But Woocommerce seems can't handle with new variations that have no IDs. So I'm looking for logic code or a workable plugin.
本文标签: Woocommerce Product VariationAdd Price Logic
版权声明:本文标题:Woocommerce Product Variation - Add Price Logic 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742353993a2459050.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论