Home › Forums › WoodMart support forum › Delay by Filter
Delay by Filter
- This topic has 9 replies, 2 voices, and was last updated 6 years, 6 months ago by Artem Temos.
-
AuthorPosts
-
June 13, 2018 at 8:33 am #62604
andrebeyerParticipantI have a lot of products in my shop and have offered different filters in the sidebar. If one clicks on these, allegedly by AJAX the result list is filtered. At least you can see the loading symbol for a short time.
However, then again appears exactly the list of articles that were to be seen before clicking on the filter.
If you wait a few seconds again, the page is renewed again and only then the filter is working and the list of articles is filtered.
That’s not very intuitive. Why is that? Can you help me with that, I realize that I have a lot of products and attributes in the shop, but that’s why I wanted your awesome theme. 🙂
I would be very grateful if you have a solution here, the shop should go online soon.
June 13, 2018 at 8:37 am #62607
andrebeyerParticipantThe problem seems to be related to a larger number of articles. At first I thought it was related to the functionality “load more” or “infinite”, but Pagination also has this very nasty delay.
June 13, 2018 at 8:53 am #62610
Artem TemosKeymasterHi,
We just tested your products and filters but don’t see any problems. What are the steps to reproduce this issue on your website?
Thank you
June 13, 2018 at 9:09 am #62617
andrebeyerParticipantHello, yes I deactivate now in Theme Settings AJAX SHOP and Scroll by AJAX. Now I have activated them and you can check. Thanks in advance.
June 13, 2018 at 9:48 am #62632
Artem TemosKeymasterIt still works correctly for us https://gyazo.com/b8dc8e001dd11c768a9511fe3ad4cee1
June 13, 2018 at 9:54 am #62635
andrebeyerParticipantIt is especially in big categories – Abgasanlagen or Karosserie
June 13, 2018 at 10:00 am #62638
Artem TemosKeymasterHello,
Our AJAX requests have a timeout of 5 seconds and if they don’t get a response from the server in this time the page will be loaded in a natural way. If you need, we can give you an instruction how to increase this time to 10 or 15 seconds but it is not a solution and you can try to disable this function completely.
Kind Regards
XtemosJune 13, 2018 at 10:01 am #62640
andrebeyerParticipantI don´t understand that. I have increased the memory limit to 2048MB in last minutes, that may be helped?
Other question. Where I can translate something like “clear filters” when you activate some filter to german language? With Loco Translate or in Theme Settings somewhere?
June 13, 2018 at 10:03 am #62642
andrebeyerParticipantyes i would try to increase to 6-8 seconds. Can you give me the instructions?
June 13, 2018 at 11:18 am #62656
Artem TemosKeymasterTry to add the following PHP code snippet to the child theme functions.php file to do this
add_filter( 'woodmart_pjax_timeout', function(){ return 10000; } );
-
AuthorPosts
- You must be logged in to create new topics. Login / Register