PriceSummary
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)
Copied to your clipboardimport PriceSummary from "@magento/venia-ui/lib/components/CartPage/PriceSummary";
Source Code: pwa-studio/packages/venia-ui/lib/components/CartPage/PriceSummary/priceSummary.js