Shopify Functions vs internationalization (Markets): the differences that actually decide it
These two get compared because they get bought in the same budget meeting, not because they do the same job. Shopify Functions and internationalization (Markets) solve different problems, and the stores that choose well start from the problem, in writing, before they look at either feature list. Choose from a feature list and you will own both within a year, using neither properly.
Two tools, two different jobs: Shopify Functions and internationalization (Markets)
Shopify Functions is a family of small pieces of server-side logic that Shopify runs itself. A function reads the cart and returns a decision: apply or block a discount, rename or hide a delivery option, hide a payment method, hold checkout until a validation passes. Functions are the supported replacement for Shopify Scripts, which stopped running on June 30, 2026. internationalization (Markets), by contrast, is Shopify's Markets layer for selling into other countries with localised domains and languages, market-specific catalogs and price lists, and duties and tax settings per market. A market is a set of commercial rules wearing a translation, not the other way round. Read those two definitions back to back and the comparison mostly settles itself: they touch the order at different points, for different reasons.
The overlap, and why it is smaller than it looks
Shopify's own refund mechanics set expectations a store cannot argue with. A Shopify Payments refund shows as pending for up to 2 business days and can take up to 10 business days to land with the customer's bank. Refunds go only to the original payment method, a refund cannot be cancelled once initiated, and the Acquirer Reference Number on the order timeline is the trace a customer takes to their bank when the money looks lost. That is the backdrop the choice sits in. A tool that acts before purchase is arguing with hesitation. A tool that acts during or after purchase is arguing with cost. Confusing the two is how stores end up measuring a pre-purchase tool on refund rates and a post-purchase tool on conversion, then declaring both failures. That background is what makes the edge cases make sense. It is also why this pairing deserves its own examination rather than a footnote. The numbers above set the stakes for the decision in particular.
The difference bites hardest on edge cases: the order that is part gift, part subscription, part discount, placed from a second country by a returning customer. Run your last twenty odd orders through each option on paper. Brochures tie. Edge cases do not. It is also why this pairing deserves its own examination rather than a footnote. The numbers above set the stakes for the decision in particular. Applied here, the principle has a few sharp edges worth naming. This is the backdrop against which the pairing has to be judged.
What each does to returns
Count cost as money plus attention. A cheaper option that needs a weekly manual step costs that step forever, at the rate of whoever ends up doing it, including the weeks they are away and it does not get done. Speed still has a published yardstick. web.dev puts good Core Web Vitals at a Largest Contentful Paint of 2.5 seconds or under, Interaction to Next Paint at 200 milliseconds or under, and Cumulative Layout Shift at 0.1 or less, each at the 75th percentile of real visits. Any tool added to a storefront should be judged against those three numbers before and after, not against a lab score. The numbers above set the stakes for the decision in particular. Applied here, the principle has a few sharp edges worth naming. This is the backdrop against which the pairing has to be judged.
Choosing by the problem you actually have
Small teams should weight maintenance heavily, because they have no slack to absorb it. Larger teams should weight reporting and control, because their problem is coordination across people, not hours in a day. The same comparison, honestly argued, gives different answers at different sizes. Our notes in Shopify Functions: what it is, how it works, and where it falls short and SMS marketing compliance explained: what it requires and who it applies to cover adjacent decisions with the same shape.
Returns separate them again. One of the two changes what customers expect before they buy, which moves the avoidable share of returns: wrong size ordered hopefully, wrong item ordered confidently. The other changes what happens after the sale, which moves the cost of the returns that happen anyway. A store drowning in avoidable returns and a store drowning in handling cost need opposite answers here. This is the backdrop against which the pairing has to be judged. That is the lens for everything that follows on this pairing. Keep that framing in mind as the detail unfolds. For this combination specifically, the same logic applies with local wrinkles.
When to run both
Fraud is a minority of returns, but a priced one. Retailers that track it in the NRF and Happy Returns 2025 work counted 9 percent of returns as fraudulent, while Appriss Retail and Deloitte, modelling transaction data for 2024, put returns and claims fraud at 15.14 percent of returns, 103 billion dollars. The gap is definitions, not arithmetic, and it is why a store needs its own count before it copies anyone's threshold. The deciding test is a pilot: one segment, one category or one market, a full business cycle, and the success metric written down before the pilot starts. If neither side of the argument can state the metric, the argument is about taste, and taste arguments are settled by whoever owns the budget, which is a worse way to choose than any pilot. That is the lens for everything that follows on this pairing. Keep that framing in mind as the detail unfolds. For this combination specifically, the same logic applies with local wrinkles.
Frequently asked questions
Is Shopify Functions a replacement for internationalization (Markets)?
No. They do different jobs at different points in the order's life, which is why the comparison confuses people. A store can need either, both or neither. Needing both is common at scale; needing one to do the other's job is where the disappointment starts.
Which comes first for a growing store, Shopify Functions or internationalization (Markets)?
Whichever matches the problem that is costing money now. If the cost is hesitation and abandoned orders, the pre-purchase tool goes first. If the cost is servicing orders already won, the other does. Buying in the wrong order means paying licence fees while the real problem continues untouched.
How do Shopify Functions and internationalization (Markets) differ in their effect on returns?
One shapes expectations before purchase, which changes how many avoidable returns happen. The other shapes handling after purchase, which changes what each return costs. Judge each on its own side of that line, and be suspicious of any report that grades both on the same number.
What metric should decide between Shopify Functions and internationalization (Markets)?
One primary outcome the business already tracks, orders, margin, support tickets or handling hours, measured over a full business cycle in a limited pilot. Write the metric and the threshold down before the pilot. Deciding afterwards which number mattered is how every pilot succeeds and nothing improves.