Home Forums WoodMart support forum Archive category Ajax not working

Archive category Ajax not working

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #450790

    johannes.radl
    Participant

    Hi Team!
    I hope you are doing well. I am facing an issue on my site with ajax categories on the archive page. It’s ajax is not working well. It starts reloading on selecting filters.
    We need assistance in this regard.
    Thank you!

    #450797

    Artem Temos
    Keymaster

    Hello,

    Please, disable all plugins that are not related to our theme and provide us with your admin access. We will log in and check what is wrong there. You can leave only the following plugins that are required for our theme:
    WoodMart core
    WooCommerce
    Elementor/WPBakery page builder

    Thank you in advance

    #450822

    johannes.radl
    Participant

    Hi!
    I have attached the login access to staging please check!
    Thanks !

    #450823

    johannes.radl
    Participant

    Hi!
    I have attached the login access to staging please check! I have added two logins
    Thanks !

    #450943

    Artem Temos
    Keymaster

    Hello,

    We just tested this on your website but the AJAX seems to work correctly on the shop page. Check this short video https://gyazo.com/c89c21050ea34e54e7b97149c72d2a43

    Kind Regards

    #450976

    johannes.radl
    Participant

    Please try left side filters they are not working well! and please see it does not work you should keep and eye on page reload too so you will see that the ajax is not working well!

    #450995

    Artem Temos
    Keymaster

    It may reload the page when your server response takes more than 5 seconds. But as we can see, it reloads the content with AJAX correctly at the moment.
    Could you please record a video that demonstrates this problem?

    #451144

    johannes.radl
    Participant

    Hi please visit this link.

    #451147

    Artem Temos
    Keymaster

    Sorry, but this link can’t be opened for us. Could you please send us another link to show this issue?

    #451255

    johannes.radl
    Participant

    Hi please check this!

    Attachments:
    You must be logged in to view attached files.
    #451296

    Artem Temos
    Keymaster

    Hello,

    Our AJAX requests have a timeout of 5 seconds and if they don’t get a response from the server at this time the page will be loaded in a natural way. If you need, we can give you an instruction on 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 or check your performance. Because it should be loaded in 0.5-1.5 seconds at most.

    Kind Regards

    #451488

    johannes.radl
    Participant

    Hi please let me know how i can add this 15 seconds?

    #451603

    Artem Temos
    Keymaster

    Try to add the following code to the functions.php file in your child theme

    add_filter( 'woodmart_pjax_timeout', function(){
    	return 15000;
    } );

    Kind Regards

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