Scripts to Functions
Replace Shopify Scripts with Functions for discount, shipping and payment rules, decide who builds them, and know when an app costs less.
Select Subcategory
Common Questions
Can we prototype a discount-stacking or validation rule using Shopify Flow first, before committing budget to a custom Function build?
Shopify Flow can test the data behind a discount or validation rule, not the rule itself, because Shopify Functions run during checkout (shopify.dev, October 2026). Flow acts after store events and is free on the Basic, Grow, Advanced and Plus plans (Shopify Help Center, October 2026). Run Flow first to prove your tags and metafields are populated.
If our custom shipping-rate Function needs updating every time we add a new fulfillment location, does that ongoing cost make a simpler native rule table a better long-term choice?
No: custom shipping-rate code that needs a code change for every new location was scoped wrong, not chosen wrong. Read locations from settings, and new warehouses become data edits. Shopify's shipping profiles add the same step on either path: each new location joins every profile with no rates, native or carrier-calculated, until someone assigns it (Shopify Help Center, October 2026).