The cart total shows the order total of cart items with, and without tax and discount applied. Also applied coupons are visible if have been used.

<aside> ℹ️ Usually, styling this element takes from-to: 4-6h

</aside>

Where this element can be seen?

A cart total is a common element on the e-commerce site. It can be found on the following elements:

How should this element be designed?

The cart totals should be displayed accounting for the following:

Cart page

Cart page

Design example #1

How to develop styles for this element?

The CheckoutOrderSummary component renderTotals method is responsible for rendering the cart totals Checkout and CartPage.

In the scope of this task order total, tax, subtotal, discount, estimated shipping should be styled. Also related animations and layout.

On mobile cart's totals are rendered in the ExpandableContent

Implementation Example #1