Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions docs/developer/checkout/performance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,19 @@ For lazy operations, only requesting certain fields will trigger prices recalcul

It takes at least one field to trigger recalculation.

These fields are (for Checkout & Order in Draft or Unconfirmed status)
These fields are:

**For Checkout**
- `totalPrice`, `subtotalPrice`
- `shippingPrice`
- lines `totalPrice`
- lines `unitPrice`

**For Order in Draft or Unconfirmed status**
- `total`, `subtotal` & `undiscountedTotal`
- `undiscountedShippingPrice`, `shippingPrice` & `shippingTaxRate`
- `discounts`
- lines `total` & `undiscountedTotalPrice`
- lines `totalPrice` & `undiscountedTotalPrice`
- lines `unitPrice` & `undiscountedUnitPrice`
- lines `taxRate`
- lines `unitDiscount`, `unitDiscountValue`, `unitDiscountType`
- lines `unitDiscount`, `unitDiscountValue`, `unitDiscountType`
Loading