Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: Language change when currency is changed

  1. #1
    nihon is offline Senior Member
    Join Date
    May 2008
    Posts
    150

    Default Language change when currency is changed

    Ho can i have the language (local) changed when they select a different currency, i do not want to have 2 drop downs one for langauge and the other of currency .. i just want one for currency.. when the currency is selected the currency and language changes ..

    Am sure this can be done ..
    Thanking you in advanced ..
    Version (Code/DB):
    AspDotNetStorefront ML 8.1.2.0/8.1.2.0

  2. #2
    jsimacek is offline Senior Member
    Join Date
    Dec 2008
    Location
    Phoenix, AZ
    Posts
    373

    Default

    This would be a customization, but you could do a trick to hide the language drop down, and then write code (javascript or setcurrency.aspx.cs code) to also automatically set the language based on the currency selection...
    Jan Simacek - Compunix, LLC
    AspDotNetStorefront trusted Devnet Partner and Reseller since 2005

    AspDotNetStorefront Mods and Add-Ons at http://www.ecommercecartmods.com/
    - Searching, Filtering and Sorting (like cSearch, Dealer Locator, Price Ranges, Blog)
    - Reports (like Cart Abandonment and Net Sales)
    - Customer Experience (like Question/Answers)
    - Site and Data Management (like Entity Product Mapper, Bulk Updaters, Make/Model/Year filters)

  3. #3
    nihon is offline Senior Member
    Join Date
    May 2008
    Posts
    150

    Default

    Thanks jsimacek.. Actually i just finished playing around with this.. and found an other trick (i think).i basically added the language drop down instead of currency, renamed Language to Currency, in the Locale Settings, Description, i renamed the language Description to GBP and AUD .. and it works .. it now looks like the currency dropdown now..
    i did not test any orders yet .. but i think it should work just fine .. what do you think ... would i face any problems..
    Version (Code/DB):
    AspDotNetStorefront ML 8.1.2.0/8.1.2.0

  4. #4
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    There shouldn't be any problem with that. The locale feature is designed to switch locale and currency both so that's standard behavior.