Checkout Functions: Customize Discounts, Shipping & Payments
What are Checkout Functions?
Checkout Functions let you build custom business logic that runs automatically during checkout. You can apply discounts, filter shipping rates, hide payment methods, and block orders that don't meet your requirements ā all without code.
Function Types
- Discount Calculate ā Apply percentage or fixed discounts based on cart conditions
- Shipping Filter & Sort ā Hide, rename, or reorder shipping rates
- Payment Customization ā Hide or reorder payment methods
- Checkout Validate ā Block checkout with a custom error message
Creating a Function
- Go to Marketing ā Checkout Functions in your admin panel
- Click New Function and choose a function type
- Build your conditions using the Rule Builder (e.g. "Cart subtotal is greater than $50")
- Add actions (e.g. "Apply 10% discount")
- Click Save and toggle the function Active
Testing a Function
Use the Test panel on the function edit page to simulate a cart and see which operations your function returns without affecting live orders.
Checkout Branding
Customize the look of your checkout at Online Store ā Checkout Branding. Set primary colors, button styles, corner radius, and typography.
Was this helpful?