Skip to content

Storefront Currency and Product Money Format #873

Open
@bonesclarke

Description

@bonesclarke

I have a website that uses the BuyButton.js and it directs users to specific stores based on geographical location. I have it all working such that the store changes along with the price of the products which are set to the local currency of the specific store. IE. if a user is in the US, they pay in USD and if in Britain, they pay GBP. The issue I am running into, however, is that the product price format will not change to the currency of the store and keeps defaulting to '${{ amount }}' even though the store's products are in GBP. I have modified the moneyFormat property to try and pull in the proper currency from the store but it either shows no format using just '{{ amount }}' or it just defaults to '${{ amount }}'. Is there a way to get this fixed so that it formats the prices as per the currency formatting settings within the storefront?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions