Order

Note: Spartacus 4.x is no longer maintained. Please upgrade to the latest version.

Note: Spartacus 4.x was tested with SAP Commerce Cloud versions 1905 to 2205. Spartacus 4.x has not been verified to work with (and is not guaranteed to work with) SAP Commerce Cloud 2211 or later releases.

Note: This feature is introduced with version 1.0 of the TUA Spartacus libraries.

The order works differently in TUA Spartacus than in core Commerce Spartacus and needs to support product offerings as well as the complex pricing structure to support multiple types of charges including one-time charges, recurring charges, and usage charges.

The Order Review allows customers to browse through their orders and see price details of the cart and cart item of the selected order, the Order Summary displays the final price of the order after discounts and other charges before proceeding to checkout, and the Order Confirmation displays the detailed information of the placed order.


Table of Contents


Components

  • TmaOrderConfirmationItemsComponent extends OrderConfirmationItemsComponent display Pay on Checkout and other prices of the Product Offering in the Order History. Information displayed is the same as for TmaCartItemComponent.
  • TmaOrderConfirmationTotalsComponent extends OrderConfirmationTotalsComponent to display Subtotal, Delivery cost, and Pay on Checkout Total price on the Order Confirmation. Information displayed is the same as for TmaOrderSummaryComponent, and the only difference is that the Delivery Cost is always displayed.

Further Reading

For more information, see Pricing at Cart and Order Level in the TUA Help portal.