Skip to content

πŸ› BUG: Category doesn't show items / filters can be used that are not available in that categoryΒ #364

@jurjendevries

Description

@jurjendevries

Describe the bug
A category can be empty while navigating to it or when selecting a filter that isn't related to the products in that category.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Go to https://dilmahtea.me/en/tea/
  2. Click on the filter dropdown with 'All tea variants' or 'All tea sizes' and select one that is not related to elixer such as 'Loose leaf'
  3. Click on Elixer category
  4. See an empty result

Expected behavior
I would expect to see at least items related to the category, or a notification that there are no results for the filter given.

Screenshots
Screenshot from 2023-06-23 11-41-07

Desktop (please complete the following information):

N/A

Smartphone (please complete the following information):

N/A

Additional context
We should discuss the solution to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions