If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / userCurrency - updated for 1.3.5

userCurrency - updated for 1.3.5

Started by s_mack on 11 Sep 2006, 6:59 AM · Views: 27,024

Results 121 to 140 of 148
15 Oct 2011, 2:48 PM
#121
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

userCurrency - updated for 1.3.5

To be honest, you dug up a very old thread that probably nobody looks at anymore. I'm the creator, so I got a notification so I responded. Surely you know someone outside of the country that you can email a link to and ask them what they see?

15 Oct 2011, 6:08 PM
#122
top_hatt avatar

top_hatt

Zen Follower

Join Date:
Feb 2010
Posts:
237
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

Thanks for your time and your reply.

I will give that a try.

This add on will be a great addition to my site. Thanks for taking the time to develop it.

Dave

5 Dec 2012, 6:31 PM
#123
monkeshine avatar

monkeshine

New Zenner

Join Date:
Jan 2011
Posts:
15
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

Just curious if anyone has this up on 1.5.1 or knows whether it will or will not work on 1.5.1.

Companies that sell around the world in Brick and Mortar stores really could use this add-on to preserve pricing parity. The wholesale network that supplies US manufactured goods to US Brick and Mortar retailers have one price, and the B&M retailers all pretty much sell for the same price give or take 10%-20%. But when US manufactured goods are sold to wholesalers overseas there are shipping costs, VAT, duties, documentation fees and many other expenses that raise the landed cost of the goods abroad. Suppliers of US goods overseas often will charge more to their B&M customers than the US suppliers do because of these additional costs. The stores charge more as a result. So an item that sells for $99 in a US store may sell for $150 a European store. Nobody is making more money on it, in fact it is common to sell to export wholesalers at 5% to 20% below the US wholesale rate to help defray these costs, but still the retails end up higher in Europe.

As the ambassador for the brand worldwide, the home company needs to accurately reflect the local prices as best as possible. So if the company website shows a USA retail price of $99 to customers in Europe who are used to seeing it for $150 in their local stores, consumers in Europe may end up resenting the fact that their local store is charging 50% more than "the manufacturer". Or the B&M stores in Europe may en up resenting that the manufacturer appears to be undercutting with online prices. Of course if someone in Europe did try to order online they would pay the shipping, customs and duties and it would cost more than $150 but often they just see the price disparity and get mad. True this is always unavoidable in an online world - someone's got it cheaper somewhere - but they shouldn't see this from the manufacturer. At least not in my case. I just want to offer the goods as a matter of convenience, not as as a matter of price.

So anyway, I think this add on sounds like what I need. I just wish I knew if it would work on 1.5.1.

Anyone?

Thanks!

5 Dec 2012, 6:36 PM
#124
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: userCurrency - updated for 1.3.5

As the author of this contribution, and also the guy that responded this morning to your other post regarding this issue... I can tell you that no, this is not what you're looking for. This is for a) automatically selecting a currency based on a customer's location (IP) and b) remembering their currency selection for future visits (especially if "a" gets it wrong). It has nothing to do with changing the price for different locations.

I still think you're going about it wrong, but that's your business. Regardless, this contrib won't help you. There is no such contrib that I know of. If you want to do what you think you want to do (and you really don't), then you'll have to author it yourself. Somewhere after you've spent 100 or so hours doing it, you'll probably eventually come to the realization that you don't really want to do it.

6 Dec 2012, 4:41 AM
#125
peter_homann avatar

peter_homann

Zen Follower

Join Date:
Jun 2006
Location:
Melbourne, VIC
Posts:
106
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

Thanks for the contribution.

I am in Australia and accept AUD and USD with USD being my default currency as I purchase most of what I sell in USD.

I would prefer non USA based customers to pay in AUD rather than the default USD.

In init_user_currency.php, can I do this by changing DEFAULT_CURRENCY to AUD on lines 17 and 100?

If not, is there an easy way to do this?

Cheers,

Peter.

6 Dec 2012, 5:05 AM
#126
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: userCurrency - updated for 1.3.5

I know when I ask for help, I hate it when people answer by judging my "why" rather than just answering with a "how"... but I'm going to do it anyway. Really it doesn't matter what YOU prefer, its about what your customer prefers. And I can assure you that the rest of the world is going to prefer USD over AUD. Let them choose. If you accept those currencies, then accept those currencies. If your site defaults to USD then let it default to USD. This contrib will choose AUD for for your Australian customers (that it can correctly identify) and USD (since its your default) for everyone else. And from the sounds of it... that's how it should be in your case. Now, if you were to switch your default to AUD (because you're in Australia) and wanted non Australian customers to default to USD... THAT I would understand.

OK, judgement over. Yes, I believe making the switch you're proposing will do what you want. No, I don't recommend it.

