How to use the “OR” conditional filter
Hey there :)
So, I need to filter some orders on my WooCommerce based on their status. The problem is that I have to filter more than one status at the same time. Let’s say I need to filter orders with “pending payments” and “processing” status. Do you have a feature of this?
I saw on the ACP URL that a query param “ac-rules” is sent with the following JSON:
{
“condition”: “AND”,
“rules”: [
{
“id”: “order_status”,
“field”: “order_status”,
“type”: “string”,
“input”: “select”,
“operator”: “equal”,
“value”: “wc-request_unpriced”,
“formatted_value”: “Request+Unpriced”
}
],
“valid”: true
}
So I thought it would be possible to create conditional filters with “OR”.
You must be logged in to reply to this topic.