Overview
This guide walks through building a free shipping progress bar component. You’ll learn how to:- Set up a component project
- Access checkout data
- Handle user interactions
- Deploy to production
Prerequisites
- Ollie Shop CLI installed
- Basic React knowledge
- Access to a test store
Create the Component
1
Initialize Component
2
Install Dependencies
3
Review Structure
Build the Component
Replacesrc/index.tsx:
index.tsx
Add Styles
Createsrc/styles.css:
styles.css
Test Locally
- Live component preview
- Mock cart data controls
- Mobile/desktop views
Deploy
1
Build
2
Deploy
3
Verify