Badges are recomputed automatically every hour (while the dashboard server is running) and written to
Shopify — the theme just displays the result. Rule changes here take effect on the next sync; label and
color changes show on the site within a couple of minutes without a sync. A product gets at most one
badge, decided by the priority order below. Sold-out products never show a badge.