Home Forums WoodMart support forum Problem with woocommerce categories.

Problem with woocommerce categories.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #319402

    Djordjije
    Participant

    Hello,

    I have a problem with ajax i think. When you switch category from widget on shop page ( URL: https://svezapakovanje.shop/kategorija-proizvoda/samolepljive-trake/ ), it won’t load new products and in console it says: pjax error timeout. You can check and open the console.

    Sometimes it works, sometimes it won’t. If you need credentials, will provide.

    #319463

    Hello,

    I am checking the link you have provided and cannot catch the problem.

    https://gyazo.com/91647727f4bbb75253f6b8e5216756d1

    Please describe the actions step by step so that I could reproduce the problem.

    Best Regards

    #319473

    Djordjije
    Participant

    https://gyazo.com/ced3df5e471b979c8d4b8095eeb70ba1

    You can see at the end of the video that products are the same, not new..

    #319589

    Hello,

    Here is what I see and it works as it should: https://gyazo.com/834a4732864a16e88923d29e74363760

    Please explain in words what is wrong.

    Best Regards

    #319723

    Djordjije
    Participant

    Hello,

    Change category from left side and it won’t change products on main side. Sometimes it changes, sometimes I need to click like 10 times..

    https://prnt.sc/1sxrzhe

    #319775

    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 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.
    You can increase the waiting time for a response from AJAX so that the page does not reload.
    Add this code to functions.php in your child theme

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

    Kind Regards
    Xtemos

    #319806

    Djordjije
    Participant

    Working. Thanks.

    #319835

    Artem Temos
    Keymaster

    You are welcome!

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

The topic ‘Problem with woocommerce categories.’ is closed to new replies.