• Resolved sobingt

    (@sobingt)


    Load More Button in my Woocommerce category page is working little weird:

    ### in usual case ###

    When you click on Load more Product Button an ajax call is made on this URL format

    
    <base-url>/product-category/<category-name>/page/<page-no>/?loop=<no of items>&woo_ajax=1
    

    for e.g

    
    https://imfpa.org/product-category/paintings/reprints/open-edtion/abstract/page/3/?loop=12&woo_ajax=1
    

    JSON Response https://pastebin.com/LV2Qi8ZC

    The response is a JSON with key items with HTML code to update the new rows of products

    ### in error case ###

    When you click on Load more Product Button on

    
    https://imfpa.org/product-category/paintings/reprints/open-edtion/abstract/
    

    an ajax call is done to

    
    https://imfpa.org/product-category/paintings/reprints/open-edtion/abstract/page/2/?loop=12&woo_ajax=1
    

    but the response is a not JSON, which is giving me a parse error and the page is not getting loaded.

    JSON Response with parse error https://pastebin.com/9bDCBiRs

    I am not able to find the issue. I believe the issue is around some product entries.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Woocomer’ is closed to new replies.