Only applicable product filters should be visible

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
KhushalWebroot
Posts: 11
Joined: 29 May 2023, 11:29

Only applicable product filters should be visible

Post by KhushalWebroot » 18 Oct 2023, 13:16

Hi

/shop/ready-to-ship~20

This is url of my category page. as you know filters are visible on this page by default but the issue is all the filter options are visible on this page but i want only those filter option which could be applied on the products not all the filter option please advise its important.

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: Only applicable product filters should be visible

Post by aimeos » 19 Oct 2023, 07:35

Filters with no products are hidden by Javascript code after the /count request returned the number of products per attribute. Check that the "count" request is happening and that you did not remove the Aimeos CSS classes from the template (otherwise, the JS code won't find DOM nodes to hide).
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
KhushalWebroot
Posts: 11
Joined: 29 May 2023, 11:29

Re: Only applicable product filters should be visible

Post by KhushalWebroot » 20 Oct 2023, 07:09

Hi

I checked and did not found any count req....So what now how can make it correct?


Thanks

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: Only applicable product filters should be visible

Post by aimeos » 23 Oct 2023, 08:08

Did you overwrite the header.php of the catalog/filter component and remove the script URL from the there?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
KhushalWebroot
Posts: 11
Joined: 29 May 2023, 11:29

Re: Only applicable product filters should be visible

Post by KhushalWebroot » 23 Oct 2023, 12:07

No and i checked that the catalog-filter js and css are being added on the site pages.

Post Reply