• Resolved daisuke

    (@kisa_jones)


    Hello,

    I have filters on a frontend sidebar where I can filter the products by stock status, categories… and I’d like to add a filter for preorder products.

    The best would be to filter them with stock status but I don’t know if it’s possible.

    I use Filter Everything Pro and I can add a filter by custom Field, can someone tell me what is the name of the custom field for the preorder products please?

    Or if there is another way to filter them?

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    We are sorry for the late response.

    The plugin determines the pre-order products based on these metadata:

    _simple_preorder

    For the simple product

    and

    _wpro_variable_is_preorder

    For the variation product.

    Best regards.

    Thread Starter daisuke

    (@kisa_jones)

    No worries, thank you for your answer!

    The query with shop/?_simple_preorder=yes is working but not shop/?_wpro_variable_is_preorder=yes

    And I’d need to combine these two so if someone check a preorder checkbox, the simple and variable preorder products show. What would be the query to combine these two with and/or please?

    Plugin Support angelagrey

    (@angelagrey)

    Hi @kisa_jones

    The 2 metakeys above don’t appear in a same product. Normally the logic would be or, but if you try both and/or and it’s not possible, then I’m afraid the filter plugin can only filter one of the 2 product types at the same time.

    • This reply was modified 1 year, 9 months ago by angelagrey.
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Filter the preorder products’ is closed to new replies.