[Skip to main content](#vessel-content)

#   About Filter again :)

##

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

13 years 7 months ago [\#100568](#100568) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  *[About Filter again :)](/forum/4-how-to/80808-about-filter-again#100568 "1. Create custom field  2. Create Filter with this Custom field  3. Create test category and products with this Custom field. Product 1 &amp; 2 with &quot;Test 1&quot; value and Product 3 with &quot;Test 2&quot; value  4. Apply filter on a site page  It works, when I press for example &quot;Test 1&quot; in filter module. It shows Product 1 and Product 2. But how to delete filtering and show all 3 products again?")* was created by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")*

1. Create custom field
[ ![1.gif](/forum/attachment/9803) ](/forum/attachment/9803 "1.gif")

2. Create Filter with this Custom field
[ ![2.gif](/forum/attachment/9804) ](/forum/attachment/9804 "2.gif")

3. Create test category and products with this Custom field. Product 1 &amp; 2 with "Test 1" value and Product 3 with "Test 2" value

[ ![3.gif](/forum/attachment/9805) ](/forum/attachment/9805 "3.gif")

[ ![4.gif](/forum/attachment/9806) ](/forum/attachment/9806 "4.gif")

4. Apply filter on a site page

[ ![5.gif](/forum/attachment/9807) ](/forum/attachment/9807 "5.gif")

It works, when I press for example "Test 1" in filter module. It shows Product 1 and Product 2. But how to delete filtering and show all 3 products again?

- [ ![1.gif](/forum/attachment/9803) ](/forum/attachment/9803 "1.gif") [ ](/forum/attachment/9803?download=1 "1.gif")
- [ ![2.gif](/forum/attachment/9804) ](/forum/attachment/9804 "2.gif") [ ](/forum/attachment/9804?download=1 "2.gif")
- [ ![3.gif](/forum/attachment/9805) ](/forum/attachment/9805 "3.gif") [ ](/forum/attachment/9805?download=1 "3.gif")
- [ ![4.gif](/forum/attachment/9806) ](/forum/attachment/9806 "4.gif") [ ](/forum/attachment/9806?download=1 "4.gif")
- [ ![5.gif](/forum/attachment/9807) ](/forum/attachment/9807 "5.gif") [ ](/forum/attachment/9807?download=1 "5.gif")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgwODA4LWFib3V0LWZpbHRlci1hZ2Fpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

13 years 7 months ago [\#100570](#100570) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  Replied by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")* on topic *[About Filter again :)](/forum/4-how-to/80808-about-filter-again#100570 "1. Create custom field  2. Create Filter with this Custom field  3. Create test category and products with this Custom field. Product 1 &amp; 2 with &quot;Test 1&quot; value and Product 3 with &quot;Test 2&quot; value  4. Apply filter on a site page  It works, when I press for example &quot;Test 1&quot; in filter module. It shows Product 1 and Product 2. But how to delete filtering and show all 3 products again?")*

I thought it's "Deletable filter" option, but it's set in Yes and nothing changed.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgwODA4LWFib3V0LWZpbHRlci1hZ2Fpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

13 years 7 months ago -  13 years 7 months ago [\#100571](#100571) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  Replied by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")* on topic *[About Filter again :)](/forum/4-how-to/80808-about-filter-again#100571 "1. Create custom field  2. Create Filter with this Custom field  3. Create test category and products with this Custom field. Product 1 &amp; 2 with &quot;Test 1&quot; value and Product 3 with &quot;Test 2&quot; value  4. Apply filter on a site page  It works, when I press for example &quot;Test 1&quot; in filter module. It shows Product 1 and Product 2. But how to delete filtering and show all 3 products again?")*

And second part. When I use filter, I can't understand then what option I selected: Test 1, Test2 or Test 3. Can it change color, or maybe display pic near selected filter option or something else?

Last edit: 13 years 7 months ago by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgwODA4LWFib3V0LWZpbHRlci1hZ2Fpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 7 months ago [\#100592](#100592) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[About Filter again :)](/forum/4-how-to/80808-about-filter-again#100592 "1. Create custom field  2. Create Filter with this Custom field  3. Create test category and products with this Custom field. Product 1 &amp; 2 with &quot;Test 1&quot; value and Product 3 with &quot;Test 2&quot; value  4. Apply filter on a site page  It works, when I press for example &quot;Test 1&quot; in filter module. It shows Product 1 and Product 2. But how to delete filtering and show all 3 products again?")*

Hi,

1. Regarding the "deletable filter", if that option is turned on, when a filter has been used, there is a delete icon next to it in order to cancel the filter.

2. The filter will just search for products which have a chosen "characteristics/configurations".

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgwODA4LWFib3V0LWZpbHRlci1hZ2Fpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

13 years 7 months ago [\#100596](#100596) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  Replied by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")* on topic *[About Filter again :)](/forum/4-how-to/80808-about-filter-again#100596 "1. Create custom field  2. Create Filter with this Custom field  3. Create test category and products with this Custom field. Product 1 &amp; 2 with &quot;Test 1&quot; value and Product 3 with &quot;Test 2&quot; value  4. Apply filter on a site page  It works, when I press for example &quot;Test 1&quot; in filter module. It shows Product 1 and Product 2. But how to delete filtering and show all 3 products again?")*

> Mohamed Thelji wrote: Hi,
>
> 1\. Regarding the "deletable filter", if that option is turned on, when a filter has been used, there is a delete icon next to it in order to cancel the filter.
>
> 2\. The filter will just search for products which have a chosen "characteristics/configurations".

But as you can see on the last screenshot, there is no any delete icon near "Test 1" option ![:(](/media/kunena/emoticons/22.png ":(")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgwODA4LWFib3V0LWZpbHRlci1hZ2Fpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 7 months ago [\#100615](#100615) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[About Filter again :)](/forum/4-how-to/80808-about-filter-again#100615 "1. Create custom field  2. Create Filter with this Custom field  3. Create test category and products with this Custom field. Product 1 &amp; 2 with &quot;Test 1&quot; value and Product 3 with &quot;Test 2&quot; value  4. Apply filter on a site page  It works, when I press for example &quot;Test 1&quot; in filter module. It shows Product 1 and Product 2. But how to delete filtering and show all 3 products again?")*

I tested it and it seems to be working fine for me, did you used your filter ? the delete icon will show only if your filter has been used.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgwODA4LWFib3V0LWZpbHRlci1hZ2Fpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

13 years 7 months ago [\#100639](#100639) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  Replied by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")* on topic *[About Filter again :)](/forum/4-how-to/80808-about-filter-again#100639 "1. Create custom field  2. Create Filter with this Custom field  3. Create test category and products with this Custom field. Product 1 &amp; 2 with &quot;Test 1&quot; value and Product 3 with &quot;Test 2&quot; value  4. Apply filter on a site page  It works, when I press for example &quot;Test 1&quot; in filter module. It shows Product 1 and Product 2. But how to delete filtering and show all 3 products again?")*

> Mohamed Thelji wrote: I tested it and it seems to be working fine for me, did you used your filter ? the delete icon will show only if your filter has been used.

I think it has been used. Because when I click "Test 1", it shows "Test product 1" and "Test product 2". When click "Test 2", it shows only "Test product 3", as I need.

Hard to understand how to config it correctly ![:(](/media/kunena/emoticons/22.png ":(")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgwODA4LWFib3V0LWZpbHRlci1hZ2Fpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 7 months ago [\#100738](#100738) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[About Filter again :)](/forum/4-how-to/80808-about-filter-again#100738 "1. Create custom field  2. Create Filter with this Custom field  3. Create test category and products with this Custom field. Product 1 &amp; 2 with &quot;Test 1&quot; value and Product 3 with &quot;Test 2&quot; value  4. Apply filter on a site page  It works, when I press for example &quot;Test 1&quot; in filter module. It shows Product 1 and Product 2. But how to delete filtering and show all 3 products again?")*

I think that you should maybe try it again with the type of your filter set to **checkbox** ![:)](/media/kunena/emoticons/3.png ":)").

The following user(s) said Thank You: [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgwODA4LWFib3V0LWZpbHRlci1hZ2Fpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

13 years 7 months ago [\#100793](#100793) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  Replied by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")* on topic *[About Filter again :)](/forum/4-how-to/80808-about-filter-again#100793 "1. Create custom field  2. Create Filter with this Custom field  3. Create test category and products with this Custom field. Product 1 &amp; 2 with &quot;Test 1&quot; value and Product 3 with &quot;Test 2&quot; value  4. Apply filter on a site page  It works, when I press for example &quot;Test 1&quot; in filter module. It shows Product 1 and Product 2. But how to delete filtering and show all 3 products again?")*

> Mohamed Thelji wrote: I think that you should maybe try it again with the type of your filter set to **checkbox** ![:)](/media/kunena/emoticons/3.png ":)").

Thank you. As checkbox I can delete it.

And now can I do this?:

[ ![6.gif](/forum/attachment/9822) ](/forum/attachment/9822 "6.gif")

When click in filter -&gt; Show in main part, what I selected in Filter.
And second: do not hide other options in filter. So I always can change it by one click (not first delete filter and select again).

- [ ![6.gif](/forum/attachment/9822) ](/forum/attachment/9822 "6.gif") [ ](/forum/attachment/9822?download=1 "6.gif")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgwODA4LWFib3V0LWZpbHRlci1hZ2Fpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

13 years 7 months ago [\#100812](#100812) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  Replied by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")* on topic *[About Filter again :)](/forum/4-how-to/80808-about-filter-again#100812 "1. Create custom field  2. Create Filter with this Custom field  3. Create test category and products with this Custom field. Product 1 &amp; 2 with &quot;Test 1&quot; value and Product 3 with &quot;Test 2&quot; value  4. Apply filter on a site page  It works, when I press for example &quot;Test 1&quot; in filter module. It shows Product 1 and Product 2. But how to delete filtering and show all 3 products again?")*

Type "List" do not hide other options, but there is no Delete button.
Type "Chekbox" hide other options, but there is Delete button.

But where is type, which do not hide other options and has Delete button?) :ohmy:

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgwODA4LWFib3V0LWZpbHRlci1hZ2Fpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 6 months ago [\#100837](#100837) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[About Filter again :)](/forum/4-how-to/80808-about-filter-again#100837 "1. Create custom field  2. Create Filter with this Custom field  3. Create test category and products with this Custom field. Product 1 &amp; 2 with &quot;Test 1&quot; value and Product 3 with &quot;Test 2&quot; value  4. Apply filter on a site page  It works, when I press for example &quot;Test 1&quot; in filter module. It shows Product 1 and Product 2. But how to delete filtering and show all 3 products again?")*

The best solution would be to use the list or checkbox type without the "deletable filter", regarding the "reset" button you can eventually edit the code of filters, but it would require some php knowledge.

Ps: I also added the filter reset button to our todo list.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgwODA4LWFib3V0LWZpbHRlci1hZ2Fpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

13 years 6 months ago -  13 years 6 months ago [\#100923](#100923) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  Replied by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")* on topic *[About Filter again :)](/forum/4-how-to/80808-about-filter-again#100923 "1. Create custom field  2. Create Filter with this Custom field  3. Create test category and products with this Custom field. Product 1 &amp; 2 with &quot;Test 1&quot; value and Product 3 with &quot;Test 2&quot; value  4. Apply filter on a site page  It works, when I press for example &quot;Test 1&quot; in filter module. It shows Product 1 and Product 2. But how to delete filtering and show all 3 products again?")*

The list or checkbox type without the "deletable filter" hasn't visible signs what the customer had selected in the filter. It confuses the customer ![:(](/media/kunena/emoticons/22.png ":(")

Is it hard to make selected option in filter bold or change color?

Last edit: 13 years 6 months ago by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgwODA4LWFib3V0LWZpbHRlci1hZ2Fpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

13 years 6 months ago [\#100928](#100928) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  Replied by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")* on topic *[About Filter again :)](/forum/4-how-to/80808-about-filter-again#100928 "1. Create custom field  2. Create Filter with this Custom field  3. Create test category and products with this Custom field. Product 1 &amp; 2 with &quot;Test 1&quot; value and Product 3 with &quot;Test 2&quot; value  4. Apply filter on a site page  It works, when I press for example &quot;Test 1&quot; in filter module. It shows Product 1 and Product 2. But how to delete filtering and show all 3 products again?")*

> Mohamed Thelji wrote: The best solution would be to use the list or checkbox type without the "deletable filter", regarding the "reset" button you can eventually edit the code of filters, but it would require some php knowledge.
>
> Ps: I also added the filter reset button to our todo list.

Reset button I think I can do this way: create Custom field "All" and set it for every item. So, then in filter I'll have All, Test 1, Test 2, Test 3... options. And click on All will show all items.

![:(](/media/kunena/emoticons/22.png ":(") but how to mark selected option in filter I can't understand.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgwODA4LWFib3V0LWZpbHRlci1hZ2Fpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

13 years 6 months ago -  13 years 6 months ago [\#100965](#100965) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  Replied by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")* on topic *[About Filter again :)](/forum/4-how-to/80808-about-filter-again#100965 "1. Create custom field  2. Create Filter with this Custom field  3. Create test category and products with this Custom field. Product 1 &amp; 2 with &quot;Test 1&quot; value and Product 3 with &quot;Test 2&quot; value  4. Apply filter on a site page  It works, when I press for example &quot;Test 1&quot; in filter module. It shows Product 1 and Product 2. But how to delete filtering and show all 3 products again?")*

find in filter.php code and add $tsvet (css class). Now it changes color, when click :woohoo:
Code:

if($filter-&gt;filter_data=='custom_field' &amp;&amp; empty($filter-&gt;filter_value)){ $field=parent::getFields($filter, $datas); if(!empty($field)){ if(is_array($field-&gt;field_value)){ foreach($field-&gt;field_value as $key =&gt; $val){ $tsvet=''; $checked=''; $deleteButton=''; $input=''; if(!empty($selected) &amp;&amp; is_array($selected) &amp;&amp; in_array($val[0], $selected)){ $tsvet='class="filter_checked"'; $checked='checked="checked"'; if($type=='radio'){ $deleteButton=' '.parent::getDeleteButton($filter, $divName, '', $html, '', true, 'field_'.$filter-&gt;filter_id.'_'.$key.'_'.$divName); } } if($type!='hidden') $input = '&lt;INPUT '.$onClick.' '.$checked.' type="'.$type.'" style="color: red;" name="filter_'.$filter-&gt;filter_namekey.$tab.'" value='.$val[0].' id="field_'.$filter-&gt;filter_id.'_'.$key.'_'.$divName.'"&gt;'; $html.='&lt;div class="hikashop_filter_checkbox"&gt;'.$input.'&lt;label ' .$tsvet. ' for="field_'.$filter-&gt;filter_id.'_'.$key.'_'.$divName.'"&gt;'.$val[1].'&lt;/label&gt;'.$deleteButton.'&lt;/div&gt;'.$br; } } } }

Last edit: 13 years 6 months ago by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgwODA4LWFib3V0LWZpbHRlci1hZ2Fpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.119 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
