Price Summary component

PriceSummary(props) ⇒ React.Element

A child component of the CartPage component. This component fetches and renders cart data, such as subtotal, discounts applied, gift cards applied, tax, shipping, and cart total.

Kind: global function

Param Type Description
props Object  
props.classes Object CSS className overrides. See priceSummary.css for a list of classes you can override.

Example (Importing into your project)

import PriceSummary from "@magento/venia-ui/lib/components/CartPage/PriceSummary";

For implementation details View Source.


The Price Summary component and its child components use the Price Summary Talons to perform side effects and calculate the values for rendering the JSX content.