Hi @SereneGellae ,
According to your message, there are two main issues:
Issue 1: “Add to Cart” Freezes Page Until Another Element is Clicked
Diagnosis: This is typically a JavaScript issue caused by:
An unhandled event in your theme’s product-form.js or theme.js
A modal or overlay that remains active but invisible after the “Add to Cart” event
Shopify AJAX cart errors or a third-party app script causing conflicts
Steps to Fix:
Check Console Errors (on Chrome DevTools):
Right-click your page → Inspect → Console tab
Try adding a product to cart and see what errors show up
Look in product-form.js or theme.js:
Find the function handling the “Add to Cart” event
Make sure the function finishes properly and doesn’t leave a modal or overlay open
Common issue: loading overlays not being hidden after AJAX call completes
Temporarily disable third-party apps:
Apps like sticky cart, upsell, or popup cart might cause interference
Disable apps one by one and test the add to cart function
Test on a Backup Theme:
Duplicate your current theme (Online Store > Themes > Actions > Duplicate)
Try using Shopify’s Dawn theme and test Add to Cart functionality there
If it works fine, your current theme has a code issue
Issue 2: “Out of Stock” Message at Checkout but Nothing Is Actually Removed
Diagnosis: This is usually due to:
Theme or app cache not syncing with inventory
Delayed updates to inventory levels via Shopify’s backend
Products having multiple variants with inventory tracking improperly set
Steps to Fix:
Check Inventory Settings:
Go to your Shopify Admin → Products → Click a product → Check “Track quantity” and “Continue selling when out of stock”
Ensure all variants have inventory assigned
Check Draft Orders or Cart Scripts:
If you’re using Shopify Plus, a script might incorrectly trigger this message
Otherwise, check for cart-related scripts or third-party apps that modify cart behavior
Disable Apps that Interfere with Checkout:
Apps that manage inventory (pre-orders, back-in-stock, etc.) can trigger false out-of-stock errors
Disable them temporarily to isolate the issue
Hope this will help. Let me know if you need more help.
Regards,