Need Help: Metafield Filter Not Showing Products from Multiple Groups

Need Help: Metafield Filter Not Showing Products from Multiple Groups

AkmalAlias
Visitor
2 0 1

Hi everyone, I’ve created filters using Search & Discovery with product metafields, and all my filters are based on metafields. However, I can only select from one group at a time, and the products displayed are based on my selection.

But I want to be able to select from two different groups simultaneously.


Example:

Group 1:
[] Area 1
[] Area 2
[] Area 3

Group 2:
[] Grid 1
[] Grid 2
[] Grid 3

The products displayed should match all my selected filters.

Current issue:
When I select from Group 1, the products are displayed correctly. But after I finish selecting from Group 1 and start selecting from Group 2, no products are shown, and it says "Product unavailable."

I’ve already tried AI coding, but there is still no solution.

Does anyone know how to fix this issue?

Replies 2 (2)

TheScriptFlow
Shopify Partner
709 49 92

It sounds like your current filtering logic is behaving as if it's applying an "AND condition across groups" rather than properly allowing selections from multiple gruops to filtermproducts dynamically.

Here are a few things to check for issues.

  1. Check your Filter Logic in Shopify.
  2. Modify Your Shopify Theme Filtering Code.
  3. Use Shopify’s Native tag or variant Filtering (If Applicable)
  4. Consider Using an External Filtering Library

Follow these steps to make sure your filtering work properly.

If you need more help you can reach me out.

Thanks

- Need a Shopify Specialist? Chat on WhatsApp Or Email at info@thescriptflow.com

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


- If my solution was helpful, mark it as a solution and hit the like button! And Wait Don't forget to Buy me a Coffee

AkmalAlias
Visitor
2 0 1

Ohh okay, for step 1, I've already set everything to use OR filter logic. For step 2, what exactly do I need to change? Does this mean I can't use filter metafields? And selecting from different filter groups doesn’t work either?

Also, I don’t want to use native tag or variant filtering since my filters are all built using metafields, Screenshot 2025-03-18 at 6.49.01 PM.pngI need to use multiple filters, and as we know, Shopify only allows two types plus tags.

Really appreciate your help on this, thanks a lot!