• Resolved webinar2

    (@webinar2)


    I need help! My woocommerce cart page keeps refreshing while i attempt to input a coupon code. All the reading I have done suggests I should disable AJAX (which I did) but I can’t figure out what else to do to stop the refresh. Any help will be appreciated.

    • This topic was modified 4 years, 4 months ago by Yui. Reason: moved to fixing wordpress

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @webinar2

    It looks like your cart page has a redirect loop.

    If the page has a redirect loop, it means that the address points to your WordPress page, but the page points to a different address which then leads back to where you started, and so on – catching your browser in a loop.

    You can work through the following article to see if that helps you resolve the issue:

    https://undsgn.com/too-many-redirects-issue/

    Thread Starter webinar2

    (@webinar2)

    Thanks for your reply. I went thru that article and disabled all plugins except woocommerce. The situation persists. it appears to me that woocommerce itself maybe the cuplrit here! Any input of text in the coupon code box or click of mouse to adjust quantity of product triggers the refresh which precisely happen every 10 seconds!

    Thread Starter webinar2

    (@webinar2)

    i have narrowed down where my problem is:

    one is here

            if(e||n(".woocommerce-error, .woocommerce-message, .woocommerce-info").remove(),0===r.length){
            if(n(".woocommerce-checkout").length)return void window.location.reload();
    

    and the other is here

          n(document.body).trigger("updated_wc_div")}
            else window.location.reload()},
    

    I wonder if I can just delete that line with “else” and see who freaks out!!!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘cart page refresh upon input’ is closed to new replies.