Tabs Gone After Applying Filters – Any Solutions please?

Topic summary

A Shopify store owner has implemented custom tabs on collection pages to display subcategories of main categories.

The Issue:

  • Tabs appear correctly on initial page load
  • When any filter is applied, the tabs completely disappear
  • Example affected page: mens-tshirts collection

Technical Context:

  • The tabs are called/rendered at the top of collection pages
  • The implementation involves subcategory display logic
  • Issue appears related to how filters interact with the custom tab code

Current Status:

  • Another user (shreyhweb) offered to investigate the backend code to identify the root cause
  • Store owner has provided theme file access for troubleshooting
  • Discussion remains open while awaiting technical diagnosis and solution
Summarized with AI on November 3. AI used: claude-sonnet-4-5-20250929.

Hello everyone,
I’m encountering a unique issue with my Shopify store. I’ve created tabs on every collection page to display subcategories of a main category. I’ve attached a screenshot and marked the area in red for clarity.

The problem occurs when I select any filter option—the tabs disappear.

Here’s the link to the collection page: https://myperfectwear.com/collections/mens-tshirts

I understand this might be a tricky issue, but I would greatly appreciate any advice or solutions. Thank you in advance for your help!

I think you call the sub category on the top of the collection. And another collection you didn’t add the sub category. I am not sure what happend on there but when we check from the back end then we will surely give you a perfect solution for it.

Thank you

Yes, I called the sub category on the top of the collection. Do you want me to give you access?

Yes

Oh okay I just sent you the theme file, can you check now