Hi,
I have a woocommerce store with two categories of products: (1) snack, (2) beverages
Each have different populated ACF fields.
I know Search can use Post Meta filter to filter ACF fields.
Snack category has ACF fields: Flavor, Size
Beverages category has ACF fields: Alcohol, Volume
I would like to know what is the proper way to set up search & filter to show only the correct filters for each product category:
-When user is on snack category page, I want Search & Filter to only show Flavor , Size filters (do not want to see filter for alcohol, volume)
-When user is on Beverages category page, I want Search & Filter to only show Alcohol, Volume filters
Should I create different filter in for each category? Or is there another way?
Thank you in advance