Skip to content

Faceted search option 'Show the number of matching products' does not work #294

Open
@lmeyer1

Description

@lmeyer1

Describe the bug and add screenshots

Even though checking the option Show the number of matching products in the back office, the filters do not show the number of products.
BO:
Capture d’écran 2022-06-23 174158

FO:
Capture d’écran 2022-06-23 174211

Expected behavior

I'd expect to see the number of products behind each filter value

Steps to reproduce

  1. In the BO, go to Manage Modules, select Faceted search, click Configure
  2. Define a filter model
  3. Go to the FO, display the category for which a filter is configured
  4. Notice that there are no quantities displayed for the filter options (default)
  5. In the BO in the section Parameters, activate the option Show the number of matching products
  6. Notice that there are still no quantities displayed for the filter options (they should now that we turned on the option)

PrestaShop version(s) where the bug happened

1.7.8.6

PHP version(s) where the bug happened

7.3

If your bug is related to a module, specify its name and its version

ps_facetedsearch 3.8.0
classic-rocket latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions