Why are some customers receiving wrong size orders from my online store?

Topic summary

Issue: Some orders intermittently record the smallest default size (XS) instead of the customer’s selected size, causing returns. Store uses a heavily customized Prestige theme; problem is hard to reproduce and most orders are correct.

Findings so far:

  • No clear JavaScript (JS) conflicts detected by a reviewer; a specific product URL was shared for testing (access may require AU VPN).
  • Hypothesis: a race condition during page load. If customers select a size before the page fully initializes, the default XS may be submitted because the variant state isn’t updated (missing/unchanged variant parameter in URL).

Recommended debugging/tests (proposed):

  • Temporarily hide or disable the add-to-cart (ATC) button until product-form JS finishes loading; longer-term, prioritize loading of product-form JS.
  • Simulate slow networks via throttling; test with/without ad blockers; try a fresh theme with app code removed to isolate interference.

Latest update from the merchant:

  • ATC is already hidden until full load; they could not reproduce adding before load.
  • With JS disabled or with an ad blocker, behavior is fine, which complicates the initial hypothesis.

Status: Unresolved/ongoing. Another merchant reports the same issue (multiple sizes, recent returns) and asks if a solution was found.

Summarized with AI on February 5. AI used: gpt-5.

Actually, the cart button is already hidden until the page is fully loaded, and I haven’t been able to select a size and add to cart before it’s fully loaded.

With Javascript disabled or an ad blocker, it also works fine.