admin管理员组文章数量:1125022
I am using "WP ALL IMPORT" to import products through xml. I have 3 different XML's. This proccess is run daily. When editing template XML, in settings of template: 'Other Product options > Post status', there are 3 options to choose 1 of them: 'Published', 'Draft' and 'Set with Xpath'. What i want is products to be set as 'draft' if quantity is less than 3, and 'Published' otherwise. Also everytime import run again (i use auto schedule) the post status has to be updated. I used this expression for 'Set with Xpath': [quantity < 3] => draft | [quantity >= 3] => published, but it doesn't work.
本文标签: woocommerce offtopicWP All ImportSet product product status with xpath
版权声明:本文标题:woocommerce offtopic - WP All Import - Set product product status with xpath 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736654390a1946216.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论