Order summary component
Gain a better understanding of the order summary component along with how to create and mount it
Last updated
Gain a better understanding of the order summary component along with how to create and mount it
Last updated
The order summary component lists the products in the customer's cart at checkout-time and provides an item-level and order-level breakdown of how much they are to be charged, denominated in the checkout-session's currency
.
For each of that resource's items[]
, the component displays its quantity
along with the image
and name
that you either passed in productDetails
or stored in the referenced SKU.
As customers progress through the various stages of checkout, Digital River computes applicable taxes and shipping costs and then updates the experience.
To create an instance of the order summary component, pass 'ordersummary'
to createComponent()
.
To attach the order summary component to your DOM, pass the id
of its container to mount()
.