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

#   problem with filters after Hikashop 4.2.2 update

##

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

7 years 1 week ago -  7 years 1 week ago [\#313117](#313117) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  *[problem with filters after Hikashop 4.2.2 update](/forum/25-install-update/898686-problem-with-filters-after-hikashop-4-2-2-update#313117 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, After update from Hikashop 4.2.1 to 4.2.2 I have problem with proper functioning of Hikashop filters  After publishing of certain number of custom filters in the Hikashop filter module filters are not working properly (I cannot find any systematics in this subject). I setup test installation and up to 9 filters in Hikashop filter module filters are working ok but with 10 filters and more filters in Hikashop filter module filters are not working properly. I try to publish/unpublish different filters but type of filters has no impact on this situation only number of filters. I also checked this with Prostar Template and problem exist. I haven’t set any maximum number of filters neither in Hikashop filter module or in Hikashop configuration. I didn't override product / filter.php.  Up to 9 filters:  (a) filtering works ok (b) dynamic filters works ok (c) deletable filters are presented with deletion button after filter is set (d) after Reset button is set filtering is reset and all filter fields are reset as well  please find below how it looks on images (with 9 filters in Hikashop filter module) - when is ok: image 1 – after some filters are set  image 2 - after reset button is set  From 10 filters and more:  (a) filtering works ok (b) dynamic filters are not working (you need to refresh browser using F5 to start dynamic filters working) (c) deletable filters are not presented properly - they are without deletion button after filter is set (you need to refresh browser using F5 to see deletaion button next to the field) (e) after Reset button is set filtering is reset but all filter fields are still look as they were set (you need to refresh browser using F5 to unset filter fields) (f) additionally in some cases reset button not appears when filters are set until browser is refresh (F5)  please find below how it looks on images (with11 filters in Hikashop filter module) - when is not ok: image 3 - after some filters are set  image 4 – after reset button is set  It is really strange. I cannot find any systematics why with certain number of filters filter module works fine and after certain number of filters problem occurs. Additionally when I checked this also on different installation the problem occur after exceeding different number of filters. However, the common feature is that after refreshing the browser via F5, the filter fields look correct.  I had also problem with filters after update to HIkashop 4.2.0 – this was discussed on this forum thread: - I don’t know but maybe this new problem has similar roots to the previous one.  I would like to ask for help with this problem.  Regards, Greg")* was created by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")*

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.13
-- PHP version -- : 7.2.14

Hi, After update from Hikashop 4.2.1 to 4.2.2 I have problem with proper functioning of Hikashop filters

After publishing of certain number of custom filters in the Hikashop filter module filters are not working properly (I cannot find any systematics in this subject). I setup test installation and up to 9 filters in Hikashop filter module filters are working ok but with 10 filters and more filters in Hikashop filter module filters are not working properly. I try to publish/unpublish different filters but type of filters has no impact on this situation only number of filters. I also checked this with Prostar Template and problem exist. I haven’t set any maximum number of filters neither in Hikashop filter module or in Hikashop configuration. I didn't override product / filter.php.

Up to 9 filters:

(a) filtering works ok
(b) dynamic filters works ok
(c) deletable filters are presented with deletion button after filter is set
(d) after Reset button is set filtering is reset and all filter fields are reset as well

please find below how it looks on images (with 9 filters in Hikashop filter module) - when is ok:
image 1 – after some filters are set

[ ![image1.png](/forum/attachment/48191) ](/forum/attachment/48191 "image1.png")

image 2 - after reset button is set

[ ![image2.png](/forum/attachment/48192) ](/forum/attachment/48192 "image2.png")

From 10 filters and more:

(a) filtering works ok
(b) dynamic filters are not working (you need to refresh browser using F5 to start dynamic filters working)
(c) deletable filters are not presented properly - they are without deletion button after filter is set (you need to refresh browser using F5 to see deletaion button next to the field)
(e) after Reset button is set filtering is reset but all filter fields are still look as they were set (you need to refresh browser using F5 to unset filter fields)
(f) additionally in some cases reset button not appears when filters are set until browser is refresh (F5)

please find below how it looks on images (with11 filters in Hikashop filter module) - when is not ok:
image 3 - after some filters are set

[ ![image3.png](/forum/attachment/48193) ](/forum/attachment/48193 "image3.png")

image 4 – after reset button is set

[ ![image4.png](/forum/attachment/48194) ](/forum/attachment/48194 "image4.png")

It is really strange. I cannot find any systematics why with certain number of filters filter module works fine and after certain number of filters problem occurs. Additionally when I checked this also on different installation the problem occur after exceeding different number of filters. However, the common feature is that after refreshing the browser via F5, the filter fields look correct.

I had also problem with filters after update to HIkashop 4.2.0 – this was discussed on this forum thread: [ link](https://www.hikashop.com/forum/install-update/897927-lack-of-reset-button-in-hikashop-filter-after-4-2-0-update.html?start=0) - I don’t know but maybe this new problem has similar roots to the previous one.

I would like to ask for help with this problem.

Regards,
Greg

- [ ![image1.png](/forum/attachment/48191) ](/forum/attachment/48191 "image1.png") [ ](/forum/attachment/48191?download=1 "image1.png")
- [ ![image2.png](/forum/attachment/48192) ](/forum/attachment/48192 "image2.png") [ ](/forum/attachment/48192?download=1 "image2.png")
- [ ![image3.png](/forum/attachment/48193) ](/forum/attachment/48193 "image3.png") [ ](/forum/attachment/48193?download=1 "image3.png")
- [ ![image4.png](/forum/attachment/48194) ](/forum/attachment/48194 "image4.png") [ ](/forum/attachment/48194?download=1 "image4.png")

Last edit: 7 years 1 week ago by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzg5ODY4Ni1wcm9ibGVtLXdpdGgtZmlsdGVycy1hZnRlci1oaWthc2hvcC00LTItMi11cGRhdGU/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 6 days ago [\#313135](#313135) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[problem with filters after Hikashop 4.2.2 update](/forum/25-install-update/898686-problem-with-filters-after-hikashop-4-2-2-update#313135 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, After update from Hikashop 4.2.1 to 4.2.2 I have problem with proper functioning of Hikashop filters  After publishing of certain number of custom filters in the Hikashop filter module filters are not working properly (I cannot find any systematics in this subject). I setup test installation and up to 9 filters in Hikashop filter module filters are working ok but with 10 filters and more filters in Hikashop filter module filters are not working properly. I try to publish/unpublish different filters but type of filters has no impact on this situation only number of filters. I also checked this with Prostar Template and problem exist. I haven’t set any maximum number of filters neither in Hikashop filter module or in Hikashop configuration. I didn't override product / filter.php.  Up to 9 filters:  (a) filtering works ok (b) dynamic filters works ok (c) deletable filters are presented with deletion button after filter is set (d) after Reset button is set filtering is reset and all filter fields are reset as well  please find below how it looks on images (with 9 filters in Hikashop filter module) - when is ok: image 1 – after some filters are set  image 2 - after reset button is set  From 10 filters and more:  (a) filtering works ok (b) dynamic filters are not working (you need to refresh browser using F5 to start dynamic filters working) (c) deletable filters are not presented properly - they are without deletion button after filter is set (you need to refresh browser using F5 to see deletaion button next to the field) (e) after Reset button is set filtering is reset but all filter fields are still look as they were set (you need to refresh browser using F5 to unset filter fields) (f) additionally in some cases reset button not appears when filters are set until browser is refresh (F5)  please find below how it looks on images (with11 filters in Hikashop filter module) - when is not ok: image 3 - after some filters are set  image 4 – after reset button is set  It is really strange. I cannot find any systematics why with certain number of filters filter module works fine and after certain number of filters problem occurs. Additionally when I checked this also on different installation the problem occur after exceeding different number of filters. However, the common feature is that after refreshing the browser via F5, the filter fields look correct.  I had also problem with filters after update to HIkashop 4.2.0 – this was discussed on this forum thread: - I don’t know but maybe this new problem has similar roots to the previous one.  I would like to ask for help with this problem.  Regards, Greg")*

Hi,

I think that the issue is related to the fact that the parameters are added to the URL. Browsers and web servers have URL size limits of different degree. And some also have settings to change that:
[ stackoverflow.com/questions/1051485/what...aracter-limit-on-url](https://stackoverflow.com/questions/1051485/what-is-the-character-limit-on-url)
So it's possible that if the URL with all the filters in the parameters is too long, it can cause some trange behavior with the refreshing of the filters/results area.
Increasing the max number of characters of the server might help.
Alternatively, you can open the hikashop_filter table and reduce the number of characters of the namekey for each filter.
IT could help substantially.

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

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

7 years 6 days ago [\#313150](#313150) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[problem with filters after Hikashop 4.2.2 update](/forum/25-install-update/898686-problem-with-filters-after-hikashop-4-2-2-update#313150 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, After update from Hikashop 4.2.1 to 4.2.2 I have problem with proper functioning of Hikashop filters  After publishing of certain number of custom filters in the Hikashop filter module filters are not working properly (I cannot find any systematics in this subject). I setup test installation and up to 9 filters in Hikashop filter module filters are working ok but with 10 filters and more filters in Hikashop filter module filters are not working properly. I try to publish/unpublish different filters but type of filters has no impact on this situation only number of filters. I also checked this with Prostar Template and problem exist. I haven’t set any maximum number of filters neither in Hikashop filter module or in Hikashop configuration. I didn't override product / filter.php.  Up to 9 filters:  (a) filtering works ok (b) dynamic filters works ok (c) deletable filters are presented with deletion button after filter is set (d) after Reset button is set filtering is reset and all filter fields are reset as well  please find below how it looks on images (with 9 filters in Hikashop filter module) - when is ok: image 1 – after some filters are set  image 2 - after reset button is set  From 10 filters and more:  (a) filtering works ok (b) dynamic filters are not working (you need to refresh browser using F5 to start dynamic filters working) (c) deletable filters are not presented properly - they are without deletion button after filter is set (you need to refresh browser using F5 to see deletaion button next to the field) (e) after Reset button is set filtering is reset but all filter fields are still look as they were set (you need to refresh browser using F5 to unset filter fields) (f) additionally in some cases reset button not appears when filters are set until browser is refresh (F5)  please find below how it looks on images (with11 filters in Hikashop filter module) - when is not ok: image 3 - after some filters are set  image 4 – after reset button is set  It is really strange. I cannot find any systematics why with certain number of filters filter module works fine and after certain number of filters problem occurs. Additionally when I checked this also on different installation the problem occur after exceeding different number of filters. However, the common feature is that after refreshing the browser via F5, the filter fields look correct.  I had also problem with filters after update to HIkashop 4.2.0 – this was discussed on this forum thread: - I don’t know but maybe this new problem has similar roots to the previous one.  I would like to ask for help with this problem.  Regards, Greg")*

Hi Nicolas, I checked this and with Hikashop 4.2.2 problem starts when I have 10 filters in Hikashop filter module, which “generate” only 247 characters in URL. After I back again to Hikashop 4.2.1 problem doesn’t start even if I have 18 filters (all, which were created for test purposes) in Hikashop filter module. Additionally in 4.2.1 URL after filters are set looks like that: Code:

(…)/en/shop/products

and in 4.2.2 URL after filters are set looks like that: Code:

(…)/en/shop/products?limitstart=0&amp;filter_Test_1=&amp;filter_Color_2=none&amp;filter_Format_3=Large&amp;filter_Keywords_6=&amp;filter_Category_5=none&amp;filter_aa_7=&amp;filter_bb_8=&amp;filter_cc_9=&amp;filter_dd_10=&amp;filter_ee_11=

Problem started when I made Hikashop update from 4.2.1 to 4.2.2. I didn't make any other changes.

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzg5ODY4Ni1wcm9ibGVtLXdpdGgtZmlsdGVycy1hZnRlci1oaWthc2hvcC00LTItMi11cGRhdGU/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 6 days ago [\#313153](#313153) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[problem with filters after Hikashop 4.2.2 update](/forum/25-install-update/898686-problem-with-filters-after-hikashop-4-2-2-update#313153 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, After update from Hikashop 4.2.1 to 4.2.2 I have problem with proper functioning of Hikashop filters  After publishing of certain number of custom filters in the Hikashop filter module filters are not working properly (I cannot find any systematics in this subject). I setup test installation and up to 9 filters in Hikashop filter module filters are working ok but with 10 filters and more filters in Hikashop filter module filters are not working properly. I try to publish/unpublish different filters but type of filters has no impact on this situation only number of filters. I also checked this with Prostar Template and problem exist. I haven’t set any maximum number of filters neither in Hikashop filter module or in Hikashop configuration. I didn't override product / filter.php.  Up to 9 filters:  (a) filtering works ok (b) dynamic filters works ok (c) deletable filters are presented with deletion button after filter is set (d) after Reset button is set filtering is reset and all filter fields are reset as well  please find below how it looks on images (with 9 filters in Hikashop filter module) - when is ok: image 1 – after some filters are set  image 2 - after reset button is set  From 10 filters and more:  (a) filtering works ok (b) dynamic filters are not working (you need to refresh browser using F5 to start dynamic filters working) (c) deletable filters are not presented properly - they are without deletion button after filter is set (you need to refresh browser using F5 to see deletaion button next to the field) (e) after Reset button is set filtering is reset but all filter fields are still look as they were set (you need to refresh browser using F5 to unset filter fields) (f) additionally in some cases reset button not appears when filters are set until browser is refresh (F5)  please find below how it looks on images (with11 filters in Hikashop filter module) - when is not ok: image 3 - after some filters are set  image 4 – after reset button is set  It is really strange. I cannot find any systematics why with certain number of filters filter module works fine and after certain number of filters problem occurs. Additionally when I checked this also on different installation the problem occur after exceeding different number of filters. However, the common feature is that after refreshing the browser via F5, the filter fields look correct.  I had also problem with filters after update to HIkashop 4.2.0 – this was discussed on this forum thread: - I don’t know but maybe this new problem has similar roots to the previous one.  I would like to ask for help with this problem.  Regards, Greg")*

Hi,

The main change to the filters system between the 4.2.1 and the 4.2.2 (besides all the fixes), is the addition of this code: Code:

if(resp.newURL) { var urlInHistory = resp.newURL.replace('tmpl=raw&amp;', '', 'g').replace('filter=1&amp;', '', 'g').replace('&amp;tmpl=raw', '', 'g').replace('&amp;filter=1', '', 'g'); window.history.pushState(data, d.title, urlInHistory); window.addEventListener('popstate', function(e) { if(window.location.href.includes('hikashop_url_reload=1')) { window.location.href.replace('&amp;hikashop_url_reload=1','').reload(); } }); }

in media/com_hikashop/js/hikashop.js
This adds the parameters of the filters to the URL in the address (so that why you get a different URL).
So you can delete that bit and see if that helps. But I don't see why it would change anything.

The following user(s) said Thank You: [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")

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

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

7 years 6 days ago [\#313170](#313170) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[problem with filters after Hikashop 4.2.2 update](/forum/25-install-update/898686-problem-with-filters-after-hikashop-4-2-2-update#313170 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, After update from Hikashop 4.2.1 to 4.2.2 I have problem with proper functioning of Hikashop filters  After publishing of certain number of custom filters in the Hikashop filter module filters are not working properly (I cannot find any systematics in this subject). I setup test installation and up to 9 filters in Hikashop filter module filters are working ok but with 10 filters and more filters in Hikashop filter module filters are not working properly. I try to publish/unpublish different filters but type of filters has no impact on this situation only number of filters. I also checked this with Prostar Template and problem exist. I haven’t set any maximum number of filters neither in Hikashop filter module or in Hikashop configuration. I didn't override product / filter.php.  Up to 9 filters:  (a) filtering works ok (b) dynamic filters works ok (c) deletable filters are presented with deletion button after filter is set (d) after Reset button is set filtering is reset and all filter fields are reset as well  please find below how it looks on images (with 9 filters in Hikashop filter module) - when is ok: image 1 – after some filters are set  image 2 - after reset button is set  From 10 filters and more:  (a) filtering works ok (b) dynamic filters are not working (you need to refresh browser using F5 to start dynamic filters working) (c) deletable filters are not presented properly - they are without deletion button after filter is set (you need to refresh browser using F5 to see deletaion button next to the field) (e) after Reset button is set filtering is reset but all filter fields are still look as they were set (you need to refresh browser using F5 to unset filter fields) (f) additionally in some cases reset button not appears when filters are set until browser is refresh (F5)  please find below how it looks on images (with11 filters in Hikashop filter module) - when is not ok: image 3 - after some filters are set  image 4 – after reset button is set  It is really strange. I cannot find any systematics why with certain number of filters filter module works fine and after certain number of filters problem occurs. Additionally when I checked this also on different installation the problem occur after exceeding different number of filters. However, the common feature is that after refreshing the browser via F5, the filter fields look correct.  I had also problem with filters after update to HIkashop 4.2.0 – this was discussed on this forum thread: - I don’t know but maybe this new problem has similar roots to the previous one.  I would like to ask for help with this problem.  Regards, Greg")*

Hi Nicolas, thank you, this change in the code solved the problem
I will check in addition with my server provider what kind of limitation I have in URL length
However after this change I can again use many filters without problems

I have question if this deleted code is important for functioning of Hikashop ?

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzg5ODY4Ni1wcm9ibGVtLXdpdGgtZmlsdGVycy1hZnRlci1oaWthc2hvcC00LTItMi11cGRhdGU/dG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/38342-kyratn)

Less More

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

7 years 6 days ago [\#313171](#313171) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[problem with filters after Hikashop 4.2.2 update](/forum/25-install-update/898686-problem-with-filters-after-hikashop-4-2-2-update#313171 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, After update from Hikashop 4.2.1 to 4.2.2 I have problem with proper functioning of Hikashop filters  After publishing of certain number of custom filters in the Hikashop filter module filters are not working properly (I cannot find any systematics in this subject). I setup test installation and up to 9 filters in Hikashop filter module filters are working ok but with 10 filters and more filters in Hikashop filter module filters are not working properly. I try to publish/unpublish different filters but type of filters has no impact on this situation only number of filters. I also checked this with Prostar Template and problem exist. I haven’t set any maximum number of filters neither in Hikashop filter module or in Hikashop configuration. I didn't override product / filter.php.  Up to 9 filters:  (a) filtering works ok (b) dynamic filters works ok (c) deletable filters are presented with deletion button after filter is set (d) after Reset button is set filtering is reset and all filter fields are reset as well  please find below how it looks on images (with 9 filters in Hikashop filter module) - when is ok: image 1 – after some filters are set  image 2 - after reset button is set  From 10 filters and more:  (a) filtering works ok (b) dynamic filters are not working (you need to refresh browser using F5 to start dynamic filters working) (c) deletable filters are not presented properly - they are without deletion button after filter is set (you need to refresh browser using F5 to see deletaion button next to the field) (e) after Reset button is set filtering is reset but all filter fields are still look as they were set (you need to refresh browser using F5 to unset filter fields) (f) additionally in some cases reset button not appears when filters are set until browser is refresh (F5)  please find below how it looks on images (with11 filters in Hikashop filter module) - when is not ok: image 3 - after some filters are set  image 4 – after reset button is set  It is really strange. I cannot find any systematics why with certain number of filters filter module works fine and after certain number of filters problem occurs. Additionally when I checked this also on different installation the problem occur after exceeding different number of filters. However, the common feature is that after refreshing the browser via F5, the filter fields look correct.  I had also problem with filters after update to HIkashop 4.2.0 – this was discussed on this forum thread: - I don’t know but maybe this new problem has similar roots to the previous one.  I would like to ask for help with this problem.  Regards, Greg")*

Hi,

You probably will find your answer here: [ www.hikashop.com/forum/filters-search/89...iltering.html#311469](https://www.hikashop.com/forum/filters-search/897866-no-ajax-filtering.html#311469)

Hope that helps

Thanks

The following user(s) said Thank You: [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")

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

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

7 years 6 days ago [\#313172](#313172) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[problem with filters after Hikashop 4.2.2 update](/forum/25-install-update/898686-problem-with-filters-after-hikashop-4-2-2-update#313172 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, After update from Hikashop 4.2.1 to 4.2.2 I have problem with proper functioning of Hikashop filters  After publishing of certain number of custom filters in the Hikashop filter module filters are not working properly (I cannot find any systematics in this subject). I setup test installation and up to 9 filters in Hikashop filter module filters are working ok but with 10 filters and more filters in Hikashop filter module filters are not working properly. I try to publish/unpublish different filters but type of filters has no impact on this situation only number of filters. I also checked this with Prostar Template and problem exist. I haven’t set any maximum number of filters neither in Hikashop filter module or in Hikashop configuration. I didn't override product / filter.php.  Up to 9 filters:  (a) filtering works ok (b) dynamic filters works ok (c) deletable filters are presented with deletion button after filter is set (d) after Reset button is set filtering is reset and all filter fields are reset as well  please find below how it looks on images (with 9 filters in Hikashop filter module) - when is ok: image 1 – after some filters are set  image 2 - after reset button is set  From 10 filters and more:  (a) filtering works ok (b) dynamic filters are not working (you need to refresh browser using F5 to start dynamic filters working) (c) deletable filters are not presented properly - they are without deletion button after filter is set (you need to refresh browser using F5 to see deletaion button next to the field) (e) after Reset button is set filtering is reset but all filter fields are still look as they were set (you need to refresh browser using F5 to unset filter fields) (f) additionally in some cases reset button not appears when filters are set until browser is refresh (F5)  please find below how it looks on images (with11 filters in Hikashop filter module) - when is not ok: image 3 - after some filters are set  image 4 – after reset button is set  It is really strange. I cannot find any systematics why with certain number of filters filter module works fine and after certain number of filters problem occurs. Additionally when I checked this also on different installation the problem occur after exceeding different number of filters. However, the common feature is that after refreshing the browser via F5, the filter fields look correct.  I had also problem with filters after update to HIkashop 4.2.0 – this was discussed on this forum thread: - I don’t know but maybe this new problem has similar roots to the previous one.  I would like to ask for help with this problem.  Regards, Greg")*

Hi,
@kyratn
thank you for clarification !

In my case possibility to save/favourite/share pages with their filter settings in the url is not crucial

Important for me is to have possibility to view a product and then go back to the product listing and see filter settings still exactly the same to continue browsing but this is working even after code deletion

However to have choice I need to discover why I cannot use more filters with this code – otherwise I have no choice and I need to delete this code

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzg5ODY4Ni1wcm9ibGVtLXdpdGgtZmlsdGVycy1hZnRlci1oaWthc2hvcC00LTItMi11cGRhdGU/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 3 days ago [\#313206](#313206) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[problem with filters after Hikashop 4.2.2 update](/forum/25-install-update/898686-problem-with-filters-after-hikashop-4-2-2-update#313206 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, After update from Hikashop 4.2.1 to 4.2.2 I have problem with proper functioning of Hikashop filters  After publishing of certain number of custom filters in the Hikashop filter module filters are not working properly (I cannot find any systematics in this subject). I setup test installation and up to 9 filters in Hikashop filter module filters are working ok but with 10 filters and more filters in Hikashop filter module filters are not working properly. I try to publish/unpublish different filters but type of filters has no impact on this situation only number of filters. I also checked this with Prostar Template and problem exist. I haven’t set any maximum number of filters neither in Hikashop filter module or in Hikashop configuration. I didn't override product / filter.php.  Up to 9 filters:  (a) filtering works ok (b) dynamic filters works ok (c) deletable filters are presented with deletion button after filter is set (d) after Reset button is set filtering is reset and all filter fields are reset as well  please find below how it looks on images (with 9 filters in Hikashop filter module) - when is ok: image 1 – after some filters are set  image 2 - after reset button is set  From 10 filters and more:  (a) filtering works ok (b) dynamic filters are not working (you need to refresh browser using F5 to start dynamic filters working) (c) deletable filters are not presented properly - they are without deletion button after filter is set (you need to refresh browser using F5 to see deletaion button next to the field) (e) after Reset button is set filtering is reset but all filter fields are still look as they were set (you need to refresh browser using F5 to unset filter fields) (f) additionally in some cases reset button not appears when filters are set until browser is refresh (F5)  please find below how it looks on images (with11 filters in Hikashop filter module) - when is not ok: image 3 - after some filters are set  image 4 – after reset button is set  It is really strange. I cannot find any systematics why with certain number of filters filter module works fine and after certain number of filters problem occurs. Additionally when I checked this also on different installation the problem occur after exceeding different number of filters. However, the common feature is that after refreshing the browser via F5, the filter fields look correct.  I had also problem with filters after update to HIkashop 4.2.0 – this was discussed on this forum thread: - I don’t know but maybe this new problem has similar roots to the previous one.  I would like to ask for help with this problem.  Regards, Greg")*

Hi,

So from what you say, I suppose that the issue is linked to the fact that the URL becomes too big with that piece of code when you have a lot of filters.
So try what I suggested before to shorten the namekeys of the filters in the database. That might be enough to avoid the problem while keeping that piece of code in.

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

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

7 years 3 days ago [\#313236](#313236) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[problem with filters after Hikashop 4.2.2 update](/forum/25-install-update/898686-problem-with-filters-after-hikashop-4-2-2-update#313236 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, After update from Hikashop 4.2.1 to 4.2.2 I have problem with proper functioning of Hikashop filters  After publishing of certain number of custom filters in the Hikashop filter module filters are not working properly (I cannot find any systematics in this subject). I setup test installation and up to 9 filters in Hikashop filter module filters are working ok but with 10 filters and more filters in Hikashop filter module filters are not working properly. I try to publish/unpublish different filters but type of filters has no impact on this situation only number of filters. I also checked this with Prostar Template and problem exist. I haven’t set any maximum number of filters neither in Hikashop filter module or in Hikashop configuration. I didn't override product / filter.php.  Up to 9 filters:  (a) filtering works ok (b) dynamic filters works ok (c) deletable filters are presented with deletion button after filter is set (d) after Reset button is set filtering is reset and all filter fields are reset as well  please find below how it looks on images (with 9 filters in Hikashop filter module) - when is ok: image 1 – after some filters are set  image 2 - after reset button is set  From 10 filters and more:  (a) filtering works ok (b) dynamic filters are not working (you need to refresh browser using F5 to start dynamic filters working) (c) deletable filters are not presented properly - they are without deletion button after filter is set (you need to refresh browser using F5 to see deletaion button next to the field) (e) after Reset button is set filtering is reset but all filter fields are still look as they were set (you need to refresh browser using F5 to unset filter fields) (f) additionally in some cases reset button not appears when filters are set until browser is refresh (F5)  please find below how it looks on images (with11 filters in Hikashop filter module) - when is not ok: image 3 - after some filters are set  image 4 – after reset button is set  It is really strange. I cannot find any systematics why with certain number of filters filter module works fine and after certain number of filters problem occurs. Additionally when I checked this also on different installation the problem occur after exceeding different number of filters. However, the common feature is that after refreshing the browser via F5, the filter fields look correct.  I had also problem with filters after update to HIkashop 4.2.0 – this was discussed on this forum thread: - I don’t know but maybe this new problem has similar roots to the previous one.  I would like to ask for help with this problem.  Regards, Greg")*

Hi Nicolas, thank you for information

Regards,
Greg

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

7 years 2 days ago [\#313241](#313241) by [sportpro](/forum/user/37669-sportpro "View sportpro's Profile")  Replied by *[sportpro](/forum/user/37669-sportpro "View sportpro's Profile")* on topic *[problem with filters after Hikashop 4.2.2 update](/forum/25-install-update/898686-problem-with-filters-after-hikashop-4-2-2-update#313241 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, After update from Hikashop 4.2.1 to 4.2.2 I have problem with proper functioning of Hikashop filters  After publishing of certain number of custom filters in the Hikashop filter module filters are not working properly (I cannot find any systematics in this subject). I setup test installation and up to 9 filters in Hikashop filter module filters are working ok but with 10 filters and more filters in Hikashop filter module filters are not working properly. I try to publish/unpublish different filters but type of filters has no impact on this situation only number of filters. I also checked this with Prostar Template and problem exist. I haven’t set any maximum number of filters neither in Hikashop filter module or in Hikashop configuration. I didn't override product / filter.php.  Up to 9 filters:  (a) filtering works ok (b) dynamic filters works ok (c) deletable filters are presented with deletion button after filter is set (d) after Reset button is set filtering is reset and all filter fields are reset as well  please find below how it looks on images (with 9 filters in Hikashop filter module) - when is ok: image 1 – after some filters are set  image 2 - after reset button is set  From 10 filters and more:  (a) filtering works ok (b) dynamic filters are not working (you need to refresh browser using F5 to start dynamic filters working) (c) deletable filters are not presented properly - they are without deletion button after filter is set (you need to refresh browser using F5 to see deletaion button next to the field) (e) after Reset button is set filtering is reset but all filter fields are still look as they were set (you need to refresh browser using F5 to unset filter fields) (f) additionally in some cases reset button not appears when filters are set until browser is refresh (F5)  please find below how it looks on images (with11 filters in Hikashop filter module) - when is not ok: image 3 - after some filters are set  image 4 – after reset button is set  It is really strange. I cannot find any systematics why with certain number of filters filter module works fine and after certain number of filters problem occurs. Additionally when I checked this also on different installation the problem occur after exceeding different number of filters. However, the common feature is that after refreshing the browser via F5, the filter fields look correct.  I had also problem with filters after update to HIkashop 4.2.0 – this was discussed on this forum thread: - I don’t know but maybe this new problem has similar roots to the previous one.  I would like to ask for help with this problem.  Regards, Greg")*

Hi,
i've have the same problem with the filter after the upgrade to the last hikashop version 4.2.2.
The filter does't work.  [ ![Filter.jpg](/forum/attachment/48213) ](/forum/attachment/48213 "Filter.jpg")

[ ![Filter.jpg](/forum/attachment/48213) ](/forum/attachment/48213 "Filter.jpg")

- [ ![Filter.jpg](/forum/attachment/48213) ](/forum/attachment/48213 "Filter.jpg") [ ](/forum/attachment/48213?download=1 "Filter.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzg5ODY4Ni1wcm9ibGVtLXdpdGgtZmlsdGVycy1hZnRlci1oaWthc2hvcC00LTItMi11cGRhdGU/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 2 days ago [\#313248](#313248) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[problem with filters after Hikashop 4.2.2 update](/forum/25-install-update/898686-problem-with-filters-after-hikashop-4-2-2-update#313248 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, After update from Hikashop 4.2.1 to 4.2.2 I have problem with proper functioning of Hikashop filters  After publishing of certain number of custom filters in the Hikashop filter module filters are not working properly (I cannot find any systematics in this subject). I setup test installation and up to 9 filters in Hikashop filter module filters are working ok but with 10 filters and more filters in Hikashop filter module filters are not working properly. I try to publish/unpublish different filters but type of filters has no impact on this situation only number of filters. I also checked this with Prostar Template and problem exist. I haven’t set any maximum number of filters neither in Hikashop filter module or in Hikashop configuration. I didn't override product / filter.php.  Up to 9 filters:  (a) filtering works ok (b) dynamic filters works ok (c) deletable filters are presented with deletion button after filter is set (d) after Reset button is set filtering is reset and all filter fields are reset as well  please find below how it looks on images (with 9 filters in Hikashop filter module) - when is ok: image 1 – after some filters are set  image 2 - after reset button is set  From 10 filters and more:  (a) filtering works ok (b) dynamic filters are not working (you need to refresh browser using F5 to start dynamic filters working) (c) deletable filters are not presented properly - they are without deletion button after filter is set (you need to refresh browser using F5 to see deletaion button next to the field) (e) after Reset button is set filtering is reset but all filter fields are still look as they were set (you need to refresh browser using F5 to unset filter fields) (f) additionally in some cases reset button not appears when filters are set until browser is refresh (F5)  please find below how it looks on images (with11 filters in Hikashop filter module) - when is not ok: image 3 - after some filters are set  image 4 – after reset button is set  It is really strange. I cannot find any systematics why with certain number of filters filter module works fine and after certain number of filters problem occurs. Additionally when I checked this also on different installation the problem occur after exceeding different number of filters. However, the common feature is that after refreshing the browser via F5, the filter fields look correct.  I had also problem with filters after update to HIkashop 4.2.0 – this was discussed on this forum thread: - I don’t know but maybe this new problem has similar roots to the previous one.  I would like to ask for help with this problem.  Regards, Greg")*

Hi,

I checked your website and the issue you have doesn't look like what is described by @Greg_C here.
In your case, when a filter is used, the main area is not refreshed.
That's because some of the view files were customized based off of an old version of HikaShop and thus you didn't get all the modifications necessary for the AJAX filtering to work properly.
You need to check the folder templates/YOUR_TEMPLATE/html/com_hikashop/product/ via FTP.
There, rename the files one by one and test the filters each time in order to find the view file override which you need to recustomize.
I suppose that it's probably listing.php or listing_div.php that you'll have to redo for the filters to work properly.

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

7 years 2 days ago [\#313265](#313265) by [sportpro](/forum/user/37669-sportpro "View sportpro's Profile")  Replied by *[sportpro](/forum/user/37669-sportpro "View sportpro's Profile")* on topic *[problem with filters after Hikashop 4.2.2 update](/forum/25-install-update/898686-problem-with-filters-after-hikashop-4-2-2-update#313265 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, After update from Hikashop 4.2.1 to 4.2.2 I have problem with proper functioning of Hikashop filters  After publishing of certain number of custom filters in the Hikashop filter module filters are not working properly (I cannot find any systematics in this subject). I setup test installation and up to 9 filters in Hikashop filter module filters are working ok but with 10 filters and more filters in Hikashop filter module filters are not working properly. I try to publish/unpublish different filters but type of filters has no impact on this situation only number of filters. I also checked this with Prostar Template and problem exist. I haven’t set any maximum number of filters neither in Hikashop filter module or in Hikashop configuration. I didn't override product / filter.php.  Up to 9 filters:  (a) filtering works ok (b) dynamic filters works ok (c) deletable filters are presented with deletion button after filter is set (d) after Reset button is set filtering is reset and all filter fields are reset as well  please find below how it looks on images (with 9 filters in Hikashop filter module) - when is ok: image 1 – after some filters are set  image 2 - after reset button is set  From 10 filters and more:  (a) filtering works ok (b) dynamic filters are not working (you need to refresh browser using F5 to start dynamic filters working) (c) deletable filters are not presented properly - they are without deletion button after filter is set (you need to refresh browser using F5 to see deletaion button next to the field) (e) after Reset button is set filtering is reset but all filter fields are still look as they were set (you need to refresh browser using F5 to unset filter fields) (f) additionally in some cases reset button not appears when filters are set until browser is refresh (F5)  please find below how it looks on images (with11 filters in Hikashop filter module) - when is not ok: image 3 - after some filters are set  image 4 – after reset button is set  It is really strange. I cannot find any systematics why with certain number of filters filter module works fine and after certain number of filters problem occurs. Additionally when I checked this also on different installation the problem occur after exceeding different number of filters. However, the common feature is that after refreshing the browser via F5, the filter fields look correct.  I had also problem with filters after update to HIkashop 4.2.0 – this was discussed on this forum thread: - I don’t know but maybe this new problem has similar roots to the previous one.  I would like to ask for help with this problem.  Regards, Greg")*

Yes... problem solved ...
was the file listing.php

Thanks

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

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