Magento_Quote
Shopping cart data model, item management, totals calculation, address handling, coupon application, and payment method storage.
Shopping cart data model, item management, totals calculation, address handling, coupon application, and payment method storage.
The Magento_Quote module is the foundational data layer for the shopping cart. It manages the quote entity (the cart before it becomes an order), including items, addresses, shipping methods, payment methods, coupons, and totals calculation. This is a pure data model module with no UI components - all frontend rendering is handled by Magento_Checkout.
Quote data model, database schema, service contracts, totals collectors, and validation rules.
Add to cart, quote save, totals collection, address assignment, and quote-to-order conversion.
Product catalog plugins, quote recollection triggers, order submission observers, and store context handling.
Catalog, Sales, Customer, Checkout, CatalogInventory, Tax, and Payment module dependencies.
Totals calculation race conditions, item option handling quirks, masked quote ID security, and address validation edge cases.
Complete cart lifecycle from creation to order conversion, with item add/update/delete operations.
Extensible totals collector system for subtotal, shipping, tax, discounts, and grand total calculation.
Billing and shipping address management with validation, country restrictions, and VAT handling.
Coupon code validation and application with integration to SalesRule for discount calculation.
Masked quote IDs for anonymous cart access, with cart merge on customer login.
Composable validation system for addresses, shipping methods, payment methods, and minimum order amounts.
The Quote module depends on these core modules:
Product data for cart items, pricing, and options
Customer data, addresses, and group pricing
Store context, currency, and website scope