
When cart behavior no longer matches the catalog
A customer adds an item, increases its quantity and suddenly sees an out-of-stock warning. The checkout button may become disabled and work again after a refresh. That symptom does not automatically prove a stock problem; it can indicate disagreement between the browser’s state and a server response.
Reproduce the exact steps
Record the PrestaShop and PHP versions, theme, cart modules, product, combination and quantities. Compare a fresh cart with an older one retained in a customer session. Test as a guest and as a signed-in customer, including a private browsing window.
Use the browser developer tools Network tab to inspect AJAX requests triggered by quantity changes. Note HTTP status, JSON responses and console errors. The visible message alone is not sufficient evidence.
Verify availability rules
Inspect stock management, backorder settings, combinations and minimum quantities, as well as modules that alter cart rules. When stock management is disabled, identify which component generated the apparent shortage message rather than assuming a specific cause.
Compare old and new carts
After migration, older carts can behave differently from newly created ones. Compare cart identifiers, product lines and session context in a test environment. An old-cart-only failure is a strong clue but not a final diagnosis.
Isolate theme, JavaScript and modules
On staging, compare the AJAX behavior with and without custom scripts, theme modifications and cart extensions. Check caches and overrides. A refresh that restores checkout may point to a client/server state mismatch. Do not randomly disable production modules that affect prices, shipping or payment.
Validation checklist
1. Reproduce on a known product and quantity.
2. Save the network response and console error.
3. Compare guest, fresh and existing carts.
4. Verify stock and quantity rules.
5. Isolate scripts and plugins on staging.
6. Test checkout through payment confirmation.
A stock warning may originate outside the stock system. For focused PrestaShop troubleshooting, contact Concepty.