Also, this is an old contrib that was designed way before 1.5. I have NOT updated it. Nor will I anytime soon. Not until I get round to updating my own site to 1.5x. I haven't had the time to do that in over a year, so I obviously don't have the time to update contribs for others either :) I'm not lazy, just busy.

6 Dec 2012, 7:28 PM
#127
monkeshine avatar

monkeshine

New Zenner

Join Date:
Jan 2011
Posts:
15
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

s_mack:

As the author of this contribution, and also the guy that responded this morning to your other post regarding this issue... I can tell you that no, this is not what you're looking for. This is for a) automatically selecting a currency based on a customer's location (IP) and b) remembering their currency selection for future visits (especially if "a" gets it wrong). It has nothing to do with changing the price for different locations.

I still think you're going about it wrong, but that's your business. Regardless, this contrib won't help you. There is no such contrib that I know of. If you want to do what you think you want to do (and you really don't), then you'll have to author it yourself. Somewhere after you've spent 100 or so hours doing it, you'll probably eventually come to the realization that you don't really want to do it.

Thank you for both replies.

Regardless of the rationale for doing it, Zen V 1.5.1 has a built in currency table and a ratio converter. On that table we can add currencies and modify their exchange rate. Does this add-on not use that currency table and exchange rate?

You may not understand why I want to do it and made it clear in the other post you do not like the reasoning. I don't want to debate it. For my edification and the edification of others who come after, I want to know how it works and if it will work. In post #1 you say it will check their IP against a list of countries and then if that country is set in the currency table will automatically set that currency for their session as a guest. But in your reply to me you say it won't work. What part am I missing?

The fact that they can manually change their currency in their own settings?

6 Dec 2012, 8:54 PM
#128
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: userCurrency - updated for 1.3.5

No, the fact that you're confusing currency selection with pricing. You're attempting to head down a really complicated path if you're wanting to utilize currency rates to affect per-country pricing. Currency is a user preference and does not necessarily have anything to do with their shipping location. This contribution is a convenience feature (for them) to pre-select the currency that they LIKELY want based on where the system THINKS they are. But they very well may not want that currency, and in fact they may not be where the system thinks the are. A LOT of IPs throughout the world default to "USA".

