DEV Community

Alexandr M. for Ecom Store Pro

Posted on

Reading Shopify's pricing page in DevTools: the trial length is a template variable

By Alexandr M., Ecom Store Pro

Every few weeks someone in a Shopify forum asks whether the "$1 a month for 6 months" deal is still running. The answers usually quote a banner or a screenshot. This post goes another way: it opens Shopify's public pricing page in DevTools and reads what the page itself ships.

The short version is that the number of promotional months is a slot in a message template, and it sits next to the vocabulary of a bandit test. That matters if you write about SaaS pricing, build onboarding for a platform you don't own, or put someone else's promo terms into an app, a tutorial or an AI prompt.

Everything below is either a string we read in the code of shopify.com/pricing (code checked October 25, 2026, and again November 21, 2026) or something Shopify's Help Center says. No scraper was involved and no protection was bypassed. It is the page as an ordinary browser loads it.

What the page says, and what Shopify says about it

On the US page, the public offer is three days free, then $1/month for three months on most plans. That was still the term on our November 15, 2026 read. Shopify's Help Center page on the free trial is careful about it: "The duration of trials and any promotional pricing is determined by when you create your Shopify account and start your free trial," and "Trial length and pricing are subject to change and might vary by store location."

Neither sentence lists rules. The code doesn't list them either, but it does show which parts of the offer are allowed to move.

Step by step: find the variables yourself

All you need is a browser.

  1. Open https://www.shopify.com/pricing in a normal window.
  2. Open DevTools: F12, or Cmd+Option+I on macOS.
  3. Open the search that covers every loaded resource, not just the DOM: Ctrl+Shift+F (Cmd+Option+F on macOS) in Chrome and Edge. Firefox's Debugger has the same "search in all files". It covers the HTML document and the scripts the page pulled in.
  4. Search for banditAssignments, then paidTrialLength, then PaidTrialPromo.
  5. Compare what you find with the sentence the page actually shows you.

Here is what that turned up on October 25, 2026, verbatim:

"Try {{trialLength}} days free, then {{paidTrialAmount}}/month for {{paidTrialLength}} months."
"Start for free, then get your first {{count}} months for {{paidTrialAmount}}/mo."
"{{paidTrialAmount}} for your first month"
Enter fullscreen mode Exit fullscreen mode

Around those strings sat an array named banditAssignments, interface keys such as pricingBanditFeatureGrid, and plural keys for the second template: PaidTrialPromo.default_one, _two, _few, _many and _other.

The free days, the amount and the number of months are all placeholders. On our October 25 and November 21 reads, the banditAssignments array was in the page data but empty. Treat it the way you'd treat any single request: one load is one sample, and an empty array on your load tells you nothing about anyone else's.

What a bandit test is

A classic A/B test splits traffic in fixed proportions until someone calls a winner. A multi-armed bandit keeps reallocating as it runs, sending more traffic to the variants that are doing better. It gives up some statistical neatness so that it spends less time showing losers. The name comes from slot machines, the "one-armed bandits", and the question of which arm to pull next.

We can't see Shopify's allocation logic, its success metric or its list of variants. The bundle shows two things: the names (banditAssignments, pricingBanditFeatureGrid), and promo copy that takes the month count as a parameter. Together they fit a page that deals each visitor one variant of an offer, not one that serves a single fixed sentence.

That reading cuts both ways, so it's worth being exact. The code doesn't prove that a six-month term will never be shown, and it doesn't prove that one is on offer. It shows that the count is a value assigned when the page loads. A shorter term is as possible as a longer one, and the one-month string in the same bundle shows it. Shopify doesn't publish the rules. Its Help Center names store location and the date you create your account.

The plural keys are the tell

Nobody ships five plural forms for a number that never changes. The suffixes are CLDR plural categories, the same set Intl.PluralRules returns. English only needs one and other, but other locales need more. Polish, for example, uses few for 2, 3, 4 and 22, and many for 5 or 11. A bundle that ships those keys for a month count is ready for the count to be any number, in any locale.

If you came here for ICU MessageFormat, these strings aren't ICU syntax. ICU keeps the branching inside a single message, as in {count, plural, one {# month} other {# months}}. Here {{count}} is plain interpolation, and the plural choice happens by selecting a key with a category suffix. That's a common pattern in key-based i18n setups, and both approaches rest on the same CLDR categories.

What the code's history shows

Identifiers churn. In September 2026 the page also loaded a chunk from Shopify's CDN called useBanditRewardId-Bjt0kM6t.js. Wayback Machine captures from September 24 to 29 contain it. Captures from October 1 onward don't, and neither did the live page on October 25. banditAssignments and the templates stayed. A monitor pinned to that module name would have gone quiet without telling you anything had changed.

The templates aren't new. An archived copy of the pricing page from September 6, 2025 already had the same placeholders, so the month count has been a template value at least since then. For third-party front ends, the Wayback Machine makes a cheap diff tool.

Where six months actually comes from

The template shows the count can vary. It doesn't show a public six-month variant. The only confirmed $1/month-for-six-months route is Shopify's 1MBB program. It covers the Basic plan for the first six months, for merchants in the US and Canada, and you register through the nonprofit Operation HOPE. Even that page builds its price from a template ({{paidTrialAmount}}): our November 15 fetch got the euro rendering. The 1MBB terms, with the date of each check against Shopify's pages, are in this 6-month offer tracker.

Two other terms often get mixed in. The standard public offer has its own breakdown of the $1-for-3-months term. The other is a separate path. Shopify's Help Center gives stores created with an AI tool, a vibe-code partner or the Stripe Projects CLI a free trial that is "currently 4 months", as this write-up of the AI-tool route explains.

What this means if you put pricing into code or docs

None of this is specific to Shopify. Any vendor running offer experiments can show different numbers on two page loads. So store a promo term as dated data with a source, never as a string literal.

// Illustrative pseudocode, not Shopify's code.
// The term is data with a source and a date, not a literal in your copy.
const term = {
  freeDays: 3,
  amount: "$1",            // the US page; other country pages show other amounts
  months: 3,
  source: "https://www.shopify.com/pricing",
  checkedOn: "2026-11-15",
};

const plural = new Intl.PluralRules("en-US");
const unit = (n, one, other) => (plural.select(n) === "one" ? one : other);

const line =
  `Try ${term.freeDays} ${unit(term.freeDays, "day", "days")} free, then ` +
  `${term.amount}/month for ${term.months} ${unit(term.months, "month", "months")} ` +
  `(per ${term.source}, checked ${term.checkedOn}).`;
Enter fullscreen mode Exit fullscreen mode

A few habits follow:

  • Test the edges. Render your copy and layout with a count of 1 and with larger counts. The vendor already ships a one-month form.
  • Localize the amount, not just the words. When we checked 52 Shopify country pricing pages on November 15, 2026, the amount was €1 in the eurozone, £1 in the UK, 150円 in Japan and ₹20 in India. South Africa's page showed US$1.
  • Put "as of" on every promo claim in READMEs, tutorials and changelogs. That goes for system prompts too, if an assistant answers pricing questions for you.
  • Send users to the authoritative read. Shopify's Help Center says to enter an email at shopify.com/free-trial and click Start free trial to see the current length. Once a store exists, Settings → Plan shows the promotional rate and the date standard pricing begins.
  • Don't build on minified names. If you have to watch a third-party page, watch the rendered output and expect the internals to move.

The pricing page was never hiding anything. It treats the offer as a variable, and code or docs that quote it should do the same.

Disclosure: this article is AI-generated and checked against the Shopify pages linked above.

Top comments (0)