filter panels collapsed by default?

Phoca Cart - complex e-commerce extension
MM0233
Phoca Member
Phoca Member
Posts: 22
Joined: 02 Feb 2018, 18:18

filter panels collapsed by default?

Post by MM0233 »

Hello again.
is it possible to have the filter panels collapsed by default?

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: filter panels collapsed by default?

Post by Jan »

Hi, it is managed by Bootstrap, so you can edit the layouts (or override them)

For example all text form filter fields are displayed by:
components\com_phocacart\layouts\form_filter_text.php

Just open this file and find the string "collapse in" and remove the "in" (it is inside class attributes). This can be done for all other layouts.


Image

Image

Jan
If you find Phoca extensions useful, please support the project
MM0233
Phoca Member
Phoca Member
Posts: 22
Joined: 02 Feb 2018, 18:18

Re: filter panels collapsed by default?

Post by MM0233 »

Thank you so much. Solved! Goodbye.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: filter panels collapsed by default?

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: filter panels collapsed by default?

Post by Jan »

Hi, since version 3.3.2
https://www.phoca.cz/news/1058-phoca-ca ... 2-released

you can set it in parameters:

- collapse all
- display all
- display only which are active (which have some active item inside)

Jan
If you find Phoca extensions useful, please support the project
Post Reply