If you sell 22K gold into the Canadian South Asian market, the single most expensive mistake you can make in Christmas week is quoting Monday's rate on Friday's order. A live gold rate on a Shopify jewellery store isn't a widget that makes the homepage look serious. It's a margin control. The spot price sets your cost of goods, your storefront price has to track it within a tolerance you choose deliberately, and the gap between what the customer sees on the product page and what Shopify charges at checkout has to be zero. Get those three right and the rest is formatting.
Here's the short version of the build: pull spot from a metals API, convert USD to CAD, apply purity, multiply by the per-variant net weight held in a metafield, add making charge and wastage, let Shopify apply HST/GST/PST by province, stamp the page with the time the rate was fetched, and write variant prices in batches on a schedule you can defend. Everything below is the detail that decides whether that works in a volatile week or quietly bleeds you.
The gold jewellery pricing formula, with Canadian numbers
Spot gold trades in USD per troy ounce. One troy ounce is 31.1035 grams. 22K is 22/24 pure, so 0.9167. 18K is 0.75. 14K is 0.5833.
Say spot is USD 2,650/oz and USD/CAD is 1.38.
- 2,650 × 1.38 = CAD 3,657.00 per troy ounce
- 3,657.00 ÷ 31.1035 = CAD 117.58 per gram, 24K
- × 0.9167 = CAD 107.78 per gram, 22K
A 10 g 22K chain: metal value CAD 1,077.80. Making charge at 12% adds 129.34. Wastage at 6% on metal adds 64.67. Pre-tax total CAD 1,271.81. In Ontario, 13% HST takes the customer-facing price to CAD 1,437.14.
Now move spot to USD 2,710, a 2.26% jump that is entirely ordinary for a thin holiday session. Per-gram 22K becomes CAD 110.22. The same chain pre-tax is CAD 1,300.60. That's CAD 28.79 of metal and markup you did not collect if the price on the page was stale. On one chain. Across a Boxing Day week where a diaspora jeweller might ship a few hundred pieces, the arithmetic stops being academic.
Note what is not in that formula: diamond and stone value, hallmarking or certification fees, and any flat per-piece charge. Those need to sit outside the metal calculation as fixed components, or your repricing job will inflate them every time gold moves.
How to show a live gold price on Shopify without breaking checkout
There are two architectures and people routinely pick the wrong one.
Display-only. JavaScript fetches the rate on page load and renders a price. Fast to build, looks great, and it is a trap. Shopify's cart and checkout read the variant price from the product record, not from your script. The customer sees CAD 1,437 on the product page and CAD 1,402 at checkout, or worse, the other way round. On a high-adoption Shop Pay market like Canada, where a good chunk of buyers go from product page to one-tap checkout in under ten seconds, that mismatch is visible and it kills trust instantly.
Write-through. A scheduled job computes the price per variant and writes it to Shopify via the Admin API. The storefront, cart, checkout, Shop Pay, and your Google Merchant Center feed all agree, because there is only one price. This is the correct approach for anything you actually want to sell.
The practical constraint is API throughput. REST on standard plans gives you roughly two calls a second. A catalogue of 1,200 designs across three purities is 3,600 variants, which at one call per variant is about half an hour of writing — far too slow to call "live". Use the GraphQL bulk variant mutation and update in batches instead; 3,600 variants becomes a few dozen calls and finishes in well under a minute. If your developer's first draft loops one variant at a time, send it back.
For the rate feed itself, a gold rate API for a Shopify app usually means one of the commercial metals endpoints. Check the refresh interval on the tier you're paying for, because several free tiers update hourly and you'll be marketing "live" pricing off a 59-minute-old number. Check the redistribution terms too if you intend to publish a rate publicly.
Then there's FX, which Canadian merchants get wrong more often than the gold part. The Bank of Canada publishes its indicative USD/CAD rate once each business day, in the late afternoon. If you anchor to that, your CAD gold price is a day stale even when your USD spot feed is fresh — and in a week when the loonie moves half a cent, that's as much error as the metal move. Take live FX from the same provider as your metals feed so both legs are consistent.
Repricing cadence, and the Boxing Day gap nobody plans for
Most jewellers we work with land on one of three cadences: once daily at open, twice daily, or every 15 to 30 minutes. Continuous repricing sounds best and usually isn't. Every price write touches product-update webhooks, invalidates cache, and churns your product feed — and Merchant Center is unamused by a feed whose prices disagree with the landing page because the crawl caught you mid-update. Frequent small changes also make your Dynamic Remarketing and Advantage+ catalogue noisier than it needs to be.
Our default for a Canadian diaspora store: twice daily during normal trading, every 30 minutes during the last two weeks of December, with a published buffer built into the making charge rather than a heroic attempt to track every tick.
The holiday calendar is the part that catches people out. Gold markets are closed on December 25 and trade thin or shortened around the 24th and 26th. Boxing Day is one of the two biggest retail days in the Canadian calendar, and it falls when your rate source has nothing new to give you. You will be selling your heaviest volume of the year on a rate last set on the 24th, into a market that may gap when it reopens.
So decide the holiday rate consciously. We set a fixed "festive rate" on the 24th with a wider buffer than usual — a point or two above the last traded price — publish it with a validity window on the page, and hold it through the 26th. If gold falls, you've overcharged slightly and nobody complains. If it gaps up 3% on the 29th, you haven't sold your inventory below replacement cost.
Cart price lock when the rate changes mid-session
A customer adds a CAD 1,437 bangle at 2:04 pm. Your job reprices at 2:30. She checks out at 2:41. What does she pay?
Shopify recalculates line prices from the current variant price, so she pays the new one. For a 0.3% drift that's invisible. For a 2% jump during a volatile session, she notices, and "the price went up while I was shopping" is not a message you want on a gift purchase.
Three options, in descending order of how often we actually recommend them:
- Honour the displayed price for a stated window. Put "rate valid for 30 minutes from 14:00 EST" next to the breakup. If the price has risen when she checks out, you eat the difference — which is why you carry a buffer in the making charge in the first place. Simplest, costs almost nothing, and customers find it fair.
- Skip repricing while carts are warm. Pause writes for variants sitting in active carts and resume once they clear or expire. Adds complexity, and on a busy day a popular SKU can stay locked for hours.
- Draft orders for high-value and bespoke pieces. Anything above a threshold you choose, quote by draft order with an explicit expiry. This is how the offline trade has always worked, and it maps cleanly onto Shopify.
If you are on Plus and want line prices rewritten at the cart level by a Shopify Function, that is buildable, but check it against your checkout stack before committing. We've seen it fight with subscription and bundling apps more than once.
Making charge and wastage: show the breakup or lose the sale
Canadian buyers of Indian gold compare against a shop in Brampton or on Gerrard Street where the owner writes the breakup on a slip. If your product page shows one number, you look expensive and vague. Show the rows:
- Purity and net metal weight, in grams, to two decimals
- Rate applied per gram for that purity, with the timestamp
- Making charge, stated as a percentage or per-gram amount, whichever you actually charge
- Wastage percentage, and what it's calculated on
- Stone or diamond value as a separate line, if any
- Tax, calculated for the delivery province
Two Canadian wrinkles. First, tax: HST is 13% in Ontario, 15% in most of Atlantic Canada, while BC is 5% GST plus 7% PST and Quebec is 5% GST plus 9.975% QST. Shopify handles the collection; your breakup table has to agree with it. The failure mode we see constantly is an app built for the Indian market rendering a hard-coded "GST 3%" row, because that's the rate on gold jewellery in India. A Mississauga customer reading a 3% GST line and then being charged 13% HST at checkout has every reason to abandon. Also worth knowing: investment-grade bullion at 99.5% purity is treated differently from jewellery for GST/HST purposes in Canada, so if you sell both, don't reuse one tax setup for the other.
Second, Quebec. Under Bill 96, French has to be there and at least as prominent as English. A dynamically injected rate table is exactly the kind of component that ships English-only strings and never gets looked at again. Translate the labels — taux de l'or, frais de façon, perte, taxes — and check that your app's injected markup picks up your locale rather than defaulting. This is a legal exposure, not a nice-to-have, and it is easier to fix in the build than after a complaint.
22K vs 18K product variants on Shopify
Purity belongs as a variant option, but the data model matters more than the dropdown. Put net metal weight on the variant as a metafield, not on the product. The same design in 18K weighs less than in 22K, because 18K gold is less dense — if you compute both from one product-level weight, the 18K piece is overpriced and it will not sell.
A clean per-variant metafield set looks like: karat, net metal weight (g), making charge type and value, wastage percentage, fixed stone value. Your repricing job reads those and writes the price. Keep Shopify's shipping weight field separate; that's gross weight with the box, and the carrier doesn't care about purity.
Where purity crosses size and finish, variant counts climb fast and you'll hit the ceiling on bangles and rings. Splitting by purity into separate products, cross-linked on the page, is usually less painful than fighting the limit.
Indian jewellers selling in Canada: the three operational things
Carrier fallback. Canada Post labour disruptions have cost merchants two Decembers now. Have Purolator, UPS or FedEx configured and tested before you need them, not on the morning the pickup doesn't arrive. Separately, read the declared-value rules: several services cap or exclude coverage on jewellery and precious metals, which means a 10 g chain may be travelling effectively uninsured. Specialist insured shipping with signature on delivery costs more and is the correct line item.
Shipping into the US. The duty-free treatment of low-value parcels entering the United States was tightened in 2025, so build your US pricing assuming duty applies rather than hoping it slips through. Show landed cost at checkout. A gift that arrives with a surprise bill on the doorstep on December 23 produces a refund request and a one-star review.
Rate transparency. Put the fetch timestamp next to the rate in the customer's timezone. "22K: CAD 107.78/g, updated 09:30 EST" does more for conversion than any trust badge.
Build it or buy it
A custom build makes sense when your making-charge logic is genuinely unusual — tiered by weight band, different for bridal sets, negotiated per wholesale account. Budget for the scheduled job, the metafield structure, the breakup component, the French translations and the monitoring that tells you when the feed goes down. Because it will go down, and a jewellery store whose rate feed silently failed on December 26 is selling at whatever price it last wrote.
For most stores, an existing app is the faster, cheaper answer. Ours is Gold & Silver Live Rate, which pulls live gold, silver, platinum and palladium rates, reprices variants as spot moves, and renders the metal/making/wastage/tax breakup table. Whatever you choose, test the tax row against your own provincial settings and check the French output before Quebec traffic hits it.
If you want a second pair of eyes on an existing setup, our free audit covers the price-consistency check between product page, cart and checkout, which is the one that quietly costs the most. We also work with jewellery merchants across Canada on the build side if the metafield structure is where you're stuck.
Do one thing this week: add two SKUs to your cart, wait for your next repricing run, and go to checkout. If the number changed and nothing on the page warned the customer it might, that's your December problem right there.


