Skip to content

Store: show running sales (list price, discount, sale banner) #6233

Closed

Description

@evanpelle

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:

  1. On each buy button, the list price struck through next to the sale price, plus a "-N%" tag.
  2. A banner per running sale, with its name, discount and end time.
  3. 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.

Activity

  1. github-actions commented on Oct 30, 2026

    @github-actions
    Contributor

    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.

  2. added a commit that references this issue on Nov 3, 2026
    74832f3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    not-approvedThis issue has NOT been approved by the maintainers.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions