Five stars the store never earned
Date
29 Jul 2026
Category
Fix
Platform
Shopify
Partway through a product page build we rendered the full page and read it top to bottom, which is a habit that keeps paying for itself. The reviews area had three problems, and the worst one was a rating of 5.0 with five solid gold stars, on a product whose real rating was nowhere near that.
What we found
Nobody had typed a fake rating anywhere. The template read the rating through a wrong key, so the carousel drew five empty stars beside a live review count, and the header fell back to a default of 5.0 when the value came through blank. Further along, a separate widget rounded the store’s real 4.78 average up to whole stars and drew a full five. Three small, reasonable-looking pieces of code, and the combined effect was a page overclaiming its own reputation.
We fixed all three. Ratings now render only when the review platform has actually written one, stars partially fill to the true value, and nothing falls back to a flattering default. Empty review cards stopped shipping as blank grey tiles while we were in there.
What to take from it
An invented rating is not a cosmetic bug. Consumer law in most places treats a claimed 5 out of 5 the same whether a person wrote it or a default value produced it, and customers who spot the gap between the stars and the reviews below them do not read it charitably. Defaults and rounding are where these overclaims come from, because no individual line looks dishonest. The check is simple enough. Load the page and ask whether every number on it is one the store can stand behind, because that is the exact question a regulator or a sharp-eyed customer would ask.