Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Mikkel Olsen 20 posts 94 karma points
    Jul 30, 2013 @ 09:39
    Mikkel Olsen
    0

    Store the current selected country language in a cookie?

    Hello all,

    I am currently working on a umbraco ucommerce store which has shops for multiple languages (Danish, English, German etc.)
    I need to store the current selected "Country" in a cookie for determing the PriceGroup in uCommerce - e.g. Danish = Danisk Kroner, German = Euros, English = Pounds..

    So I was thinking of making a cookie on page_load to handle this - anyone got any examples or feedback on how to make this happen in the smartest way? - Furthermore I would appreciate any advices.

    /Mikkel

  • Mikkel Olsen 20 posts 94 karma points
    Jul 30, 2013 @ 10:19
    Mikkel Olsen
    0

    Anyone? :)

  • Nickolaj Lundgreen 233 posts 1132 karma points
    Jul 30, 2013 @ 11:30
    Nickolaj Lundgreen
    0

    There has been a lot of talk about currency changes lately, try taking a look at this thread : http://our.umbraco.org/projects/website-utilities/ucommerce/ucommerce-support/40537-uCommerce-Change-currency

    Currently i have a hard time justifying the dev. time for making a currency changer without creating seperate catalogs (and i have yet to find a really good argument for giving users the option to change the currency).

  • Søren Spelling Lund 1797 posts 2786 karma points
    Aug 02, 2013 @ 14:14
    Søren Spelling Lund
    101

    Hi Mikkel,

    That's almost the way uCommerce 4 handles multi-currency. Basically you can assign multiple currencies to a single catalog and use the new change price group API like so:

    CatalogLibrary.ChangePriceGroup(priceGroup);

    uCommerce 4 will be released during August.

Please Sign in or register to post replies

Write your reply to:

Draft