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

#   Filter price bug

##

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

7 years 1 month ago [\#311379](#311379) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  *[Filter price bug](/forum/3-bug-report/898358-filter-price-bug#311379 "Hi,  While trying to configure price filter and maybe not to use slider we found some little bug.  We have created filter for price, set type to checkbox, apply on price, entered values: 20, 40, 60  Now the issue:  When clicking on LABEL of &quot;€60,00 and above&quot; the &quot;€40,00 to €60,00&quot; checkbox is checked.  Clicking checkbox directly it works fine.  Looked at html and it seems the issue is that these both inputs have same id. As we know ID's should be unique and javascript will run only on first ID...  It seems the issue is only with filter type radio and checkbox. Attching some screenshots:  Hope you can see the issue and can fix it.  Thanks")* was created by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")*

Hi,

While trying to configure price filter and maybe not to use slider we found some little bug.

We have created filter for price, set type to checkbox, apply on price, entered values: 20, 40, 60

Now the issue:

When clicking on LABEL of "€60,00 and above" the "€40,00 to €60,00" checkbox is checked.

Clicking checkbox directly it works fine.

Looked at html and it seems the issue is that these both inputs have same id. As we know ID's should be unique and javascript will run only on first ID...

It seems the issue is only with filter type radio and checkbox. Attching some screenshots:

[ ![error&#95;2019-09-27.png](/forum/attachment/47805) ](/forum/attachment/47805 "...2019-09-27.png")

[ ![price2.png](/forum/attachment/47806) ](/forum/attachment/47806 "price2.png")

Hope you can see the issue and can fix it.

Thanks

- [ ![error&#95;2019-09-27.png](/forum/attachment/47805) ](/forum/attachment/47805 "...2019-09-27.png") [ ](/forum/attachment/47805?download=1 "...2019-09-27.png")
- [ ![price2.png](/forum/attachment/47806) ](/forum/attachment/47806 "price2.png") [ ](/forum/attachment/47806?download=1 "price2.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTgzNTgtZmlsdGVyLXByaWNlLWJ1Zz90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

7 years 1 month ago [\#311381](#311381) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter price bug](/forum/3-bug-report/898358-filter-price-bug#311381 "Hi,  While trying to configure price filter and maybe not to use slider we found some little bug.  We have created filter for price, set type to checkbox, apply on price, entered values: 20, 40, 60  Now the issue:  When clicking on LABEL of &quot;€60,00 and above&quot; the &quot;€40,00 to €60,00&quot; checkbox is checked.  Clicking checkbox directly it works fine.  Looked at html and it seems the issue is that these both inputs have same id. As we know ID's should be unique and javascript will run only on first ID...  It seems the issue is only with filter type radio and checkbox. Attching some screenshots:  Hope you can see the issue and can fix it.  Thanks")*

Hi,

Yes, this was reported to us 2 weeks ago:
[ www.hikashop.com/forum/product-category-...lter-php.html#310782](https://www.hikashop.com/forum/product-category-display/898257-probable-bugs-in-filter-php.html#310782)
You can apply these patchs on your end for now. They will be in the next version of HikaShop, to be released soon.

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

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

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