Home Forums WoodMart support forum Delay by Filter

Delay by Filter

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #62604

    andrebeyer
    Participant

    I 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.

    #62607

    andrebeyer
    Participant

    The 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.

    #62610

    Artem Temos
    Keymaster

    Hi,

    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

    #62617

    andrebeyer
    Participant

    Hello, 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.

    #62632

    Artem Temos
    Keymaster

    It still works correctly for us https://gyazo.com/b8dc8e001dd11c768a9511fe3ad4cee1

    #62635

    andrebeyer
    Participant

    It is especially in big categories – Abgasanlagen or Karosserie

    #62638

    Artem Temos
    Keymaster

    Hello,

    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
    Xtemos

    #62640

    andrebeyer
    Participant

    I 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?

    #62642

    andrebeyer
    Participant

    yes i would try to increase to 6-8 seconds. Can you give me the instructions?

    #62656

    Artem Temos
    Keymaster

    Try 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; } );

Viewing 10 posts - 1 through 10 (of 10 total)