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 1461 posts 1883 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 1461 posts 1883 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 4125 posts 22223 karma points MVP 9x 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.

Please Sign in or register to post replies

Write your reply to:

Draft