Price Summary component

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.

Returns: ** **Parameters

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

Example (Importing into your project)

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

Source Code: pwa-studio/packages/venia-ui/lib/components/CartPage/PriceSummary/priceSummary.js


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.