Cart Items mostly work out of the box. The work is configuring pricing, promotions, inventory, and configuration-attribute schemas to match the org's products.
- Confirm the Cart Item schema
Setup, Object Manager, Cart Item. Confirm the standard fields are populated. Add custom fields only when the standard schema does not cover a real use case.
- Configure pricing rules
Set up the pricing engine (PriceBook plus Pricing Procedures, or custom Cart Calculator extensions). Test that ListPrice, UnitPrice, and Total flow correctly on each Cart Item.
- Build promotions that target Cart Items
Configure line-level promotions (Buy One Get One, percent-off-SKU). Verify Adjustment Amount writes to the right Cart Items during calculation.
- Configure Inventory checks
Decide when Inventory runs (add to Cart, periodic recalculation, checkout). Configure behaviour for out-of-stock items (block, backorder, substitute).
- Model configurable products
For products with options, decide whether configuration lives in child Cart Item Attribute records or serialised JSON. Either pattern works; consistency matters.
- Inventory checks at Cart Item add time produce mid-session Out of Stock messages that frustrate shoppers. Consider deferring to checkout for most product types.
- Line-level promotion math can be opaque. Test promotion stacking on representative carts before launch.
- Custom fields on Cart Item proliferate fast. Add only when the standard schema cannot model the requirement.
- Cart Item to Order Product mapping is the conversion contract. Validate the mapping in sandbox before any production checkout flow ships.