• Resolved websmyth

    (@websmyth)


    We’re experiencing a weird issue where entering a coupon on the checkout or cart pages reloads a page within a page. It doesn’t seem to matter whether the coupon exists or not as ‘real’ coupons aren’t applied and non-existent coupons don’t produce an error.

    There’s nothing in the error_log and the only console messages are:
    – Bartender API access denied.
    – [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience.

    We’re running the latest version of WooCommerce/WordPress and we’re able to reproduce the error in the default theme with all plugins turned off (except WooCommerce).

    Anyone come across this issue or have any clues about what could be causing this?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    Do you have any redirects setup on this site?

    https://www.addressesofdistinction.com/?wc-ajax=test

    is redirecting to:

    https://www.addressesofdistinction.com

    because of this, ajax events including add to cart are not working.

    Thread Starter websmyth

    (@websmyth)

    Hi Mike,

    Thanks for such a quick reply. Removing the redirects from htaccess seems to have resolved it – amazing.

    Thanks so much! I’ll note the ?wc-ajax=test for the future…

    Dave

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add coupons loads page within page’ is closed to new replies.