Click here to Skip to main content
15,905,874 members
Please Sign up or sign in to vote.
3.50/5 (2 votes)
See more:
Hello every one,
I am doing a e-commerce project.That will be used by foreign customers as well.So when ever a customer loads the application, based on his country the currency and price of the product should be updated.But i am not getting how to write the code for getting the local country and currency name.Please any one help me in accomplishing this task.I need C# code for this.
Thanx in advance.
Posted
Comments
Karthik_Mahalingam 3-Jan-14 6:14am    
check this link.it might help you..
http://www.codeproject.com/Tips/191892/How-to-find-current-location-based-on-the-IP-addre

well simple option is to use some jqueyr plugin like dialog model. whenever some one visit your site show a dropdown and ask them to select country. based on that value you can set price and currency for your products.

Happy coding :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900