Forums Forums Search & Filter Pro Filter Woocommerce products based on ACF dates

Viewing 10 posts - 1 through 10 (of 14 total)
  • Anonymous
    #258946

    Hi,

    I created a multi-date picker ACF for Woocommerce products and was trying to use S&F pro date range filter for the products based on the ACF. I set the post type to be products, meta tags to be the ACF meta, and display results to be Wocommerce-shop. However, the filter doesn’t filter products in the shop. Every time when I put a date range, it will just display all the products in the shop.

    I’m wondering what the problem is or if I should use product shortcode method instead. Thanks!

    Best,
    Yaxin

    Trevor
    #258995
    This reply has been marked as private.
    Anonymous
    #259053
    This reply has been marked as private.
    Trevor
    #259176
    This reply has been marked as private.
    Anonymous
    #259398

    Gotcha! Thanks for the tip! I tried to change the form of ACF to see if it works but the filter still didn’t work. I’m wondering what the issue is. Thanks!

    Trevor
    #259524

    On which page is our search form? I do not see it?

    In the form setup, I can see that the Ajax Container will need to change to .products

    Also, you can have only one form using the WooCommerce shop method (only one form based on Products). If you are using Variations in WooCommerce, you also need to select that Post type as well as Products.

    Why not have one form with both dates and cities in?

    Anonymous
    #259680
    This reply has been marked as private.
    Trevor
    #259731

    I have a suspicion as to what may be happening. Are you able to add a few more products?

    Anonymous
    #259755

    Yes! I just added a couple more products.

    Trevor
    #259764
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 14 total)