• Priority: Medium
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 06.12.21, 11:42
  • Opened by: Alexis Attimont

Ticket #22725 - No AMP : Collapsable filter on mobile is missing

Hi Fred,

For various reasons, we are not using AMP. Can you make the filters on mobile collapsible ? Like how they are on AMP, or default Prestashop theme ? Currently they are above the product and fully open which make the products appear very low on the page (see attached or in the link) : https://www.morgannebello.com/fr/46-bague

I have to choose a theme for another project, and this is a deal breaker. There are few other lacks of mobile version without AMP, but this one is the bigger one. Your theme is the best in many other ways, I hope you will be able to improve this part.

Details access to back-office are in my profile.



Fred 06 Dec 2021, 11:48

Hi, Alexis.
What is the path to the theme in your server?

Alexis Attimont 06 Dec 2021, 12:14

I just realized that I have not update my profile since we move into production. I fix the BO url, but I can't change the shop one, which should be : https://www.morgannebello.com/

Path is : /home/sc1kwzi0785/morgannebello.com/

Fred 06 Dec 2021, 12:32

Done. now filter is collapsed on mobile. The feature will also be added to the next theme version

Alexis Attimont 06 Dec 2021, 18:16

Thank you Fred. I was hoping for a global button (like prestashop default, see attached) or unique menu (like AMP plugin, see attached too). Do you think this might be possible ?

Fred 07 Dec 2021, 12:51

Yes, I see now.
The button is added, please check out

Alexis Attimont 07 Dec 2021, 16:24

Hi Fred, for mobile it's good, thank you. However, on desktop, filters are collapsed. Could it be open by default on desktop and collapsed on mobile, like default theme (https://demo.prestashop.com/#/en/front) ?

Fred 07 Dec 2021, 17:16

Yes, my bad. Now it should be correct

Alexis Attimont 08 Dec 2021, 11:33

Thank you Fred, great work !

Fred 08 Dec 2021, 11:34

You are welcome!

Alexis Attimont 08 Dec 2021, 14:42

Hi Fred, I missed a bug : when I select a filter on mobile, instead of ticking it (or adding it on top like on desktop), it duplicate the "product filter" button (see attached). Could you have a look ? We're reaching it !

Alexis Attimont 08 Dec 2021, 14:43

With the file attached it's better !


Fred 08 Dec 2021, 17:32

Didn't notice that. Now it should be correct

Alexis Attimont 08 Dec 2021, 21:34

Hi Fred, thanks for the update. I just had a look : button is ok, but filter doesn't work on mobile or desktop anymore. When you select a filter, it look like it's refreshing, but product list stay the same. We're close !

Fred 08 Dec 2021, 21:41

Please verify your custom JS code in the Theme Settings.
Remove "<script>" tags there

Alexis Attimont 09 Dec 2021, 10:24

Hi Fred, I removed it (and the </script>, and the noscript part) but it isn't enough, filters are still not working.

Fred 09 Dec 2021, 16:53

I don't see the problem. The filter works fine for me https://take.ms/l4rry

Alexis Attimont 09 Dec 2021, 16:58

My bad, it's working. I might have forgot the disable the cache. Thank you for checking !

Fred 10 Dec 2021, 18:00

You are welcome!