Support

Account

Home Forums Pre-purchase Questions Filter pages using ACF fields

Helping

Filter pages using ACF fields

  • I want to create a product filtering website but not use woocommerce. I was thinking ACF to add product type and brand which then allowed filtering of products but I don’t really know the best way to do that or if ACF is the best solution but thought I’d start here.

  • There are built in ways in WP for adding things like Products and Brands. These would be custom post type and custom taxonomy. Most filtering can be done using custom taxonomies for things like brands and product categories. I would start there.

    ACF is great for things that would be difficult to manage using a custom taxonomy. For example, the number in stock or something like a part number associated with each product. Or for that matter, any value that would be unique, or even semi unique for each product.

    You can create filters using ACF, but most of the work of building the filter/search form and the queries that display the posts for the search would need to be coded by you.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.