Product Icon

Google Analytics for WooCommerce

Understand your customers and increase revenue with the world’s leading analytics platform — integrated with WooCommerce for free.

Request to change the error handling to a soft one so the JS execution doesn’t break in themes with custom add to cart handling

Hello,

Based on this support topic – https://wordpress.org/support/topic/throwing-a-js-error-on-add-to-cart-for-variable-products/, I request you to please change the error thrown during “added_to_cart” JS event to a maybe a soft console message so that the JS execution doesn’t break where the event is fired by a custom theme or plugin. I face this issue in Astra theme when using the ajax add to cart feature of it.

Will be really helpful.

Thanks!

Author

rameshmahala

Current Status

Open

Last updated: May 29, 2025

0 comments

Log in to comment on this feature request.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.