Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Cart and Checkout Validation

Cart Reserve enforces reservation rules during both cart updates and checkout.

This ensures consistency between reserved quantities and what can be purchased.

Cart-Level Validation

During cart interactions:

  • Quantity increases are validated against available inventory
  • Cart updates that exceed availability are blocked
  • Active reservations are updated or adjusted accordingly

Cart-level validation prevents invalid reservations from being created.

Checkout-Level Validation

During checkout:

  • Reserved quantities are validated using Shopify checkout rules
  • Checkout is blocked if quantities exceed active reservations
  • Validation occurs before order creation

This ensures that only valid, reserved quantities can be purchased.