Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gordon Saxby 1243 posts 1450 karma points
    14 days ago
    Gordon Saxby
    0

    Always get price in GBP

    Since updating to the latest version 3.3.0, the GetPrice() method is returning product prices formatted in the currency for the shipping or billing address (not sure which yet!).

    So, rather than £99.99, I'm getting [euro symbol]99.99 - but the price is still £99.99.

    How can I always get the price formatted as GBP?

  • Gordon Saxby 1243 posts 1450 karma points
    14 days ago
    Gordon Saxby
    1

    Ah, OK - I think I've figured out via the settings in the TeaCommerce section.

  • Matt Brailsford 2053 posts 10078 karma points MVP 5x c-trib
    14 days ago
    Matt Brailsford
    100

    Hey Gordon,

    You should be able to set the currenty sessions currency vis the SetCurrentCurrency API https://docs.teacommerce.net/3.3.0/api/currency/#setcurrentcurrency

    I believe it should default to the one setup in the Store settings, but you can set it explicitly using this API.

Please Sign in or register to post replies

Write your reply to:

Draft