When a sale price looks wrong across time zones

Test a sale price across time zones with dated fixtures for before, during and after a promotion. Find out whether the schedule, feed or cache changed.

A shop worker adjusts a discount tag on a jeans rack beneath two clocks showing different times.

Regional launches can produce two correct prices for the same product at the same instant. Midnight in Tokyo and midnight in London do not occur together. An operations team needs to know which time zone controls the campaign before deciding a store is late.

Follow one promotion across its boundaries

Take observations just before the expected start, during the sale and after it ends. Store UTC time, campaign-local time, SKU, country and eligibility. Keep account state consistent. A promotion restricted to members should be tested with a merchant-approved member account as a separate case. Google Merchant Center product data specification.

Give merchandising a usable record

Pair the regular price with the sale price and retain the published conditions. If one region is late, compare the storefront’s campaign schedule with its feed update and cache refresh time. Booking XtremeProxy traffic for a country can help you reproduce a local page, but the test still needs the right time, locale and offer. Success means the correct price appeared during the promised window.

As a release fixture, choose an ordinary weekday as well as a date on which the tested market changes its clock. Schedule the expected transition against the campaign’s own time zone. This turns a vague report that a sale started “an hour early” into two instants that the team can compare.

A promotion running on the store clock

A fictional campaign runs from 09:00 to 17:00 in the branch's local time. Snapshot the offer at 08:59, 09:00, 16:59 and 17:01 using the same variant. Preserve UTC alongside the named time zone so a reviewer can compare observations from two offices. If only a cached category tile still shows the discount after closing, separate that tile from the current product offer. Extending the campaign would conceal a publishing delay and change the approved selling terms.

Keep the last valid observation

If a scheduled check fails exactly when the campaign starts, the previous regular price is evidence of the last known state. It supplies no current observation. Keep the gap and the first subsequent sale price, so the report expresses a window for the transition instead of asserting a precise unobserved minute.

Multiple promotions can overlap on the same item. Give the campaign under test its own identifier and capture the price before and after any stackable discount. A familiar final price can hide that the intended promotion ended early and another promotion happened to replace it.

A scheduled promotion ends with leftover cart state

Add the discounted fixture item before a campaign ends, then refresh the product page after the cutoff. The cart may retain a quoted price under the shop's documented policy. Capture when the item entered the cart, when the new quote was calculated and when it expires. A price guaranteed for an existing cart should not become a false alert against the new public price.

A promotion scheduled for 01:30 on the night local clocks move back needs an unambiguous test fixture. Two distinct instants can carry that same wall-clock label. Ask the campaign owner which instant was configured and obtain its UTC offset from the schedule. In staging, inspect the price at the first and second occurrence, keeping the SKU and offer fixed. A screenshot showing only 01:30 cannot distinguish the two observations, even when both screenshots show the correct local date.

A useful sale-end test captures two moments per market. Record the promotional amount shortly before the published local cutoff, then take a second observation after it. Write the UTC timestamp beside the advertised local time and save the timezone used by the offer. At the boundary, check the price in both a new basket and a basket created earlier. A shop may honor an existing quote for a grace period. That is a different finding from showing an expired promotion to a shopper starting a new order.

Keep the earliest and latest observed campaign states in the report even when the alert is resolved. Those observations inform the next release's sampling window. Seasonal reference prices covers the merchandising reference used in a seasonal review. If the data is current at the origin while one region still displays yesterday's amount, use A practical check for regional cache contamination to investigate the cached representation. Check XtremeProxy location coverage.

Frequently asked questions

How do we handle a campaign spanning a seasonal clock change?

Record the merchant’s named time zone and the actual offset at each boundary. A fixed offset copied from last month can put the test an hour away from the intended start or finish.

Related articles