0

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.

1
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.
    – Community Bot
    Feb 15 at 16:45

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.