Yes, as I've stated on the other thread, I think you're making a mistake in general in trying to show a different price to a different user based on their location - but that's your mistake to make. That opinion of mine has nothing to do with why I'm telling you this mod won't work for your intention. Or, at least, it won't impact it. If you think you can somehow manipulate the currency table to do what you want (and I really, really, REALLY advise against it) then using this contrib (or not) will have nothing to do with that process. All it will do is ATTEMPT to figure out where they are (and only while they're a guest. Once they log in, it does - and should - go by what the user tells them) and select the currency accordingly.

7 Dec 2012, 10:21 AM
#129
monkeshine avatar

monkeshine

New Zenner

Join Date:
Jan 2011
Posts:
15
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

s_mack:

you're confusing currency selection with pricing. You're attempting to head down a really complicated path if you're wanting to utilize currency rates to affect per-country pricing.

Am I? It seems to me you built this mod so that online merchants using it could show the prices of their wares in local currencies. That in and of itself necessitates conversion from the home country price to user country price. What difference does it make from a technical standpoint which conversion ratio the shopkeeper sets when converting from home currency to other currencies?

Currency is a user preference and does not necessarily have anything to do with their shipping location. This contribution is a convenience feature (for them) to pre-select the currency that they LIKELY want based on where the system THINKS they are. But they very well may not want that currency, and in fact they may not be where the system thinks the are. A LOT of IPs throughout the world default to "USA".

Fair enough. But so what? The shopkeeper is no worse off than before in these cases. But in the cases where it works like it is supposed to and displays the price in Krone to visitors from Norway at the rate set by the shopkeeper, what is the reason it won't work?

Yes, as I've stated on the other thread, I think you're making a mistake in general in trying to show a different price to a different user based on their location - but that's your mistake to make. That opinion of mine has nothing to do with why I'm telling you this mod won't work for your intention. Or, at least, it won't impact it. If you think you can somehow manipulate the currency table to do what you want (and I really, really, REALLY advise against it) then using this contrib (or not) will have nothing to do with that process. All it will do is ATTEMPT to figure out where they are (and only while they're a guest. Once they log in, it does - and should - go by what the user tells them) and select the currency accordingly.

You keep injecting talk on the wisdom of location-based pricing, and that is detracting from understanding how the add on works. When it works like it is supposed to work and a user from Denmark comes to the site, will it or will it not show the price in Krone and will it or will it not show that price at the conversion rate set by the shopkeeper?

And when it works like it is supposed to and it shows the price in Krone at the ratio set by the shopkeeper, and the visitor goes through checkout in Krone, will it process the order in Krone at that conversion price, or will it process the order in the home currency?
(Maybe you are trying to say is that it won't process the order at that conversion price but it doesn't sound like that's what you are driving at).

It sounds like you are saying it won't work because it isn't 100% reliable because IP is not always accurate and because the customer can always change the currency. But that doesn't mean it won't work. It just means it won't always work (and in this case I can see why you advise against it, because the user will resent being charged more to pay in one currency than he would paying in another). But assuming the shopkeeper can accept those limitations and risk offending the customer why else wouldn't it work?

What if a cart was set up as a showroom only, and did not take orders. Wouldn't this then be a pretty elegant solution to a tricky problem in those instances?

7 Dec 2012, 10:22 AM
#130
monkeshine avatar

monkeshine

New Zenner

Join Date:
Jan 2011
Posts:
15
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

s_mack:

you're confusing currency selection with pricing. You're attempting to head down a really complicated path if you're wanting to utilize currency rates to affect per-country pricing.

Am I? It seems to me you built this mod so that online merchants using it could show the prices of their wares in local currencies. That in and of itself necessitates conversion from the home country price to user country price. What difference does it make from a technical standpoint which conversion ratio the shopkeeper sets when converting from home currency to other currencies?

Currency is a user preference and does not necessarily have anything to do with their shipping location. This contribution is a convenience feature (for them) to pre-select the currency that they LIKELY want based on where the system THINKS they are. But they very well may not want that currency, and in fact they may not be where the system thinks the are. A LOT of IPs throughout the world default to "USA".

Fair enough. But so what? The shopkeeper is no worse off than before in these cases. But in the cases where it works like it is supposed to and displays the price in Krone to visitors from Norway at the rate set by the shopkeeper, what is the reason it won't work?

Yes, as I've stated on the other thread, I think you're making a mistake in general in trying to show a different price to a different user based on their location - but that's your mistake to make. That opinion of mine has nothing to do with why I'm telling you this mod won't work for your intention. Or, at least, it won't impact it. If you think you can somehow manipulate the currency table to do what you want (and I really, really, REALLY advise against it) then using this contrib (or not) will have nothing to do with that process. All it will do is ATTEMPT to figure out where they are (and only while they're a guest. Once they log in, it does - and should - go by what the user tells them) and select the currency accordingly.

You keep injecting talk on the wisdom of location-based pricing, and that is detracting from understanding how the add on works. When it works like it is supposed to work and a user from Denmark comes to the site, will it or will it not show the price in Krone and will it or will it not show that price at the conversion rate set by the shopkeeper?

And when it works like it is supposed to and it shows the price in Krone at the ratio set by the shopkeeper, and the visitor goes through checkout in Krone, will it process the order in Krone at that conversion price, or will it process the order in the home currency?
(Maybe you are trying to say is that it won't process the order at that conversion price but it doesn't sound like that's what you are driving at).

It sounds like you are saying it won't work because it isn't 100% reliable because IP is not always accurate and because the customer can always change the currency. But that doesn't mean it won't work. It just means it won't always work (and in this case I can see why you advise against it, because the user will resent being charged more to pay in one currency than he would paying in another). But assuming the shopkeeper can accept those limitations and risk offending the customer why else wouldn't it work?

What if a cart was set up as a showroom only? Wouldn't this be a pretty neat solution with a lot less risk of offending the customer?

7 Dec 2012, 12:11 PM
#131
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: userCurrency - updated for 1.3.5

Your arguing for arguments sake now. Or your initial question was entirely irrelevant. You came HERE (as well as the other thread, but let's ignore that) giving reasons why you wanted to use it, strongly suggesting you wanted to use it to show a different price for different regions and asking if THIS MOD would allow you to do that. I correctly answered that it would not. Now you're stripping it down and asking if it works as its supposed to. Yes, it works as its supposed to, but that has nothing to do with your original question and why it won't work for YOUR intended purpose.

As I just finished stating... ALL it does is attempt to automate the selection process, as a matter of convenience to the customer, based on their IP (well, really, the more important feature is that it remembers their preference in the database so they aren't always shown the "wrong" currency, but that more significant feature seems neither here nor there with concern to your arguments). In other words, WHY ARE YOU ASKING ME ANYTHING??? What you're asking me NOW (not previously) can be done WITH OR WITHOUT this contribution... simply, if you insist, manipulate the currencies in the built-in currency functions. Use this contrib, don't use this contrib... it has NOTHING to do with the actual currency calculations AS IVE ALREADY SAID.

I'm done. You're now insisting on boiling this down to a technical discussion because you don't like how I was questioning your business, etc. But that's ridiculous. From a technical perspective, there was zero reason for you to frame your question as you did. Its obvious (and well described) what this contrib does. You were asking if it could be used for your wonky price-here-price-there-everywhere-a-price-price scheme and now you simply want to know if it does what it says it does? Give me a break. YOU brought your hair-brained scheme here. I weighed in on it. Go make your mistakes... I really don't care. But no, this contrib WILL NOT work for you because I hereby revoke your right to use it in any way (yes, of course I realize that's entirely symbolic and you're free to download and use it regardless of my permission, just as your customers are free to not be fooled by your trying to play Chinese Internet on them)

8 Dec 2012, 7:21 AM
#132
monkeshine avatar

monkeshine

New Zenner

Join Date:
Jan 2011
Posts:
15
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

I know when I ask for help, I hate it when people answer by judging my "why" rather than just answering with a "how"...

This quote is truly **too rich for words **after reading your last couple of assumption laden tirades. All I did was posit a hypothetical problem, my very first post on these fora, and ask "does this mod work on V1.5.1". The short answer is ??? I dunno you never said if it would work on 1.5.1.

I also asked, does the mod use the Zencart conversion table? and Will it process the order in the home currency at the ratio set in the currency table, or at the home country currency rate? But these and more questions still go completely unanswered.

But I did get crapload of "judgmental why" from you, along with endless cross postings about why it won't work, even though it seems it actually does and will work, and an assumption laden half-cocked lecture on the proper way to conduct business. I get it. You're totally zenned and you know best how to run my business. Fire my distributors even!

Yep, really too rich for words.

Best of luck to you friend.

8 Dec 2012, 7:43 AM
#133
monkeshine avatar

monkeshine

New Zenner

Join Date:
Jan 2011
Posts:
15
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

I'm done. You're now insisting on boiling this down to a technical discussion because you don't like how I was questioning your business,

Utter nonsense. Technical questions are entirely the purpose of these fora. Why you give a rat's patootie about how, why, where, when or for what reason I may or may not want to do anything is beyond me, yet you are the one who keeps going back to it over and over again even as you keep insisting that you don't care.

All I wanted to know is how your add on would function in various circumstances. Apparently framing the questions the way I did got you unhinged, but I admit its become comical to read your frothy answers.

8 Dec 2012, 10:26 AM
#134
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: userCurrency - updated for 1.3.5

Yes yes, blah blah. You're going round in circles. I answered you. You didn't like the answer. Tough. Go away.

3 Jan 2013, 8:51 AM
#135
vnet2001 avatar

vnet2001

New Zenner

Join Date:
Jan 2013
Posts:
4
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

I am not getting it. I installed the usercurrency mod. I have 1.5.1 Zen cart version. I have updated the "Currency by default language" setting. But I still show product prices in the default currency. Not in the currency of the IP.

I am in US and expect to see currency in USD. Can somebody throw some light? My nascent website: http://shiningsparkle.com.

Thanks.

3 Jan 2013, 3:55 PM
#136
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: userCurrency - updated for 1.3.5

There's nowhere on your site to select a currency.

3 Jan 2013, 10:36 PM
#137
vnet2001 avatar

vnet2001

New Zenner

Join Date:
Jan 2013
Posts:
4
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

Thanks for the response Mack.
Probably I didnt know the functionality - I thought that for both guest and registered users coming to the site, the site will convert product prices to the users currency based on his/her ip and display accordingly. Is my understanding not right?
So should the user register compulsorily? If so, what currency will be used for displaying product prices?

Thanks much.

3 Jan 2013, 10:42 PM
#138
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: userCurrency - updated for 1.3.5

You have it right... but you have to have currencies set up for them to choose. It can't auto choose if there's nothing to choose from.

4 Jan 2013, 12:28 AM
#139
vnet2001 avatar

vnet2001

New Zenner

Join Date:
Jan 2013
Posts:
4
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

Thanks again Mack. I am unsure if I am interpreting it right.

So if I want to set up currencies, would I have to
(a) Change customer shop status to 1 and above (logged in and above)
(b) Change customer approval status to 1 and above (approved and above)

Also, would I need to edit the php file for customer registration?

Thanks.

4 Jan 2013, 1:00 AM
#140
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: userCurrency - updated for 1.3.5

no nothing to do with that. I mean in your shop you have to set up currencies. It doesn't look like you've done that. Or at least you haven't enabled the currency selection sidebox or module. Forget this contrib for a minute... I'm talking basic shop setup stuff. If you haven't given the customer the ability to select (for example) USD, then this contrib can't magically auto-select USD for an American visitor. It can only select what you've allowed... which appears to be the default (and only) currency enabled in your shop.