Cart
Understanding the attributes needed to convert your design into cart page.
Please note that this document is still Work in Progress. It might be updated, revised, or changed entirely in the near future.
pccartInitialize the Cart page
pcproduct-listParent element for all cart items
pcproduct-itemIdentifies the cart item structure to render dynamically
pcproduct-quantityCaptures the quantity
pcremove-productElement to remove cart item
pcproduct-skuProduct SKU
pcproduct-customDisplay list of product options
pcproduct-imageProduct image
pcsummary-subtotalDisplay store subtotal
pcsummary-deliveryDisplay store shipping rate
pcsummary-taxDisplay store taxes
pcsummary-totalDisplay store total
pcview-checkoutButton to proceed to the checkout page
pcsummary-discount-wrapperParent element for discount rate
pcsummary-discount-labelElement to nest applied discounts
pcsummary-discount-valueDisplay store discount rate
pcdiscount-wrapperParent element for coupon input elements
pcdiscount-formDefine form block for input validation
pcdiscount-submitDefine button that triggers coupon submission
pctoast-discount-okElement for coupon success
pctoast-discount-errorElement for coupon failure
pctoast-discount-codeChild element within coupon element to display valid discount code
Last updated
Was this helpful?