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

#   Filter based on custom field multiple drop down

##

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

Less More

- Posts: 100
- Thank you received: 1
-
-

12 years 9 months ago -  12 years 9 months ago [\#140994](#140994) by [reders](/forum/user/8228-reders "View reders's Profile")  *[Filter based on custom field multiple drop down](/forum/45-filters-search/865288-filter-based-on-custom-field-multiple-drop-down#140994 "-- HikaShop version -- : HikaShop Business: 2.2.3 -- Joomla version -- : 3.2 -- Browser(s) name and version -- : All  Hi,  I have a checkbox type filter applied on a multiple drop down type custom field and the filter result is not as expected.  The custom filed is set up like: Label: Model Type: multiple drop down Values: (Value | Title) 1 | KTM 2 | Husaberg 3 | Honda . . 10 | Sherco 11 | Beta 12 | Montesa  The filter is set up like: Type: Checkbox Dynamic Display: Yes Apply on: Custom Fields Custom fields: Model  The products are set up like Product 1 - Model = KTM Product 2 - Model = Husaberg Product 3 - Model = Honda Product 4 - Model = Sherco Product 5 - Model = Beta Product 6 - Model = Montesa  I am using the Filter module, when I select KTM on the filter module the result should be: Product 1 but the result is: Product 1 Product 4 Product 5 Product 6  Its seems because the value of the custom field KTM is 1 and the values for the custom fields Sherco, Beta, Montesa contain 1 they are being displayed as results.  I have attached a 2 screenshots of the settings for the custom field and filter  Is this a bug? or have i got it configured incorrectly?  Thanks Alex")* was created by *[reders](/forum/user/8228-reders "View reders's Profile")*

-- HikaShop version -- : HikaShop Business: 2.2.3
-- Joomla version -- : 3.2
-- Browser(s) name and version -- : All

Hi,

I have a checkbox type filter applied on a multiple drop down type custom field and the filter result is not as expected.

**The custom filed is set up like**:
Label: Model
Type: multiple drop down
Values: (Value &#124; Title)
1 &#124; KTM
2 &#124; Husaberg
3 &#124; Honda
.
.
10 &#124; Sherco
11 &#124; Beta
12 &#124; Montesa

**The filter is set up like**:
Type: Checkbox
Dynamic Display: Yes
Apply on: Custom Fields
Custom fields: Model

**The products are set up like**
Product 1 - Model = KTM
Product 2 - Model = Husaberg
Product 3 - Model = Honda
Product 4 - Model = Sherco
Product 5 - Model = Beta
Product 6 - Model = Montesa

I am using the Filter module, when I select KTM on the filter module the result should be:
Product 1
but the result is:
Product 1
Product 4
Product 5
Product 6

Its seems because the value of the custom field KTM is 1 and the values for the custom fields Sherco, Beta, Montesa contain 1 they are being displayed as results.

I have attached a 2 screenshots of the settings for the custom field and filter

Is this a bug? or have i got it configured incorrectly?

Thanks
Alex

- [ ![h73395a0.png](/forum/attachment/14872) ](/forum/attachment/14872 "h73395a0.png") [ ](/forum/attachment/14872?download=1 "h73395a0.png")
- [ ![h3090432.png](/forum/attachment/14873) ](/forum/attachment/14873 "h3090432.png") [ ](/forum/attachment/14873?download=1 "h3090432.png")

Last edit: 12 years 9 months ago by [reders](/forum/user/8228-reders "View reders's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg2NTI4OC1maWx0ZXItYmFzZWQtb24tY3VzdG9tLWZpZWxkLW11bHRpcGxlLWRyb3AtZG93bj90bXBsPW1hcmtkb3du) 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
-
-
-

12 years 9 months ago [\#141068](#141068) 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 *[Filter based on custom field multiple drop down](/forum/45-filters-search/865288-filter-based-on-custom-field-multiple-drop-down#141068 "-- HikaShop version -- : HikaShop Business: 2.2.3 -- Joomla version -- : 3.2 -- Browser(s) name and version -- : All  Hi,  I have a checkbox type filter applied on a multiple drop down type custom field and the filter result is not as expected.  The custom filed is set up like: Label: Model Type: multiple drop down Values: (Value | Title) 1 | KTM 2 | Husaberg 3 | Honda . . 10 | Sherco 11 | Beta 12 | Montesa  The filter is set up like: Type: Checkbox Dynamic Display: Yes Apply on: Custom Fields Custom fields: Model  The products are set up like Product 1 - Model = KTM Product 2 - Model = Husaberg Product 3 - Model = Honda Product 4 - Model = Sherco Product 5 - Model = Beta Product 6 - Model = Montesa  I am using the Filter module, when I select KTM on the filter module the result should be: Product 1 but the result is: Product 1 Product 4 Product 5 Product 6  Its seems because the value of the custom field KTM is 1 and the values for the custom fields Sherco, Beta, Montesa contain 1 they are being displayed as results.  I have attached a 2 screenshots of the settings for the custom field and filter  Is this a bug? or have i got it configured incorrectly?  Thanks Alex")*

Hi,
Can you go to 6 product configuration pages, set their "model" value, and save at least one time and test it again ?

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

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

Less More

- Posts: 100
- Thank you received: 1
-
-

12 years 9 months ago [\#141088](#141088) by [reders](/forum/user/8228-reders "View reders's Profile")  Replied by *[reders](/forum/user/8228-reders "View reders's Profile")* on topic *[Filter based on custom field multiple drop down](/forum/45-filters-search/865288-filter-based-on-custom-field-multiple-drop-down#141088 "-- HikaShop version -- : HikaShop Business: 2.2.3 -- Joomla version -- : 3.2 -- Browser(s) name and version -- : All  Hi,  I have a checkbox type filter applied on a multiple drop down type custom field and the filter result is not as expected.  The custom filed is set up like: Label: Model Type: multiple drop down Values: (Value | Title) 1 | KTM 2 | Husaberg 3 | Honda . . 10 | Sherco 11 | Beta 12 | Montesa  The filter is set up like: Type: Checkbox Dynamic Display: Yes Apply on: Custom Fields Custom fields: Model  The products are set up like Product 1 - Model = KTM Product 2 - Model = Husaberg Product 3 - Model = Honda Product 4 - Model = Sherco Product 5 - Model = Beta Product 6 - Model = Montesa  I am using the Filter module, when I select KTM on the filter module the result should be: Product 1 but the result is: Product 1 Product 4 Product 5 Product 6  Its seems because the value of the custom field KTM is 1 and the values for the custom fields Sherco, Beta, Montesa contain 1 they are being displayed as results.  I have attached a 2 screenshots of the settings for the custom field and filter  Is this a bug? or have i got it configured incorrectly?  Thanks Alex")*

Hi,

Thank you for your reply.

The model value is set for every product, please see screenshot attached.

Thank you

- [ ![h8706246.png](/forum/attachment/14889) ](/forum/attachment/14889 "h8706246.png") [ ](/forum/attachment/14889?download=1 "h8706246.png")

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

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

Less More

- Posts: 100
- Thank you received: 1
-
-

12 years 9 months ago [\#141097](#141097) by [reders](/forum/user/8228-reders "View reders's Profile")  Replied by *[reders](/forum/user/8228-reders "View reders's Profile")* on topic *[Filter based on custom field multiple drop down](/forum/45-filters-search/865288-filter-based-on-custom-field-multiple-drop-down#141097 "-- HikaShop version -- : HikaShop Business: 2.2.3 -- Joomla version -- : 3.2 -- Browser(s) name and version -- : All  Hi,  I have a checkbox type filter applied on a multiple drop down type custom field and the filter result is not as expected.  The custom filed is set up like: Label: Model Type: multiple drop down Values: (Value | Title) 1 | KTM 2 | Husaberg 3 | Honda . . 10 | Sherco 11 | Beta 12 | Montesa  The filter is set up like: Type: Checkbox Dynamic Display: Yes Apply on: Custom Fields Custom fields: Model  The products are set up like Product 1 - Model = KTM Product 2 - Model = Husaberg Product 3 - Model = Honda Product 4 - Model = Sherco Product 5 - Model = Beta Product 6 - Model = Montesa  I am using the Filter module, when I select KTM on the filter module the result should be: Product 1 but the result is: Product 1 Product 4 Product 5 Product 6  Its seems because the value of the custom field KTM is 1 and the values for the custom fields Sherco, Beta, Montesa contain 1 they are being displayed as results.  I have attached a 2 screenshots of the settings for the custom field and filter  Is this a bug? or have i got it configured incorrectly?  Thanks Alex")*

The URL to the page with the error is: [ www.red-ferndevelopment.co.uk/RaptorTita...t=listing&amp;Itemid=316](http://www.red-ferndevelopment.co.uk/RaptorTitanium/index.php?option=com_hikashop&view=product&layout=listing&Itemid=316)

I can PM administrator and FTP access if needed

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg2NTI4OC1maWx0ZXItYmFzZWQtb24tY3VzdG9tLWZpZWxkLW11bHRpcGxlLWRyb3AtZG93bj90bXBsPW1hcmtkb3du) 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
-
-

12 years 9 months ago [\#141161](#141161) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter based on custom field multiple drop down](/forum/45-filters-search/865288-filter-based-on-custom-field-multiple-drop-down#141161 "-- HikaShop version -- : HikaShop Business: 2.2.3 -- Joomla version -- : 3.2 -- Browser(s) name and version -- : All  Hi,  I have a checkbox type filter applied on a multiple drop down type custom field and the filter result is not as expected.  The custom filed is set up like: Label: Model Type: multiple drop down Values: (Value | Title) 1 | KTM 2 | Husaberg 3 | Honda . . 10 | Sherco 11 | Beta 12 | Montesa  The filter is set up like: Type: Checkbox Dynamic Display: Yes Apply on: Custom Fields Custom fields: Model  The products are set up like Product 1 - Model = KTM Product 2 - Model = Husaberg Product 3 - Model = Honda Product 4 - Model = Sherco Product 5 - Model = Beta Product 6 - Model = Montesa  I am using the Filter module, when I select KTM on the filter module the result should be: Product 1 but the result is: Product 1 Product 4 Product 5 Product 6  Its seems because the value of the custom field KTM is 1 and the values for the custom fields Sherco, Beta, Montesa contain 1 they are being displayed as results.  I have attached a 2 screenshots of the settings for the custom field and filter  Is this a bug? or have i got it configured incorrectly?  Thanks Alex")*

Hi,

I just did a test on your website and it seems to work fine. When I select "KTM" on that page I see two products instead of the 12 products I saw before.
If you're talking about the fact that you see a sherco product when you shouldn't, that's because you set the value 10 for that custom field option and that the KTM one has a value of 1 ans as you know the text "1" is one the text "10".

You should should avoid numbers for your values or use non overlapping ones.

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

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

Less More

- Posts: 100
- Thank you received: 1
-
-

12 years 9 months ago [\#141162](#141162) by [reders](/forum/user/8228-reders "View reders's Profile")  Replied by *[reders](/forum/user/8228-reders "View reders's Profile")* on topic *[Filter based on custom field multiple drop down](/forum/45-filters-search/865288-filter-based-on-custom-field-multiple-drop-down#141162 "-- HikaShop version -- : HikaShop Business: 2.2.3 -- Joomla version -- : 3.2 -- Browser(s) name and version -- : All  Hi,  I have a checkbox type filter applied on a multiple drop down type custom field and the filter result is not as expected.  The custom filed is set up like: Label: Model Type: multiple drop down Values: (Value | Title) 1 | KTM 2 | Husaberg 3 | Honda . . 10 | Sherco 11 | Beta 12 | Montesa  The filter is set up like: Type: Checkbox Dynamic Display: Yes Apply on: Custom Fields Custom fields: Model  The products are set up like Product 1 - Model = KTM Product 2 - Model = Husaberg Product 3 - Model = Honda Product 4 - Model = Sherco Product 5 - Model = Beta Product 6 - Model = Montesa  I am using the Filter module, when I select KTM on the filter module the result should be: Product 1 but the result is: Product 1 Product 4 Product 5 Product 6  Its seems because the value of the custom field KTM is 1 and the values for the custom fields Sherco, Beta, Montesa contain 1 they are being displayed as results.  I have attached a 2 screenshots of the settings for the custom field and filter  Is this a bug? or have i got it configured incorrectly?  Thanks Alex")*

Hi Nicolas,

The only product that is tagged under KTM is RX001 Xtreme footpegs KTM.

The other product RX013 Xtreme footpegs Sherco is under the tag Sherco.

However the value of the tag KTM is 1.
The value of the tag Sherco is 10.

If I tag a product as Beta, which the value is 11.

This will also show as a result when I select KTM.

Thank you
Alex

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

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

Less More

- Posts: 100
- Thank you received: 1
-
-

12 years 9 months ago [\#141163](#141163) by [reders](/forum/user/8228-reders "View reders's Profile")  Replied by *[reders](/forum/user/8228-reders "View reders's Profile")* on topic *[Filter based on custom field multiple drop down](/forum/45-filters-search/865288-filter-based-on-custom-field-multiple-drop-down#141163 "-- HikaShop version -- : HikaShop Business: 2.2.3 -- Joomla version -- : 3.2 -- Browser(s) name and version -- : All  Hi,  I have a checkbox type filter applied on a multiple drop down type custom field and the filter result is not as expected.  The custom filed is set up like: Label: Model Type: multiple drop down Values: (Value | Title) 1 | KTM 2 | Husaberg 3 | Honda . . 10 | Sherco 11 | Beta 12 | Montesa  The filter is set up like: Type: Checkbox Dynamic Display: Yes Apply on: Custom Fields Custom fields: Model  The products are set up like Product 1 - Model = KTM Product 2 - Model = Husaberg Product 3 - Model = Honda Product 4 - Model = Sherco Product 5 - Model = Beta Product 6 - Model = Montesa  I am using the Filter module, when I select KTM on the filter module the result should be: Product 1 but the result is: Product 1 Product 4 Product 5 Product 6  Its seems because the value of the custom field KTM is 1 and the values for the custom fields Sherco, Beta, Montesa contain 1 they are being displayed as results.  I have attached a 2 screenshots of the settings for the custom field and filter  Is this a bug? or have i got it configured incorrectly?  Thanks Alex")*

Apologies I replied a little hastily and didn't read the second half of your reply.

Is there no way to make it filter by unique value? For example on different site we developing using hikashop I set up two filters with the values:
invertedtriangle
triangle

and these conflicted with each other, if I selected triangle I would see all the prodcut tagged and triangle and invertedtriangle

Thanks
Alex

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg2NTI4OC1maWx0ZXItYmFzZWQtb24tY3VzdG9tLWZpZWxkLW11bHRpcGxlLWRyb3AtZG93bj90bXBsPW1hcmtkb3du) 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
-
-

12 years 9 months ago [\#141246](#141246) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter based on custom field multiple drop down](/forum/45-filters-search/865288-filter-based-on-custom-field-multiple-drop-down#141246 "-- HikaShop version -- : HikaShop Business: 2.2.3 -- Joomla version -- : 3.2 -- Browser(s) name and version -- : All  Hi,  I have a checkbox type filter applied on a multiple drop down type custom field and the filter result is not as expected.  The custom filed is set up like: Label: Model Type: multiple drop down Values: (Value | Title) 1 | KTM 2 | Husaberg 3 | Honda . . 10 | Sherco 11 | Beta 12 | Montesa  The filter is set up like: Type: Checkbox Dynamic Display: Yes Apply on: Custom Fields Custom fields: Model  The products are set up like Product 1 - Model = KTM Product 2 - Model = Husaberg Product 3 - Model = Honda Product 4 - Model = Sherco Product 5 - Model = Beta Product 6 - Model = Montesa  I am using the Filter module, when I select KTM on the filter module the result should be: Product 1 but the result is: Product 1 Product 4 Product 5 Product 6  Its seems because the value of the custom field KTM is 1 and the values for the custom fields Sherco, Beta, Montesa contain 1 they are being displayed as results.  I have attached a 2 screenshots of the settings for the custom field and filter  Is this a bug? or have i got it configured incorrectly?  Thanks Alex")*

There is always a way by modifying the code. But for our purpose, so that it works in all the cases, we need to leave it like that (otherwise, it wouldn't work for multiple selects and checkboxes custom fields.

The best it to always use different values for your custom fields. They don't display on the website anyway, so that shouldn't be a problem.

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

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

Less More

- Posts: 100
- Thank you received: 1
-
-

12 years 9 months ago -  12 years 9 months ago [\#142099](#142099) by [reders](/forum/user/8228-reders "View reders's Profile")  Replied by *[reders](/forum/user/8228-reders "View reders's Profile")* on topic *[Filter based on custom field multiple drop down](/forum/45-filters-search/865288-filter-based-on-custom-field-multiple-drop-down#142099 "-- HikaShop version -- : HikaShop Business: 2.2.3 -- Joomla version -- : 3.2 -- Browser(s) name and version -- : All  Hi,  I have a checkbox type filter applied on a multiple drop down type custom field and the filter result is not as expected.  The custom filed is set up like: Label: Model Type: multiple drop down Values: (Value | Title) 1 | KTM 2 | Husaberg 3 | Honda . . 10 | Sherco 11 | Beta 12 | Montesa  The filter is set up like: Type: Checkbox Dynamic Display: Yes Apply on: Custom Fields Custom fields: Model  The products are set up like Product 1 - Model = KTM Product 2 - Model = Husaberg Product 3 - Model = Honda Product 4 - Model = Sherco Product 5 - Model = Beta Product 6 - Model = Montesa  I am using the Filter module, when I select KTM on the filter module the result should be: Product 1 but the result is: Product 1 Product 4 Product 5 Product 6  Its seems because the value of the custom field KTM is 1 and the values for the custom fields Sherco, Beta, Montesa contain 1 they are being displayed as results.  I have attached a 2 screenshots of the settings for the custom field and filter  Is this a bug? or have i got it configured incorrectly?  Thanks Alex")*

Hi Nicolas,

I can use different values, but for example there are bike models TM and KTM so that means I cant use the model as the value as these conflict with each other.

The only convention I can think of using for the value that will guarantee not to conflict is using letters a-z, but what happens if I have more that 26 options?

Alex

Last edit: 12 years 9 months ago by [reders](/forum/user/8228-reders "View reders's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg2NTI4OC1maWx0ZXItYmFzZWQtb24tY3VzdG9tLWZpZWxkLW11bHRpcGxlLWRyb3AtZG93bj90bXBsPW1hcmtkb3du) 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
-
-

12 years 9 months ago [\#142700](#142700) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter based on custom field multiple drop down](/forum/45-filters-search/865288-filter-based-on-custom-field-multiple-drop-down#142700 "-- HikaShop version -- : HikaShop Business: 2.2.3 -- Joomla version -- : 3.2 -- Browser(s) name and version -- : All  Hi,  I have a checkbox type filter applied on a multiple drop down type custom field and the filter result is not as expected.  The custom filed is set up like: Label: Model Type: multiple drop down Values: (Value | Title) 1 | KTM 2 | Husaberg 3 | Honda . . 10 | Sherco 11 | Beta 12 | Montesa  The filter is set up like: Type: Checkbox Dynamic Display: Yes Apply on: Custom Fields Custom fields: Model  The products are set up like Product 1 - Model = KTM Product 2 - Model = Husaberg Product 3 - Model = Honda Product 4 - Model = Sherco Product 5 - Model = Beta Product 6 - Model = Montesa  I am using the Filter module, when I select KTM on the filter module the result should be: Product 1 but the result is: Product 1 Product 4 Product 5 Product 6  Its seems because the value of the custom field KTM is 1 and the values for the custom fields Sherco, Beta, Montesa contain 1 they are being displayed as results.  I have attached a 2 screenshots of the settings for the custom field and filter  Is this a bug? or have i got it configured incorrectly?  Thanks Alex")*

you can simply use a more complex convention.
For example:
0001
0002
0003
...etc...
9999

If you use the same number of characters, you won't have the issue of having another value matching because of another smaller one.

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

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

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