I'm wondering if anyone knows if this has been done already.
A simple javascript lib/function that allows you to display pricing dynamically based on the origin of the request.
An example would be if I load into the config -> {'USA' : '$2.99' , 'AU' : '$4.99'} and then when clients visit the website, if they are from Australia they will get the $4.99 displayed and if your in the US you get $2.99.
How do you guys handle this problem? or do you have a work around? Thinking about writing a small open source library to complete this.
Thanks,