ReturnWarden

Can you combine Shopify Functions with internationalization (Markets)? Rules, timing and conflicts

Yes, the two combine, and on Shopify they are usually designed to. The catch is never whether Shopify Functions can sit next to internationalization (Markets). It is which one owns the decision when both want the same moment in the customer journey, and what the pairing does to the orders that come back. Get the ownership wrong and each tool works exactly as documented while the store gets worse.

The short answer on Shopify Functions plus internationalization (Markets)

Start with what Shopify Functions is, mechanically: 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. That definition matters because half the conflict stories about this pairing come from expecting Shopify Functions to do a job it was never given. This is the backdrop against which the pairing has to be judged.

Baymard's cart abandonment work, the mean of 50 studies, sits at 70.22 percent, and once the just-browsing group is removed the leading reasons are extra costs at 40 percent, slow delivery at 20 percent, distrust with card details at 19 percent, forced account creation at 18 percent, and a long or complicated checkout at 17 percent. Checkout changes should be argued against that list, in that order.

How Shopify Functions works underneath

internationalization (Markets) 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. In the pairing, internationalization (Markets) sits downstream of Shopify Functions more often than stores expect: Shopify Functions sets the terms of the transaction, and internationalization (Markets) works inside those terms. Reversing that order is possible, but it is a deliberate design choice, not a default.

How internationalization (Markets) changes the picture

The collisions are predictable. Both sides want to influence the same order, the same customer record or the same page, and neither knows the other exists. The symptoms look like random bugs: a rule that fires twice, an offer that contradicts a policy, a customer who gets two different answers depending on which system they met first. Baymard Institute's returns research is blunt about the interface most stores neglect: 54 percent of the large sites in its returns benchmark had significant usability issues in the returns flow. The same research found 29 percent of users naming returns among the most important reasons they sign into their account at all.

The returns version of the collision is the expensive one. When Shopify Functions and internationalization (Markets) between them promise a customer something the returns process cannot honour, a delivery date, a fit claim, a price, the return that follows is recorded as the customer's change of mind. It was not. It was a promise the stack made and the warehouse had to refund.

Timing: what has to exist first

Sequence beats enthusiasm. Put Shopify Functions in place first and run it alone long enough to know its baseline: its effect on conversion, on support contacts, on return rate by reason code. Then add internationalization (Markets) to one segment, one category or one market. Related work on this site covers the neighbouring ground: Wardrobing Explained: What It Is and How Retailers Fight It | ReturnWarden and Inspecting Returned Electronics: A Practical Intake Checklist | ReturnWarden are worth reading before you copy a configuration from a store with different volumes.

Conflicts worth knowing before you commit

Watch the return reasons, not just the revenue. Order of operations matters in Shopify returns: you can refund an order without creating a return, but you cannot create a return after a refund has been issued. Stores that refund first lose the return record, the reason code and the inspection step in one click, which is how refund-without-return abuse hides in plain sight. If the pairing lifts orders and lifts 'not as described' or 'arrived too late' returns in the same month, it did not create value. It borrowed revenue from next month's refund queue, at a handling cost per return that the dashboard does not show.

Frequently asked questions

Can Shopify Functions and internationalization (Markets) run on the same Shopify store at the same time?

Yes. The two are built to coexist, and most conflicts come from configuration, not incompatibility: overlapping rules, two systems editing the same step, or promises made in one that the other has to honour. Decide which system owns each decision before switching either on.

Which should be set up first, Shopify Functions or internationalization (Markets)?

Set up Shopify Functions first and measure it alone, because it sets the terms internationalization (Markets) then works inside. Adding both in the same week destroys attribution: when a number moves, and one will, nobody can say which change moved it.

Does combining Shopify Functions with internationalization (Markets) affect returns?

It can, in both directions. Clearer terms and better information at the point of sale reduce avoidable returns. Contradictory promises between the two systems increase them, and the increase shows up coded as customer choice rather than as a stack problem, so reason codes need watching after launch.

What is the most common conflict between Shopify Functions and internationalization (Markets)?

Double ownership of the same moment: both systems trying to set a price, a message or an eligibility rule for the same order. The fix is a written ownership split, one system decides and the other displays, tested on edge cases before it is tested on customers.