Functions
[PriceAdjustments(props)] ⇒ React.Element
PriceAdjustments is a child component of the CartPage component. It renders the price adjustments forms for applying gift cards, coupons, and the shipping method. All of which can adjust the cart total.
[CouponCode(props)] ⇒ React.Element
A child component of the PriceAdjustments component. This component renders a form for addingg a coupon code to the cart.
[GiftOptions(props)] ⇒ React.Element
A child component of the PriceAdjustments component. This component displays the form for adding gift options.
[ShippingMethods(props)] ⇒ React.Element
A child component of the PriceAdjustments component. This component renders the form for adding the shipping method for the cart.
PriceAdjustments is a child component of the CartPage component. It renders the price adjustments forms for applying gift cards, coupons, and the shipping method. All of which can adjust the cart total.
Returns: Parameters
ObjectfunctionObjectExample (Importing into your project)
import PriceAdjustments from '@magento/venia-ui/lib/components/CartPage/PriceAdjustments'
A child component of the PriceAdjustments component. This component renders a form for addingg a coupon code to the cart.
Returns: Parameters
ObjectfunctionObjectExample (Importing into your project)
import CouponCode from "@magento/venia-ui/lib/components/CartPage/PriceAdjustments/CouponCode";
A child component of the PriceAdjustments component. This component displays the form for adding gift options.
Returns: Parameters
ObjectObjectObjectExample (Importing into your project)
import GiftOptions from "@magento/venia-ui/lib/components/CartPage/PriceAdjustments/GiftOptions";
A child component of the PriceAdjustments component. This component renders the form for adding the shipping method for the cart.
Returns: Parameters
ObjectfunctionObjectExample (Importing into your project)
import ShippingMethods from "@magento/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods";
Source Code: pwa-studio/packages/venia-ui/lib/components/CartPage/PriceAdjustments/priceAdjustments.js