Skip to content

Historical price for TBoI: Repentance is always given in USD #183

@deviant

Description

@deviant

Describe the bug

This page lacks a priceCurrency meta tag, and thus falls back to USD. I'm not sure where else one would get this information from. The corresponding page for the base game has the tag as expected, so one could work around this by also requesting this.

There's also the numerical currency code of the user's cart, but I don't know how to map this into the textual representation, and maybe this has some other downsides I'm not aware of. This can be found as follows: JSON.parse(document.querySelector('#application_config').dataset.store_user_config).accountcart.cart.subtotal.currency_code.

I don't know why this page is special, it doesn't seem to be the fact that it's a DLC (other DLCs don't have this problem— even DLCs for the same game). Is it because the game can only be bought as part of a bundle? There's no individual purchase option here (perhaps since I already own all other items in the bundle?). Here's a screenshot:

image

Browser name and version

Firefox 127.0.2 (presumably irrelevant for this issue)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions