You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Store: show running sales (list price, discount, sale banner) #6233
The API is gaining timed store sales: a percentage off the plutonium and/or soft-currency price of cosmetics and cosmetic packs.
While a sale covers an item, cosmetics.json serves the sale price in priceHard/priceSoft, so the current client already shows and charges it. But nothing tells the player a sale is on. The catalog adds the following, all optional:
on each cosmetic: listPriceHard/listPriceSoft (the price before the sale) and promotion: {id, name, percentOff, endsAt};
on each pack: listPriceHard and promotion;
a top-level promotions list of the sales running now.
Wanted in the store:
On each buy button, the list price struck through next to the sale price, plus a "-N%" tag.
A banner per running sale, with its name, discount and end time.
When the store opens, a refetch of a catalog fetched more than a minute ago. The client caches cosmetics.json for the whole page session, so without this a sale that started or ended since the page loaded shows the wrong price.
Hi @evanpelle, thanks for opening this issue. It hasn't been approved by a maintainer yet — we'll get back to you shortly to either milestone it (approval) or close it.
Activity
github-actions commentedon Oct 30, 2026
Hi @evanpelle, thanks for opening this issue. It hasn't been approved by a maintainer yet — we'll get back to you shortly to either milestone it (approval) or close it.
— Automated. See CONTRIBUTING.md.
feat(store): show running sales and flash sales in the store (openfro…