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

#   Inherit filter bug

##

- **[Bender](/forum/user/38688-bender "View Bender's Profile")**
- [![Bender's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38688-bender "View Bender's Profile") Topic Author
- [ Offline](/forum/user/38688-bender)

Less More

- Posts: 239
- Thank you received: 8
-
-

7 years 11 months ago [\#301410](#301410) by [Bender](/forum/user/38688-bender "View Bender's Profile")  *[Inherit filter bug](/forum/45-filters-search/896412-inherit-filter-bug#301410 "-- HikaShop version -- : 4.0.1  Hello there, Filters work great, but today the bug came  i have few customs fields - they are filter1, filter2 ... filter10 for different of my products types i store in this field different data example filter1 (value, name) 0 - red - for product type 1 1- green - for product type 1 5 - car - for product type 2 6 - bike - for product type 2 10 - minus 50 .. plus 100C - for product type 3 11 - minus 50 .. plus 120C - for product type 3 12 - minus 50 .. plus 200C - for product type 3 etc After that i use filter for different category it works only if combination of filters returns product but if combination of filters on product listing will give no data to user then he used filter - the filters (single list in my case) will contains all data from custom fields witch is associated to this filters (for all filters on page) , but it have to contain only data for a parent category you know like - sorry no data found please try again  see youself here is an example   aketo.kz/datchiki/temperatury/termosopro...=303&amp;filter&#95;&#95;56=none  this not corect  but this is corect   aketo.kz/datchiki/temperatury/termosopro...&#95;54=&amp;filter&#95;&#95;56=none  Also i want to ask - how to make filter name instead choose value in my filters ? As you see on this page   aketo.kz/datchiki/temperatury/termosoprotivleniya  there are 6 filters - but only one of them the 6th has name")* was created by *[Bender](/forum/user/38688-bender "View Bender's Profile")*

-- HikaShop version -- : 4.0.1

Hello there,
Filters work great, but today the bug came

i have few customs fields - they are filter1, filter2 ... filter10 for different of my products types i store in this field different data
example
filter1 (value, name)
0 - red - for product type 1
1- green - for product type 1
5 - car - for product type 2
6 - bike - for product type 2
10 - minus 50 .. plus 100C - for product type 3
11 - minus 50 .. plus 120C - for product type 3
12 - minus 50 .. plus 200C - for product type 3
etc
After that i use filter for different category it works only if combination of filters returns product
but if combination of filters on product listing will give no data to user then he used filter - the filters (single list in my case) will contains all
data from custom fields witch is associated to this filters (for all filters on page) , but it have to contain only data for a parent category
you know like - sorry no data found please try again

see youself here is an example [ aketo.kz/datchiki/temperatury/termosopro...=303&amp;filter\_\_56=none](https://aketo.kz/datchiki/temperatury/termosoprotivleniya?limitstart=0&filter___49=300&filter__50=300&filter__51=300&filter__52=302&filter__53=301&filter__54=303&filter__56=none)

this not corect

but this is corect
[ aketo.kz/datchiki/temperatury/termosopro...\_54=&amp;filter\_\_56=none](https://aketo.kz/datchiki/temperatury/termosoprotivleniya?limitstart=0&filter___49=&filter__50=304&filter__51=&filter__52=&filter__53=&filter__54=&filter__56=none)

Also i want to ask - how to make filter name instead choose value in my filters ?
As you see on this page [ aketo.kz/datchiki/temperatury/termosoprotivleniya](https://aketo.kz/datchiki/temperatury/termosoprotivleniya)
there are 6 filters - but only one of them the 6th has name

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

7 years 11 months ago [\#301431](#301431) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Inherit filter bug](/forum/45-filters-search/896412-inherit-filter-bug#301431 "-- HikaShop version -- : 4.0.1  Hello there, Filters work great, but today the bug came  i have few customs fields - they are filter1, filter2 ... filter10 for different of my products types i store in this field different data example filter1 (value, name) 0 - red - for product type 1 1- green - for product type 1 5 - car - for product type 2 6 - bike - for product type 2 10 - minus 50 .. plus 100C - for product type 3 11 - minus 50 .. plus 120C - for product type 3 12 - minus 50 .. plus 200C - for product type 3 etc After that i use filter for different category it works only if combination of filters returns product but if combination of filters on product listing will give no data to user then he used filter - the filters (single list in my case) will contains all data from custom fields witch is associated to this filters (for all filters on page) , but it have to contain only data for a parent category you know like - sorry no data found please try again  see youself here is an example   aketo.kz/datchiki/temperatury/termosopro...=303&amp;filter&#95;&#95;56=none  this not corect  but this is corect   aketo.kz/datchiki/temperatury/termosopro...&#95;54=&amp;filter&#95;&#95;56=none  Also i want to ask - how to make filter name instead choose value in my filters ? As you see on this page   aketo.kz/datchiki/temperatury/termosoprotivleniya  there are 6 filters - but only one of them the 6th has name")*

Hi,

1. Since the filters have the "dynamic display" setting activated (I presume), it means that each filter only display the choices matching what is preselected in the other filters.
If you don't display the clear button, then once you selected a combination of choices which has no results, you'll not be able to unselect any filters. In order to avoid that, once dynamic filters don't have any results they deactivate their "dynamic display" setting until their are results again.
If you don't want that, then you'll have to change the code.
I think changing that code: Code:

if(!empty($filter-&gt;filter_options['custom_field']) &amp;&amp; !empty($datas['products'])){

to: Code:

if(!empty($filter-&gt;filter_options['custom_field'])){

in the file administrator/components/com_hikashop/classes/filter.php should do it.

2. In the settings of the filters you have the "title position" setting that you can set to "inside" for that.

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

- **[Bender](/forum/user/38688-bender "View Bender's Profile")**
- [![Bender's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38688-bender "View Bender's Profile") Topic Author
- [ Offline](/forum/user/38688-bender)

Less More

- Posts: 239
- Thank you received: 8
-
-

7 years 11 months ago -  7 years 11 months ago [\#301446](#301446) by [Bender](/forum/user/38688-bender "View Bender's Profile")  Replied by *[Bender](/forum/user/38688-bender "View Bender's Profile")* on topic *[Inherit filter bug](/forum/45-filters-search/896412-inherit-filter-bug#301446 "-- HikaShop version -- : 4.0.1  Hello there, Filters work great, but today the bug came  i have few customs fields - they are filter1, filter2 ... filter10 for different of my products types i store in this field different data example filter1 (value, name) 0 - red - for product type 1 1- green - for product type 1 5 - car - for product type 2 6 - bike - for product type 2 10 - minus 50 .. plus 100C - for product type 3 11 - minus 50 .. plus 120C - for product type 3 12 - minus 50 .. plus 200C - for product type 3 etc After that i use filter for different category it works only if combination of filters returns product but if combination of filters on product listing will give no data to user then he used filter - the filters (single list in my case) will contains all data from custom fields witch is associated to this filters (for all filters on page) , but it have to contain only data for a parent category you know like - sorry no data found please try again  see youself here is an example   aketo.kz/datchiki/temperatury/termosopro...=303&amp;filter&#95;&#95;56=none  this not corect  but this is corect   aketo.kz/datchiki/temperatury/termosopro...&#95;54=&amp;filter&#95;&#95;56=none  Also i want to ask - how to make filter name instead choose value in my filters ? As you see on this page   aketo.kz/datchiki/temperatury/termosoprotivleniya  there are 6 filters - but only one of them the 6th has name")*

> nicolas wrote:
> 2\. In the settings of the filters you have the "title position" setting that you can set to "inside" for that.

In the settings of the filters the "title position" already enabled to "inside" for that in my case.

I think it is because we need to replace in /administrator/components/com_hikashop/classes/filter.php
on line Code:

$html.='&lt;OPTION VALUE="none"

to Code:

$html.='&lt;OPTION VALUE="none" selected

in front view now for a single dropdown it looks like ok

but unfortunely not for a multiple dropdown
this option selected must be disabled for a multiple dropdowns
but enabled for a single dropdowns

how to make correctly ?

I mean here is for example htmls select tag of internal hikashop filter by manufacturer
Code:

&lt;div class="hikashop_filter__56"&gt; &lt;span id="filter_values_container__56_hikashop_category_information_module_" class="filter_values_container"&gt; &lt;SELECT size=1 name="filter__56" id="filter__56_hikashop_category_information_module_"&gt; &lt;OPTION VALUE="none"&gt;Manufacturer&lt;/OPTION&gt; &lt;OPTION name="manufacturers" value="12"&gt;ОВЕН&lt;/OPTION&gt; &lt;OPTION name="manufacturers" value="1029"&gt;DANFOSS&lt;/OPTION&gt; &lt;/SELECT&gt; &lt;/span&gt; &lt;/div&gt;

on the fron view then page already loaded Manufacturer select element already selected this option
like default Code:

&lt;OPTION VALUE="none"&gt;Manufacturer&lt;/OPTION&gt;

but for all my filters for customs fields i see in the select element - text - choose value,
but it should contain Code:

&lt;OPTION VALUE="none"&gt;My filter Name&lt;/OPTION&gt;

selected Code:

&lt;OPTION VALUE="none" select&gt;Manufacturer&lt;/OPTION&gt;

something like that

Last edit: 7 years 11 months ago by [Bender](/forum/user/38688-bender "View Bender's Profile").

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

- **[Bender](/forum/user/38688-bender "View Bender's Profile")**
- [![Bender's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38688-bender "View Bender's Profile") Topic Author
- [ Offline](/forum/user/38688-bender)

Less More

- Posts: 239
- Thank you received: 8
-
-

7 years 11 months ago -  7 years 11 months ago [\#301447](#301447) by [Bender](/forum/user/38688-bender "View Bender's Profile")  Replied by *[Bender](/forum/user/38688-bender "View Bender's Profile")* on topic *[Inherit filter bug](/forum/45-filters-search/896412-inherit-filter-bug#301447 "-- HikaShop version -- : 4.0.1  Hello there, Filters work great, but today the bug came  i have few customs fields - they are filter1, filter2 ... filter10 for different of my products types i store in this field different data example filter1 (value, name) 0 - red - for product type 1 1- green - for product type 1 5 - car - for product type 2 6 - bike - for product type 2 10 - minus 50 .. plus 100C - for product type 3 11 - minus 50 .. plus 120C - for product type 3 12 - minus 50 .. plus 200C - for product type 3 etc After that i use filter for different category it works only if combination of filters returns product but if combination of filters on product listing will give no data to user then he used filter - the filters (single list in my case) will contains all data from custom fields witch is associated to this filters (for all filters on page) , but it have to contain only data for a parent category you know like - sorry no data found please try again  see youself here is an example   aketo.kz/datchiki/temperatury/termosopro...=303&amp;filter&#95;&#95;56=none  this not corect  but this is corect   aketo.kz/datchiki/temperatury/termosopro...&#95;54=&amp;filter&#95;&#95;56=none  Also i want to ask - how to make filter name instead choose value in my filters ? As you see on this page   aketo.kz/datchiki/temperatury/termosoprotivleniya  there are 6 filters - but only one of them the 6th has name")*

> nicolas wrote: Hi,
>
> 1\. Since the filters have the "dynamic display" setting activated (I presume), it means that each filter only display the choices matching what is preselected in the other filters.
> If you don't display the clear button, then once you selected a combination of choices which has no results, you'll not be able to unselect any filters. In order to avoid that, once dynamic filters don't have any results they deactivate their "dynamic display" setting until their are results again.
> If you don't want that, then you'll have to change the code.
> I think changing that code:
>
> Code:
>
> if(!empty($filter-&gt;filter_options['custom_field']) &amp;&amp; !empty($datas['products'])){
>
>
>
> to: Code:
>
> if(!empty($filter-&gt;filter_options['custom_field'])){
>
>
>
> in the file administrator/components/com\_hikashop/classes/filter.php should do it.

it is pitty but it dont work

let me explain one more time the bug

I have 6 customs fields

in each of custom field i store different values for filtering for a different categories of products because i dont want to make my products table
in db big (this method said to me one of yours comrade on this forum)

here is an example code on loaded page
Code:

&lt;SELECT size=2 name="filter___49" id="filter___49_hikashop_category_information_module_"&gt; &lt;OPTION VALUE="none" selected&gt;Temp range&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="0"&gt;No data&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="311"&gt;-50...+50 °С&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="310"&gt;-50...+85 °С&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="300"&gt;-50...+100 °С&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="301"&gt;-50...+120 °С&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="303"&gt;-50...+150 °С&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="304"&gt;-50...+180°С&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="309"&gt;-50...+200 °C&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="305"&gt;-60...+250 °С&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="308"&gt;-50...+500 °С&lt;/OPTION&gt; &lt;/SELECT&gt;

It works good as it should - it shows only values for a category temp sensors

also for all of my other filters for this category the are contain dynamic data for products

if i will enable filter one by one - it works good dynamic data will show only variants for filter applied

but is I choose two or more filters and the result of such sql query will return null rows in this case i will get follow &lt;SELECT&gt; tag for my 1st filter in the example
Code:

&lt;SELECT size=2 name="filter___49" id="filter___49_hikashop_category_information_module_"&gt; &lt;OPTION VALUE="none" selected&gt;Temp range&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="0"&gt;No data&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="1"&gt;Normally closed&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="2"&gt;Normally open&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="3"&gt;Inductive&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="4"&gt;Capacitive&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="5"&gt;Ultrasonic&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="6"&gt;Оптический диффузный&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="7"&gt;Немеханический магнитный&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="8"&gt;Оптический ретрорефлекторный&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="9"&gt;Оптический барьерный&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="2001"&gt;0.0025 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="10"&gt;0.016 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="11"&gt;0.025 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="12"&gt;0.04 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="13"&gt;0.06 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="14"&gt;0.1 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="15"&gt;0.16 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="16"&gt;0.25 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="17"&gt;0.4 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="18"&gt;0.6 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="19"&gt;1.0 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="20"&gt;1.6 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="21"&gt;2.5 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="22"&gt;4.0 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="23"&gt;6.0 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="24"&gt;10.0 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="25"&gt;16.0 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="26"&gt;25.0 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="27"&gt;40.0 МПа&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="28"&gt;1,5 кВт&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="29"&gt;3 кВт&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="30"&gt;4 кВт&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="31"&gt;5,5 кВт&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="32"&gt;7,5 кВт&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="33"&gt;11 кВт&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="34"&gt;15 кВт&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="35"&gt;18,5 кВт&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="36"&gt;22 кВт&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="37"&gt;30 кВт&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="38"&gt;37 кВт&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="39"&gt;45 кВт&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="40"&gt;55 кВт&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="200"&gt;Красный&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="201"&gt;Желтый&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="202"&gt;Зеленый&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="203"&gt;Синий&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="204"&gt;Белый&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="311"&gt;-50...+50 °С&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="310"&gt;-50...+85 °С&lt;/OPTION&gt; &lt;OPTION selected="selected" name="custom_field" value="300"&gt;-50...+100 °С&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="301"&gt;-50...+120 °С&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="302"&gt;-50...+125 °С&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="303"&gt;-50...+150 °С&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="304"&gt;-50...+180°С&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="309"&gt;-50...+200 °C&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="305"&gt;-60...+250 °С&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="306"&gt;-50...+300 °С&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="307"&gt;-50...+450 °С&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="308"&gt;-50...+500 °С&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="400"&gt;5 А&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="401"&gt;10 А&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="402"&gt;15 А&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="403"&gt;25 А&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="404"&gt;40 А&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="405"&gt;60 А&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="406"&gt;80 А&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="407"&gt;100 А&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="408"&gt;120 А&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="409"&gt;150 А&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="410"&gt;200 А&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="411"&gt;250 А&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="412"&gt;600 А&lt;/OPTION&gt; &lt;OPTION name="custom_field" value="413"&gt;800 А&lt;/OPTION&gt; &lt;/SELECT&gt;

as you can see it now html element SELECT contains all data witch i store in custom field associaed to this filter also for all filters on category

also for internal filter by brand it will contain all brands in hikashop

But the normal result for this user's operation have to be something like 'sorry no data to display, please choose another combination of filters'

and show in html SELECT element user's selected values or to flush all filters and fill them only values associated to fields

I hope you understand me

Last edit: 7 years 11 months ago by [Bender](/forum/user/38688-bender "View Bender's Profile").

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

- **[Bender](/forum/user/38688-bender "View Bender's Profile")**
- [![Bender's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38688-bender "View Bender's Profile") Topic Author
- [ Offline](/forum/user/38688-bender)

Less More

- Posts: 239
- Thank you received: 8
-
-

7 years 11 months ago [\#301448](#301448) by [Bender](/forum/user/38688-bender "View Bender's Profile")  Replied by *[Bender](/forum/user/38688-bender "View Bender's Profile")* on topic *[Inherit filter bug](/forum/45-filters-search/896412-inherit-filter-bug#301448 "-- HikaShop version -- : 4.0.1  Hello there, Filters work great, but today the bug came  i have few customs fields - they are filter1, filter2 ... filter10 for different of my products types i store in this field different data example filter1 (value, name) 0 - red - for product type 1 1- green - for product type 1 5 - car - for product type 2 6 - bike - for product type 2 10 - minus 50 .. plus 100C - for product type 3 11 - minus 50 .. plus 120C - for product type 3 12 - minus 50 .. plus 200C - for product type 3 etc After that i use filter for different category it works only if combination of filters returns product but if combination of filters on product listing will give no data to user then he used filter - the filters (single list in my case) will contains all data from custom fields witch is associated to this filters (for all filters on page) , but it have to contain only data for a parent category you know like - sorry no data found please try again  see youself here is an example   aketo.kz/datchiki/temperatury/termosopro...=303&amp;filter&#95;&#95;56=none  this not corect  but this is corect   aketo.kz/datchiki/temperatury/termosopro...&#95;54=&amp;filter&#95;&#95;56=none  Also i want to ask - how to make filter name instead choose value in my filters ? As you see on this page   aketo.kz/datchiki/temperatury/termosoprotivleniya  there are 6 filters - but only one of them the 6th has name")*

Also what means "Defined limits" in filter setting
what it using for ?

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

7 years 11 months ago [\#301572](#301572) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Inherit filter bug](/forum/45-filters-search/896412-inherit-filter-bug#301572 "-- HikaShop version -- : 4.0.1  Hello there, Filters work great, but today the bug came  i have few customs fields - they are filter1, filter2 ... filter10 for different of my products types i store in this field different data example filter1 (value, name) 0 - red - for product type 1 1- green - for product type 1 5 - car - for product type 2 6 - bike - for product type 2 10 - minus 50 .. plus 100C - for product type 3 11 - minus 50 .. plus 120C - for product type 3 12 - minus 50 .. plus 200C - for product type 3 etc After that i use filter for different category it works only if combination of filters returns product but if combination of filters on product listing will give no data to user then he used filter - the filters (single list in my case) will contains all data from custom fields witch is associated to this filters (for all filters on page) , but it have to contain only data for a parent category you know like - sorry no data found please try again  see youself here is an example   aketo.kz/datchiki/temperatury/termosopro...=303&amp;filter&#95;&#95;56=none  this not corect  but this is corect   aketo.kz/datchiki/temperatury/termosopro...&#95;54=&amp;filter&#95;&#95;56=none  Also i want to ask - how to make filter name instead choose value in my filters ? As you see on this page   aketo.kz/datchiki/temperatury/termosoprotivleniya  there are 6 filters - but only one of them the 6th has name")*

Hi,

1.

> in each of custom field i store different values for filtering for a different categories of products because i dont want to make my products table
> in db big (this method said to me one of yours comrade on this forum)

I think that's where the problem is. I would rather recommend to have the values in different custom fields. Sure, you'll have a bigger hikashop_product table but that shouldn't be too much of a problem unless you have hundred of thousands of products and hundreds of custom fields.
Actually, having to activate the "dynamic display" setting adds MySQL queries to the page to know what to display in each dropdown so I'm not sure it helps performance-wise.
Even if the hikashop_product table doubles in size it shouldn't be a problem.

Having it setup like that, you'll have only the relevant values in each dropdown. And that's why I wasn't able to understand the problem you had as I didn't had it on my end the way I set up the custom fields and filters.

2. When you're applying a filter on a custom field, you have the "values" area where you can enter numbers so that the filter will actually contain the ranges between these numbers instead of the values entered in the custom field.
It's useful when you custom field contain values, or prices.
So in the filter, you'll end up with choices like that:
from 10 to 50
from 50 to 200
from 200 to 1000
And if you activate that "defined limits" setting, you'll also get:
below 10
above 1000
in the choices of the filter.

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

- **[Bender](/forum/user/38688-bender "View Bender's Profile")**
- [![Bender's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38688-bender "View Bender's Profile") Topic Author
- [ Offline](/forum/user/38688-bender)

Less More

- Posts: 239
- Thank you received: 8
-
-

7 years 11 months ago [\#301663](#301663) by [Bender](/forum/user/38688-bender "View Bender's Profile")  Replied by *[Bender](/forum/user/38688-bender "View Bender's Profile")* on topic *[Inherit filter bug](/forum/45-filters-search/896412-inherit-filter-bug#301663 "-- HikaShop version -- : 4.0.1  Hello there, Filters work great, but today the bug came  i have few customs fields - they are filter1, filter2 ... filter10 for different of my products types i store in this field different data example filter1 (value, name) 0 - red - for product type 1 1- green - for product type 1 5 - car - for product type 2 6 - bike - for product type 2 10 - minus 50 .. plus 100C - for product type 3 11 - minus 50 .. plus 120C - for product type 3 12 - minus 50 .. plus 200C - for product type 3 etc After that i use filter for different category it works only if combination of filters returns product but if combination of filters on product listing will give no data to user then he used filter - the filters (single list in my case) will contains all data from custom fields witch is associated to this filters (for all filters on page) , but it have to contain only data for a parent category you know like - sorry no data found please try again  see youself here is an example   aketo.kz/datchiki/temperatury/termosopro...=303&amp;filter&#95;&#95;56=none  this not corect  but this is corect   aketo.kz/datchiki/temperatury/termosopro...&#95;54=&amp;filter&#95;&#95;56=none  Also i want to ask - how to make filter name instead choose value in my filters ? As you see on this page   aketo.kz/datchiki/temperatury/termosoprotivleniya  there are 6 filters - but only one of them the 6th has name")*

actually i'm gonna upload a thousands of product and make a thousands of filters for them in shop, do you mean Hikashop as a product is not suitable for such applications ? What kind of future so waiting us the users of Hikashop, what is Hikashop life cycle?

This bug should be fixed in future releases, now i used "by click" function - seems like ok
Also will be nice to use ajax for filtering instead get or post data.

What about my second question - titles of filters ?

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

7 years 11 months ago [\#301675](#301675) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Inherit filter bug](/forum/45-filters-search/896412-inherit-filter-bug#301675 "-- HikaShop version -- : 4.0.1  Hello there, Filters work great, but today the bug came  i have few customs fields - they are filter1, filter2 ... filter10 for different of my products types i store in this field different data example filter1 (value, name) 0 - red - for product type 1 1- green - for product type 1 5 - car - for product type 2 6 - bike - for product type 2 10 - minus 50 .. plus 100C - for product type 3 11 - minus 50 .. plus 120C - for product type 3 12 - minus 50 .. plus 200C - for product type 3 etc After that i use filter for different category it works only if combination of filters returns product but if combination of filters on product listing will give no data to user then he used filter - the filters (single list in my case) will contains all data from custom fields witch is associated to this filters (for all filters on page) , but it have to contain only data for a parent category you know like - sorry no data found please try again  see youself here is an example   aketo.kz/datchiki/temperatury/termosopro...=303&amp;filter&#95;&#95;56=none  this not corect  but this is corect   aketo.kz/datchiki/temperatury/termosopro...&#95;54=&amp;filter&#95;&#95;56=none  Also i want to ask - how to make filter name instead choose value in my filters ? As you see on this page   aketo.kz/datchiki/temperatury/termosoprotivleniya  there are 6 filters - but only one of them the 6th has name")*

Hi,

1. No, I just mean that you shouldn't group values of things you want to filter in separate filters in the same custom fields. The issue you have is a by-product of doing that. If you setup the values that should be in the same dropdown in the same custom field, and the values that should be in different dropdowns in different custom fields, it should work fine.

2. Regarding the future of HikaShop, redoing completely the filter system is something we want to work on, hopefully in 2019 although I can't promise any date as we didn't start anything yet on that. Of course, when we redo it, having the system fully ajax will be one of the main points of improvements, (like we did previously with the checkout, the add to cart, etc).

3. Regarding the title of the filters, I missed the question in my previous message. Sorry for that.
Replacing : Code:

$html.='&lt;OPTION VALUE="none"

by: Code:

$html.='&lt;OPTION VALUE="none" selected

won't work. It's more complex. I think we actually need something like that instead: Code:

$html.='&lt;OPTION VALUE="none"'.(empty($selected) &#124;&#124; !count($selected) &#124;&#124; in_array('none', $selected) ? ' selected', '').'

Note that there are two places in the file where you would have to change that code.

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

- **[Bender](/forum/user/38688-bender "View Bender's Profile")**
- [![Bender's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38688-bender "View Bender's Profile") Topic Author
- [ Offline](/forum/user/38688-bender)

Less More

- Posts: 239
- Thank you received: 8
-
-

7 years 10 months ago [\#301912](#301912) by [Bender](/forum/user/38688-bender "View Bender's Profile")  Replied by *[Bender](/forum/user/38688-bender "View Bender's Profile")* on topic *[Inherit filter bug](/forum/45-filters-search/896412-inherit-filter-bug#301912 "-- HikaShop version -- : 4.0.1  Hello there, Filters work great, but today the bug came  i have few customs fields - they are filter1, filter2 ... filter10 for different of my products types i store in this field different data example filter1 (value, name) 0 - red - for product type 1 1- green - for product type 1 5 - car - for product type 2 6 - bike - for product type 2 10 - minus 50 .. plus 100C - for product type 3 11 - minus 50 .. plus 120C - for product type 3 12 - minus 50 .. plus 200C - for product type 3 etc After that i use filter for different category it works only if combination of filters returns product but if combination of filters on product listing will give no data to user then he used filter - the filters (single list in my case) will contains all data from custom fields witch is associated to this filters (for all filters on page) , but it have to contain only data for a parent category you know like - sorry no data found please try again  see youself here is an example   aketo.kz/datchiki/temperatury/termosopro...=303&amp;filter&#95;&#95;56=none  this not corect  but this is corect   aketo.kz/datchiki/temperatury/termosopro...&#95;54=&amp;filter&#95;&#95;56=none  Also i want to ask - how to make filter name instead choose value in my filters ? As you see on this page   aketo.kz/datchiki/temperatury/termosoprotivleniya  there are 6 filters - but only one of them the 6th has name")*

it is if to make size of filter=1 in filter settings bug will go away.

left as is

thanks a lot

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

- **[Bender](/forum/user/38688-bender "View Bender's Profile")**
- [![Bender's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38688-bender "View Bender's Profile") Topic Author
- [ Offline](/forum/user/38688-bender)

Less More

- Posts: 239
- Thank you received: 8
-
-

7 years 10 months ago [\#301913](#301913) by [Bender](/forum/user/38688-bender "View Bender's Profile")  Replied by *[Bender](/forum/user/38688-bender "View Bender's Profile")* on topic *[Inherit filter bug](/forum/45-filters-search/896412-inherit-filter-bug#301913 "-- HikaShop version -- : 4.0.1  Hello there, Filters work great, but today the bug came  i have few customs fields - they are filter1, filter2 ... filter10 for different of my products types i store in this field different data example filter1 (value, name) 0 - red - for product type 1 1- green - for product type 1 5 - car - for product type 2 6 - bike - for product type 2 10 - minus 50 .. plus 100C - for product type 3 11 - minus 50 .. plus 120C - for product type 3 12 - minus 50 .. plus 200C - for product type 3 etc After that i use filter for different category it works only if combination of filters returns product but if combination of filters on product listing will give no data to user then he used filter - the filters (single list in my case) will contains all data from custom fields witch is associated to this filters (for all filters on page) , but it have to contain only data for a parent category you know like - sorry no data found please try again  see youself here is an example   aketo.kz/datchiki/temperatury/termosopro...=303&amp;filter&#95;&#95;56=none  this not corect  but this is corect   aketo.kz/datchiki/temperatury/termosopro...&#95;54=&amp;filter&#95;&#95;56=none  Also i want to ask - how to make filter name instead choose value in my filters ? As you see on this page   aketo.kz/datchiki/temperatury/termosoprotivleniya  there are 6 filters - but only one of them the 6th has name")*

Where to find file witch shows filter after user use it

i want to delete br element from this code
Code:

&lt;div class="hikashop_filter__55"&gt;&lt;span class="hikashop_filter_title"&gt;Максимальный ток&lt;/span&gt; &lt;br/&gt;&lt;span id="filter_values_container__55_hikashop_category_information_module_" class="filter_values_container"&gt;&gt; &lt;a class="hikashop_filter_list_selected" style="font-weight:bold"&gt;100 А&lt;/a&gt;

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

7 years 10 months ago [\#301925](#301925) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Inherit filter bug](/forum/45-filters-search/896412-inherit-filter-bug#301925 "-- HikaShop version -- : 4.0.1  Hello there, Filters work great, but today the bug came  i have few customs fields - they are filter1, filter2 ... filter10 for different of my products types i store in this field different data example filter1 (value, name) 0 - red - for product type 1 1- green - for product type 1 5 - car - for product type 2 6 - bike - for product type 2 10 - minus 50 .. plus 100C - for product type 3 11 - minus 50 .. plus 120C - for product type 3 12 - minus 50 .. plus 200C - for product type 3 etc After that i use filter for different category it works only if combination of filters returns product but if combination of filters on product listing will give no data to user then he used filter - the filters (single list in my case) will contains all data from custom fields witch is associated to this filters (for all filters on page) , but it have to contain only data for a parent category you know like - sorry no data found please try again  see youself here is an example   aketo.kz/datchiki/temperatury/termosopro...=303&amp;filter&#95;&#95;56=none  this not corect  but this is corect   aketo.kz/datchiki/temperatury/termosopro...&#95;54=&amp;filter&#95;&#95;56=none  Also i want to ask - how to make filter name instead choose value in my filters ? As you see on this page   aketo.kz/datchiki/temperatury/termosoprotivleniya  there are 6 filters - but only one of them the 6th has name")*

Hi,

There is no such &lt;br/&gt; tag by default.
I suppose that you must have a translation override of the translation:
CURSOR_TITLE_SEPARATOR=": "
with:
CURSOR_TITLE_SEPARATOR="&lt;br/&gt;"
instead, which could explain the resulting HTML in your message.

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

- **[Bender](/forum/user/38688-bender "View Bender's Profile")**
- [![Bender's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38688-bender "View Bender's Profile") Topic Author
- [ Offline](/forum/user/38688-bender)

Less More

- Posts: 239
- Thank you received: 8
-
-

7 years 10 months ago [\#301941](#301941) by [Bender](/forum/user/38688-bender "View Bender's Profile")  Replied by *[Bender](/forum/user/38688-bender "View Bender's Profile")* on topic *[Inherit filter bug](/forum/45-filters-search/896412-inherit-filter-bug#301941 "-- HikaShop version -- : 4.0.1  Hello there, Filters work great, but today the bug came  i have few customs fields - they are filter1, filter2 ... filter10 for different of my products types i store in this field different data example filter1 (value, name) 0 - red - for product type 1 1- green - for product type 1 5 - car - for product type 2 6 - bike - for product type 2 10 - minus 50 .. plus 100C - for product type 3 11 - minus 50 .. plus 120C - for product type 3 12 - minus 50 .. plus 200C - for product type 3 etc After that i use filter for different category it works only if combination of filters returns product but if combination of filters on product listing will give no data to user then he used filter - the filters (single list in my case) will contains all data from custom fields witch is associated to this filters (for all filters on page) , but it have to contain only data for a parent category you know like - sorry no data found please try again  see youself here is an example   aketo.kz/datchiki/temperatury/termosopro...=303&amp;filter&#95;&#95;56=none  this not corect  but this is corect   aketo.kz/datchiki/temperatury/termosopro...&#95;54=&amp;filter&#95;&#95;56=none  Also i want to ask - how to make filter name instead choose value in my filters ? As you see on this page   aketo.kz/datchiki/temperatury/termosoprotivleniya  there are 6 filters - but only one of them the 6th has name")*

> nicolas wrote: Hi,
>
> There is no such &lt;br/&gt; tag by default.
> I suppose that you must have a translation override of the translation:
> CURSOR\_TITLE\_SEPARATOR=": "
> with:
> CURSOR\_TITLE\_SEPARATOR="&lt;br/&gt;"
> instead, which could explain the resulting HTML in your message.

I cheked translation overide but CURSOR_TITLE_SEPARATOR=": "
no translation also a searched for br element in the translation
there are only 4 places with br element but no one of them associated with filters

what else may be ?

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

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

7 years 10 months ago -  7 years 10 months ago [\#302116](#302116) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Inherit filter bug](/forum/45-filters-search/896412-inherit-filter-bug#302116 "-- HikaShop version -- : 4.0.1  Hello there, Filters work great, but today the bug came  i have few customs fields - they are filter1, filter2 ... filter10 for different of my products types i store in this field different data example filter1 (value, name) 0 - red - for product type 1 1- green - for product type 1 5 - car - for product type 2 6 - bike - for product type 2 10 - minus 50 .. plus 100C - for product type 3 11 - minus 50 .. plus 120C - for product type 3 12 - minus 50 .. plus 200C - for product type 3 etc After that i use filter for different category it works only if combination of filters returns product but if combination of filters on product listing will give no data to user then he used filter - the filters (single list in my case) will contains all data from custom fields witch is associated to this filters (for all filters on page) , but it have to contain only data for a parent category you know like - sorry no data found please try again  see youself here is an example   aketo.kz/datchiki/temperatury/termosopro...=303&amp;filter&#95;&#95;56=none  this not corect  but this is corect   aketo.kz/datchiki/temperatury/termosopro...&#95;54=&amp;filter&#95;&#95;56=none  Also i want to ask - how to make filter name instead choose value in my filters ? As you see on this page   aketo.kz/datchiki/temperatury/termosoprotivleniya  there are 6 filters - but only one of them the 6th has name")*

Hello,

Did you check in your **HikaShop Language** files, just to be sure :

[ ![&#91;img](https://i.imgur.com/7vVQqbp.png) ](https://i.imgur.com/7vVQqbp.png "&#91;img")

If yes, and nothing seems wrong, next step can you provide :
- Some **frontend**/**Backend** access via our **[ Contact us](https://www.hikashop.com/support/contact-us.html)** form and add an **Url link** to this topic

Regards

Last edit: 7 years 10 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

- **[Bender](/forum/user/38688-bender "View Bender's Profile")**
- [![Bender's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38688-bender "View Bender's Profile") Topic Author
- [ Offline](/forum/user/38688-bender)

Less More

- Posts: 239
- Thank you received: 8
-
-

7 years 10 months ago [\#302323](#302323) by [Bender](/forum/user/38688-bender "View Bender's Profile")  Replied by *[Bender](/forum/user/38688-bender "View Bender's Profile")* on topic *[Inherit filter bug](/forum/45-filters-search/896412-inherit-filter-bug#302323 "-- HikaShop version -- : 4.0.1  Hello there, Filters work great, but today the bug came  i have few customs fields - they are filter1, filter2 ... filter10 for different of my products types i store in this field different data example filter1 (value, name) 0 - red - for product type 1 1- green - for product type 1 5 - car - for product type 2 6 - bike - for product type 2 10 - minus 50 .. plus 100C - for product type 3 11 - minus 50 .. plus 120C - for product type 3 12 - minus 50 .. plus 200C - for product type 3 etc After that i use filter for different category it works only if combination of filters returns product but if combination of filters on product listing will give no data to user then he used filter - the filters (single list in my case) will contains all data from custom fields witch is associated to this filters (for all filters on page) , but it have to contain only data for a parent category you know like - sorry no data found please try again  see youself here is an example   aketo.kz/datchiki/temperatury/termosopro...=303&amp;filter&#95;&#95;56=none  this not corect  but this is corect   aketo.kz/datchiki/temperatury/termosopro...&#95;54=&amp;filter&#95;&#95;56=none  Also i want to ask - how to make filter name instead choose value in my filters ? As you see on this page   aketo.kz/datchiki/temperatury/termosoprotivleniya  there are 6 filters - but only one of them the 6th has name")*

> Philip wrote: Hello,
>
> Did you check in your **HikaShop Language** files, just to be sure :
>
>  [ ![&#91;img](https://i.imgur.com/7vVQqbp.png) ](https://i.imgur.com/7vVQqbp.png "&#91;img")
>
>
>
> If yes, and nothing seems wrong, next step can you provide :
> - Some **frontend**/**Backend** access via our **[ Contact us](https://www.hikashop.com/support/contact-us.html)** form and add an **Url link** to this topic
>
> Regards

I did check - there is no overrides about theme
I sent access to your email

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

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

7 years 10 months ago -  7 years 10 months ago [\#302403](#302403) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Inherit filter bug](/forum/45-filters-search/896412-inherit-filter-bug#302403 "-- HikaShop version -- : 4.0.1  Hello there, Filters work great, but today the bug came  i have few customs fields - they are filter1, filter2 ... filter10 for different of my products types i store in this field different data example filter1 (value, name) 0 - red - for product type 1 1- green - for product type 1 5 - car - for product type 2 6 - bike - for product type 2 10 - minus 50 .. plus 100C - for product type 3 11 - minus 50 .. plus 120C - for product type 3 12 - minus 50 .. plus 200C - for product type 3 etc After that i use filter for different category it works only if combination of filters returns product but if combination of filters on product listing will give no data to user then he used filter - the filters (single list in my case) will contains all data from custom fields witch is associated to this filters (for all filters on page) , but it have to contain only data for a parent category you know like - sorry no data found please try again  see youself here is an example   aketo.kz/datchiki/temperatury/termosopro...=303&amp;filter&#95;&#95;56=none  this not corect  but this is corect   aketo.kz/datchiki/temperatury/termosopro...&#95;54=&amp;filter&#95;&#95;56=none  Also i want to ask - how to make filter name instead choose value in my filters ? As you see on this page   aketo.kz/datchiki/temperatury/termosoprotivleniya  there are 6 filters - but only one of them the 6th has name")*

Hello,

Please note these differents points :
- When I go to your website backend, I notice that you **haven't default template** (like ProtoStar by example), sometimes it's good to
switch to such a default template in order to see if your display issue.
On the same idea, for a reason or another, I wasn't able to switch to another template

- You haven't any override view on the **product/filter** view, so I checked your template css, I find this :

[ ![&#91;img](https://i.imgur.com/biRIQCE.png) ](https://i.imgur.com/biRIQCE.png "&#91;img")

You have some **custom css** that set your **span** (html inline elements) to be a **block element**, and so the **&lt;/br&gt; + span** in block create **2** back to line.

Note that we understand where come from the **&lt;/br&gt;** it's from a **function** that have **to set html title display** and so this leads to provide you **2** solutions :
- Delete from your Css the "***display: block;***"
- Try to edit your **filter.php** in **YourWebsite\\components\\com\_hikashop\\views\\product\\tmpl** folder, and around line **1275**, remove the
***&lt;/br&gt;*** to see if the result can match your needs.

Hope this will fit your needs
Regards

Last edit: 7 years 10 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

- **[Bender](/forum/user/38688-bender "View Bender's Profile")**
- [![Bender's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38688-bender "View Bender's Profile") Topic Author
- [ Offline](/forum/user/38688-bender)

Less More

- Posts: 239
- Thank you received: 8
-
-

7 years 10 months ago -  7 years 10 months ago [\#302424](#302424) by [Bender](/forum/user/38688-bender "View Bender's Profile")  Replied by *[Bender](/forum/user/38688-bender "View Bender's Profile")* on topic *[Inherit filter bug](/forum/45-filters-search/896412-inherit-filter-bug#302424 "-- HikaShop version -- : 4.0.1  Hello there, Filters work great, but today the bug came  i have few customs fields - they are filter1, filter2 ... filter10 for different of my products types i store in this field different data example filter1 (value, name) 0 - red - for product type 1 1- green - for product type 1 5 - car - for product type 2 6 - bike - for product type 2 10 - minus 50 .. plus 100C - for product type 3 11 - minus 50 .. plus 120C - for product type 3 12 - minus 50 .. plus 200C - for product type 3 etc After that i use filter for different category it works only if combination of filters returns product but if combination of filters on product listing will give no data to user then he used filter - the filters (single list in my case) will contains all data from custom fields witch is associated to this filters (for all filters on page) , but it have to contain only data for a parent category you know like - sorry no data found please try again  see youself here is an example   aketo.kz/datchiki/temperatury/termosopro...=303&amp;filter&#95;&#95;56=none  this not corect  but this is corect   aketo.kz/datchiki/temperatury/termosopro...&#95;54=&amp;filter&#95;&#95;56=none  Also i want to ask - how to make filter name instead choose value in my filters ? As you see on this page   aketo.kz/datchiki/temperatury/termosoprotivleniya  there are 6 filters - but only one of them the 6th has name")*

now its ok
replaced Code:

.hikashop_filter_title {color:#555; font-weight:bold; font-size:12px; margin-bottom:8px; display:block}

to
Code:

.hikashop_filter_title {color:#555; font-weight:bold; font-size:12px; margin-bottom:8px; }

Last edit: 7 years 10 months ago by [Bender](/forum/user/38688-bender "View Bender's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5NjQxMi1pbmhlcml0LWZpbHRlci1idWc/dG1wbD1tYXJrZG93bg==) 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.098 seconds

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