Zen Cart Forum Forum Index Zen Cart Forum
The Independent Zen Cart Support Resource
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Zen Cart Store
Currency conversion in Austral Post shipping module

 
Post new topic   Reply to topic    Zen Cart Forum Forum Index -> Contributions/Modules
View previous topic :: View next topic  
Author Message
phomann



Joined: 01 Aug 2006
Posts: 1

PostPosted: Tue Aug 01, 2006 1:42 am    Post subject: Currency conversion in Austral Post shipping module Reply with quote

Hi,

I need to do a currency conversion from AUD$ to the default currency set up in ZC.

This is because the Australian Post postage calculator always returns the postage cost in Aussie dollars.

What I need to do is convert this to whatever the ZC default currency is set to immediately after it is retrieved from the postage calculator.

What I'm looking for is the currency converter function of the form:

value = currency_convert(from, to, amount);
i.e.
value = currency_convert(AUD,DEFAULT_CURRENCY, postage cost);


BTW I'm not a php programmer but if someone can point me to where the function is, I can probably fumble my way through it.

Cheers,

Peter.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 20 Jan 2006
Posts: 68

PostPosted: Mon Aug 07, 2006 3:29 pm    Post subject: Re: Currency conversion in Austral Post shipping module Reply with quote

phomann wrote:
Hi,

I need to do a currency conversion from AUD$ to the default currency set up in ZC.

This is because the Australian Post postage calculator always returns the postage cost in Aussie dollars.

What I need to do is convert this to whatever the ZC default currency is set to immediately after it is retrieved from the postage calculator.

What I'm looking for is the currency converter function of the form:

value = currency_convert(from, to, amount);
i.e.
value = currency_convert(AUD,DEFAULT_CURRENCY, postage cost);



OK - I am stumped - what is the Australian Postage Calculator - is this some 3rd party add-on to Zen Cart? Are you saying that if, for example, your site's Default Currency is USD, that you want to know what the postage is in Aussie dollars? And do you have a link we could look at.

Thanks
_________________
Matthew
Forum Moderator
Zen Cart Store
http://zencartstore.com
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Zen Cart Forum Forum Index -> Contributions/Modules All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Zen Cart Store


Powered by phpBB © 2001, 2005 phpBB Group