ADDITIONAL INFORMATION
Around the time when the issue first appeared, a small custom WooCommerce snippet was added via Code Snippets plugin.
The snippet was hooked into:
woocommerce_before_calculate_totals
Its purpose was to automatically apply a coupon when specific products were present in the cart.
Important notes:
- The snippet runs only on cart and checkout pages.
- It does not run on single product pages.
- The snippet was disabled during most of the troubleshooting process.
- The infinite loading issue still occurs even when the snippet is completely inactive.
This is included only for completeness in case the hook interaction is relevant.