• Priority: High
  • Status: Closed
  • Closed by: Marek (marek)
  • Closed on: 01.08.19, 12:59
  • Reason: Closed
  • Comment: Glad to help!

Ticket #14753 - How to add an attribute filter to the sidebar

Hi,
How do I add an attribute filter to the sidebar? Which PS module is?
Thanks.

This ticket does not depend on any other tickets.

Marek (marek) 04 Jun 2019, 08:24

Hi, Umberto.
That is Faceted Search module

Umberto Biscotti (umberto_biscotti) 04 Jun 2019, 18:15

Hi Marek, many thanks for the answer.

Another question, is it possible to enable the sidebar on all pages except selected ones like the homepage?

Marek (marek) 04 Jun 2019, 18:50

You can’t use the same sidebar what you have built with Page builder.
Here here you can find how to enable prestashop sidebar http://alysum5.promokit.eu/promokit/documentation/#faq7.

Umberto Biscotti (umberto_biscotti) 28 Jun 2019, 22:21

Hi Marek,
I come back to this question about filters and attributes.

It seems to me I now have configured correctly the attributes. I’ve added combinations to two products for testing. Though on the sidebar (on the desktop version), the filters doesn’t show up the boxes to select the attributes. For the sake of this example, I set “Memoria interna” (smartphone’s internal memory) and RAM. In the filter I also chose to add the price (Prezzo).
As you can see from the image enclosed, only the price has the slider to allow for filtering. The other two filter can’t be selected. Plus I see that the buttons are missing the icons.

I cannot verify what happens on the mobile version as I receive a 500 error.

The two products I set up with combinations are these:
https://smartprince.it/home/10-4-smartphone10.html#/28-ram-4gb/36-memoria_interna_cellulari-16gb https://smartprince.it/home/30-1-apple-iphone-7-ricondizionato-grado-a-128-gb.html#/27-ram-2gb/39-memoria_interna_cellulari-128gb

Marek (marek) 29 Jun 2019, 10:24

The issue has been fixed. Please test to confirm the change

Umberto Biscotti (umberto_biscotti) 29 Jun 2019, 11:37

It seems to work, but the checkboxes are too small in my opinion.
Besides, if you apply the filter on one attribute, the others disappear and cannot be set.
Is it a misconfiguration of the filter or does it depend on the fact that I set only two products with attributes and maybe they don’t have enough attributes to generate cross variations?
I would like also to choose to load the page with the filter accordions already open.

Marek (marek) 29 Jun 2019, 11:58

Yes, it depends on the fact that you set only two products.
Go to Theme Settings → Category page and find there an option to expand filters.
Also try to add folllowing CSS:

body #left-column .custom-checkbox input[type=checkbox]+span {margin-top:5px;width:15px;height:15px}
Umberto Biscotti (umberto_biscotti) 29 Jun 2019, 13:33

Ok Marek, with this code, the size changes.

Though I still have the 500 error code issue when I try to navigate in a category on the mobile version.

Marek (marek) 30 Jun 2019, 11:12

The issue has been fixed. Please test to confirm the change

Loading...