# Shopify Functions vs internationalization (Markets): the differences that actually decide it

Source: https://returnsift.com/blog/2026-12-05-shopify-functions-vs-internationalization-markets-the-differences-that-actually-decide-it.html

Comparison · 2026-12-05


Short answer: these two are not the same kind of spend, and the choice is rarely either-or for long. The decider is what each one moves.

## Shopify Functions in practice

Functions are small programs that run on Shopify's own servers at the moment a cart or checkout is evaluated. They power discount rules, cart transforms that build bundles, payment customisation that hides or reorders gateways, delivery customisation and checkout validation, and they replaced Shopify Scripts.

Shopify Scripts stopped running on June 30, 2026, so discount and shipping logic that lived in a store's Ruby scripts had to be re-expressed as functions, usually one function per app rather than one file per store.

Discount functions follow the combination rules set in the admin: whether two discounts can combine is a store setting, not something the function decides on its own.

## Internationalization (Markets) in practice

Shopify Markets groups countries into markets and gives each one local currency pricing, duties and taxes calculated at checkout, translated content and its own domain or subfolder. Markets Pro, powered by Global-e as merchant of record, takes on the tax and compliance side for stores that do not want it in-house.

Market pricing is set as percentage or fixed adjustments over the base price, per market, so exchange-rate drift quietly changes a market's real price until someone reviews it.

A market is not just a price list. Returns routing, delivery promises and support hours all change with it, and the checkout will happily sell into a country the warehouse cannot serve well.

## The difference that actually decides it

The decider is what each one moves. Shopify Functions is about the rules that price, bundle and block a cart. Internationalization (Markets) is about which countries the store can sell into properly. What settles the argument is a month of order data read against those two jobs, not a feature comparison. Stores that pick by demo end up funding the louder tool and starving the binding constraint.

## Where each one wastes money

The failure mode is porting a Script line by line. Scripts were one file holding every rule a store had; functions are scoped per purpose, so the port is really a re-think of which rules still earn their place. Stores that skip the re-think ship their historical discount mess on newer rails.

The failure mode is enabling forty markets in an afternoon because the toggle allows it. The store ends up genuinely serving three countries and pretending to serve thirty-seven, with refused parcels and unanswered support tickets in the long tail.

## A check you can run this week

Compare checkout completion by market for a month. A market converting at half the home rate is not a marketing problem; something in the duty, price or delivery maths is wrong.

Related reading: [Shopify Functions vs B2B on Shopify: the differences that actually decide it](https://returnsift.com/blog/2026-12-04-shopify-functions-vs-b2b-on-shopify-the-differences-that-actually-decide-it.md) and [Post-purchase upsells vs internationalization (Markets): the differences that actually decide it](https://returnsift.com/blog/2026-12-04-post-purchase-upsells-vs-internationalization-markets-the-differences-that-actually-decide.md).

## Frequently asked questions

### What is the real difference between Shopify Functions and internationalization (Markets)?

The decider is what each one moves. Shopify Functions is about the rules that price, bundle and block a cart. Internationalization (Markets) is about which countries the store can sell into properly. What settles the argument is a month of order data read against those two jobs, not a feature comparison. Stores that pick by demo end up funding the louder tool and starving the binding constraint.

### Which should a store pick first, Shopify Functions or internationalization (Markets)?

The decider is what each one moves. Compare checkout completion by market for a month. A market converting at half the home rate is not a marketing problem; something in the duty, price or delivery maths is wrong.

### What is the most common mistake with Shopify Functions?

The failure mode is porting a Script line by line. Scripts were one file holding every rule a store had; functions are scoped per purpose, so the port is really a re-think of which rules still earn their place. Stores that skip the re-think ship their historical discount mess on newer rails.

### What is the most common mistake with internationalization (Markets)?

The failure mode is enabling forty markets in an afternoon because the toggle allows it. The store ends up genuinely serving three countries and pretending to serve thirty-seven, with refused parcels and unanswered support tickets in the long tail.
