Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter 2TheMoon

    (@ruskiller777)

    or maybe i can set filter if purchase customer not not set (set status of post to draft)

    Plugin Author wundermatics

    (@wundermatics)

    Hi,

    I’m not sure I really understand your question, but it seems that you want to set a product (WooCommerce?) to status = draft if the price is set to zero? This would have the effect that any products with a zero price would be hidden from end users.

    If this is what you want, you can solve it like this:

    1. Create a workflow with “Post saved” as the trigger

    2. Set up three filters. (a) “Post type” is one of “Product”, (b) “Post status” is one of “Published” and (c) Custom field “_regular_price” Equals 0

    3. Set up a Change status action that sets the new status to “Draft”.

    Thread Starter 2TheMoon

    (@ruskiller777)

    i used Custom field “_regular_price” EMPTY it was helpfull, thank you!

    Plugin Author wundermatics

    (@wundermatics)

    No problem, good luck with your project.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘filter product price’ is closed to new replies.