Date Range filter for Datetime Field

Forums › Forums › Search & Filter Pro › Date Range filter for Datetime Field

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #245648

    Hi,

    I added a DateTime field to Woocommerce Products using ACF. I set up my filter and search form and placed it on my Shop page using your Elementor integration. I can sort the results by this datetime field, but the Date Range filter returns no results. Can you please advise how to help that?

    Thank you

    Ross Moderator
    #245699

    Hi Mustafa

    To use the date field with an ACF field, you need to use the post meta filter in our plugin, and choose date.

    Then you need to pick the right meta key for your ACF field.

    ACF creates 3 post meta values for 1 custom field:

    my_field_name
    _my_field_name
    field_2390u823904

    You will need to sue the first version, without the underscore.

    Let me know how you get on.

    Thanks

Viewing 2 posts – 1 through 2 (of 2 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.