• Resolved katmacau

    (@katmacau)


    Hello. I discovered a issue that happened only after recent updates. When ‘Defer Render-blocking JS’ is enabled, it threw a JS error:

    wp-util.min.js:2 Uncaught ReferenceError: _ is not defined

    This error then meant that Woocommerce’s add-to-cart-variation.js could not fire and customers who were not logged in, could not add variable products to the cart. If you were logged in, it still worked.

    Disabling that setting fixed the issue but that is not a long term solution.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Defer Render-blocking JS breaking Woocommerce add to cart’ is closed to new replies.