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

#   Filter dynamic display issue

##

- **[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)
-

8 years 2 months ago [\#297715](#297715) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  *[Filter dynamic display issue](/forum/45-filters-search/895682-filter-dynamic-display-issue#297715 "-- HikaShop version -- : 1808311603  Hi,  I see some strange behiviour when using dynamic display via filters configuration. As example:  I do have products with sizes: S M L XL and so on....  2 products have 2 sizes S and M only. M is sold out for both....  When trying to filter by size S, dynamic display will hide other sizes and leaves only S and M.  1. It looks like dynamic display will filter not only by category but also by products it self. Is there a way to avoid it?? 2. If M is sold out why it still is shown?  I guess fixing 1 will fix 2....  Could be i miss some settings please?  Kind Regards")* was created by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")*

-- HikaShop version -- : 1808311603

Hi,

I see some strange behiviour when using dynamic display via filters configuration. As example:

I do have products with sizes: S M L XL and so on....

2 products have 2 sizes S and M only. M is sold out for both....

When trying to filter by size S, dynamic display will hide other sizes and leaves only S and M.

1. It looks like dynamic display will filter not only by category but also by products it self. Is there a way to avoid it??
2. If M is sold out why it still is shown?

I guess fixing 1 will fix 2....

Could be i miss some settings please?

Kind Regards

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

- **[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)
-

8 years 2 months ago [\#297716](#297716) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Filter dynamic display issue](/forum/45-filters-search/895682-filter-dynamic-display-issue#297716 "-- HikaShop version -- : 1808311603  Hi,  I see some strange behiviour when using dynamic display via filters configuration. As example:  I do have products with sizes: S M L XL and so on....  2 products have 2 sizes S and M only. M is sold out for both....  When trying to filter by size S, dynamic display will hide other sizes and leaves only S and M.  1. It looks like dynamic display will filter not only by category but also by products it self. Is there a way to avoid it?? 2. If M is sold out why it still is shown?  I guess fixing 1 will fix 2....  Could be i miss some settings please?  Kind Regards")*

Also. After filtering by color, as example" White", all other colors gets hidden. Is this how it should work?

I thought it should only show filters based on products in category only.

Thanks again

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5NTY4Mi1maWx0ZXItZHluYW1pYy1kaXNwbGF5LWlzc3VlP3RtcGw9bWFya2Rvd24=) 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: 86561
- Thank you received: 14307
-
-

8 years 2 months ago [\#297727](#297727) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter dynamic display issue](/forum/45-filters-search/895682-filter-dynamic-display-issue#297727 "-- HikaShop version -- : 1808311603  Hi,  I see some strange behiviour when using dynamic display via filters configuration. As example:  I do have products with sizes: S M L XL and so on....  2 products have 2 sizes S and M only. M is sold out for both....  When trying to filter by size S, dynamic display will hide other sizes and leaves only S and M.  1. It looks like dynamic display will filter not only by category but also by products it self. Is there a way to avoid it?? 2. If M is sold out why it still is shown?  I guess fixing 1 will fix 2....  Could be i miss some settings please?  Kind Regards")*

Hi,

Please provide a screenshot of the settings of each of the filters you're talking about and a link to the page with them so that we can look at the situation.

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

- **[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)
-

8 years 2 months ago [\#297755](#297755) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Filter dynamic display issue](/forum/45-filters-search/895682-filter-dynamic-display-issue#297755 "-- HikaShop version -- : 1808311603  Hi,  I see some strange behiviour when using dynamic display via filters configuration. As example:  I do have products with sizes: S M L XL and so on....  2 products have 2 sizes S and M only. M is sold out for both....  When trying to filter by size S, dynamic display will hide other sizes and leaves only S and M.  1. It looks like dynamic display will filter not only by category but also by products it self. Is there a way to avoid it?? 2. If M is sold out why it still is shown?  I guess fixing 1 will fix 2....  Could be i miss some settings please?  Kind Regards")*

Hi,

I am not able to reproduce same issue again. Could be i had some misconfigurations during setup/customization....

However i see some issue with filter reset button which should be hidden if no filters selected, but it doesn't work like that....

If there is no filters selected it still shows. Basically you need to use that reset button to clear all filters and only then it hides. If removing filters with submit on click, that button will be visible until clicked.

Easy to reproduce:

1. Creat some filter with checkboxes, set submit on click to "YES".
2. Turn on Show reset button.
3. Check checkbox to apply filter.
4. Uncheck checkbox to remove filter.
5. Reset button still visible....

Hope you can reproduce the issue.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5NTY4Mi1maWx0ZXItZHluYW1pYy1kaXNwbGF5LWlzc3VlP3RtcGw9bWFya2Rvd24=) 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: 86561
- Thank you received: 14307
-
-

8 years 2 months ago [\#297783](#297783) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter dynamic display issue](/forum/45-filters-search/895682-filter-dynamic-display-issue#297783 "-- HikaShop version -- : 1808311603  Hi,  I see some strange behiviour when using dynamic display via filters configuration. As example:  I do have products with sizes: S M L XL and so on....  2 products have 2 sizes S and M only. M is sold out for both....  When trying to filter by size S, dynamic display will hide other sizes and leaves only S and M.  1. It looks like dynamic display will filter not only by category but also by products it self. Is there a way to avoid it?? 2. If M is sold out why it still is shown?  I guess fixing 1 will fix 2....  Could be i miss some settings please?  Kind Regards")*

Hi,

Thank you for your feedback. Yes, I was able to reproduce the issue.
change the line: Code:

if(!empty($data)) $filterActivated=true;

to: Code:

if(!empty($data) &amp;&amp; $data != ' ') $filterActivated = true;

in the file "filter" of the view "product" via the menu Display&gt;Views and that will fix the problem.
We'll add that patch on our end too.

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

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

- **[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)
-

8 years 2 months ago [\#297807](#297807) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Filter dynamic display issue](/forum/45-filters-search/895682-filter-dynamic-display-issue#297807 "-- HikaShop version -- : 1808311603  Hi,  I see some strange behiviour when using dynamic display via filters configuration. As example:  I do have products with sizes: S M L XL and so on....  2 products have 2 sizes S and M only. M is sold out for both....  When trying to filter by size S, dynamic display will hide other sizes and leaves only S and M.  1. It looks like dynamic display will filter not only by category but also by products it self. Is there a way to avoid it?? 2. If M is sold out why it still is shown?  I guess fixing 1 will fix 2....  Could be i miss some settings please?  Kind Regards")*

Hi,

1. That did fix the issue with checkbox filters but not with sort filter.

As example:

After i sort to lowest price the url is this ".....?limitstart=0&amp;filter_Sort_by=price--lth" and reset button is visible.
After i sort back to default the url is this ".....?limitstart=0&amp;filter_Sort_by=none" those reset button should be hidden but it's not.

Is there a way to fix it too?

2. I also see some small issue with price cursor filter and it's delete button. After dragging cursor filter the delete button for that filter will be visible but after dragging back to it's original/default state, delete button not hidden. Maybe this could be improved too?

Cursor and sort filters are set to submit on click.

Kind Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5NTY4Mi1maWx0ZXItZHluYW1pYy1kaXNwbGF5LWlzc3VlP3RtcGw9bWFya2Rvd24=) 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: 86561
- Thank you received: 14307
-
-

8 years 2 months ago [\#297839](#297839) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter dynamic display issue](/forum/45-filters-search/895682-filter-dynamic-display-issue#297839 "-- HikaShop version -- : 1808311603  Hi,  I see some strange behiviour when using dynamic display via filters configuration. As example:  I do have products with sizes: S M L XL and so on....  2 products have 2 sizes S and M only. M is sold out for both....  When trying to filter by size S, dynamic display will hide other sizes and leaves only S and M.  1. It looks like dynamic display will filter not only by category but also by products it self. Is there a way to avoid it?? 2. If M is sold out why it still is shown?  I guess fixing 1 will fix 2....  Could be i miss some settings please?  Kind Regards")*

Hi,

1. As yes. Change that same line to : Code:

if(!empty($data) &amp;&amp; !in_array($data, array(' ', 'none'))) $filterActivated = true;

That will fix it for the sorting filters. We'll add that change on our end.

2. Could you provide a screenshot of how your price cursor filter is configured so that I can look at the situation ?

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

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

- **[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)
-

8 years 2 months ago [\#297865](#297865) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Filter dynamic display issue](/forum/45-filters-search/895682-filter-dynamic-display-issue#297865 "-- HikaShop version -- : 1808311603  Hi,  I see some strange behiviour when using dynamic display via filters configuration. As example:  I do have products with sizes: S M L XL and so on....  2 products have 2 sizes S and M only. M is sold out for both....  When trying to filter by size S, dynamic display will hide other sizes and leaves only S and M.  1. It looks like dynamic display will filter not only by category but also by products it self. Is there a way to avoid it?? 2. If M is sold out why it still is shown?  I guess fixing 1 will fix 2....  Could be i miss some settings please?  Kind Regards")*

Hi,

1. Thanks. It is working perfect now.

2. Here is the screenshot of the price filter. We also tried with dynamic display ON, but it made no difference.

[ ![price.png](/forum/attachment/44830) ](/forum/attachment/44830 "price.png")

Thanks

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5NTY4Mi1maWx0ZXItZHluYW1pYy1kaXNwbGF5LWlzc3VlP3RtcGw9bWFya2Rvd24=) 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: 86561
- Thank you received: 14307
-
-

8 years 2 months ago [\#297913](#297913) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter dynamic display issue](/forum/45-filters-search/895682-filter-dynamic-display-issue#297913 "-- HikaShop version -- : 1808311603  Hi,  I see some strange behiviour when using dynamic display via filters configuration. As example:  I do have products with sizes: S M L XL and so on....  2 products have 2 sizes S and M only. M is sold out for both....  When trying to filter by size S, dynamic display will hide other sizes and leaves only S and M.  1. It looks like dynamic display will filter not only by category but also by products it self. Is there a way to avoid it?? 2. If M is sold out why it still is shown?  I guess fixing 1 will fix 2....  Could be i miss some settings please?  Kind Regards")*

Hi,

Thanks, I was able to reproduce that. I however don't see any easy way to change that. The structure of the filtering system make it so that it would require extensive changes to be able to handle that.

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

- **[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)
-

8 years 2 months ago [\#297915](#297915) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Filter dynamic display issue](/forum/45-filters-search/895682-filter-dynamic-display-issue#297915 "-- HikaShop version -- : 1808311603  Hi,  I see some strange behiviour when using dynamic display via filters configuration. As example:  I do have products with sizes: S M L XL and so on....  2 products have 2 sizes S and M only. M is sold out for both....  When trying to filter by size S, dynamic display will hide other sizes and leaves only S and M.  1. It looks like dynamic display will filter not only by category but also by products it self. Is there a way to avoid it?? 2. If M is sold out why it still is shown?  I guess fixing 1 will fix 2....  Could be i miss some settings please?  Kind Regards")*

Hi,

That's what i thought. It's not a big deal...
As for us we added some small jquery code to remove button if cursor max and min values are equal to our settings.

Thanks for the support Nicolas.

Kind Regards

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

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

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