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 1347 posts 1608 karma points
    Mar 12, 2019 @ 11:38
    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 1347 posts 1608 karma points
    Mar 12, 2019 @ 11:59
    Gordon Saxby
    1

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

  • Matt Brailsford 2958 posts 15629 karma points MVP 7x c-trib
    Mar 12, 2019 @ 12:08
    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.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies