Cart Page component

CartPage(props) ⇒ React.Element

Structural page component for the shopping cart. This is the main component used in the /cart route in Venia. It uses child components to render the different pieces of the cart page.

Kind: global function
See: https://venia.magento.com/cart

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

Example (Importing into your project)

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

For implementation details View Source.

Talon

The Cart Page component uses the useCartPage() talon to perform side effects and calculate the values for rendering the JSX content.