CheckoutNew
A one-column checkout: bag with steppers, address and delivery speed, promo code, summary, then Pay or Apple Pay to the placed order.
Pro block · recorded from Pro
The SwiftUI source comes with SwiftPieces Pro.
Every Pro block installs with one command once your license is signed in, and re-skins with Pro's design system.
Open it in the Pro library ↗Needs a SwiftPieces Pro license: npx swiftpieces login first.
- Type
- CheckoutBlock
- Inside
- Bag with quantity steppers, Address and delivery speed, Promo code and a total that follows, Pay and Apple Pay to the placed order
- Install, with a Pro license
- npx swiftpieces add CheckoutBlock
- Depends on
- Pro's Design System, which installs with it
The checkout section of a cart or checkout screen. Each bag line has a quantity stepper, and the line price, summary and Pay label roll as quantities change; delivery shows the address with Change and each speed with its day and price, and a promo code applies or explains why not. Pay shows its working, done and failed states in place, Apple Pay uses the system button, and the block settles into the placed order with its number and arrival day.
Its SwiftUI source comes with SwiftPieces Pro: Checkout in the Pro library.