Cart
Understanding the attributes needed to convert your design into cart page.
Last updated
Was this helpful?
Understanding the attributes needed to convert your design into cart page.
Last updated
Was this helpful?
Please note that this document is still Work in Progress. It might be updated, revised, or changed entirely in the near future.
Before starting, please set the parent element that wraps everything with pc="cart
if you are starting from scratch.
Initialize the Cart page
Parent element for all cart items
Identifies the cart item structure to render dynamically
Captures the quantity
Product SKU
Element to remove cart item
Display list of custom variables
Product image
Display store subtotal
Display store shipping rate
Display store taxes
Display store total
Button to proceed to the checkout page
Parent element for discount rate
Element to nest applied discounts
Display store discount rate
Parent element for coupon input elements
Define form block for input validation
Define button that triggers coupon submission
Element for coupon success
Element for coupon failure
Child element within coupon element to display valid discount code