Skip to content

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

  1. Go to Marketing → Checkout Functions in your admin panel
  2. Click New Function and choose a function type
  3. Build your conditions using the Rule Builder (e.g. "Cart subtotal is greater than $50")
  4. Add actions (e.g. "Apply 10% discount")
  5. 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?