eTiMaGo Posted July 18, 2004 Share Posted July 18, 2004 For a store running several currencies, each order comes up in the currency the customer has chosen, either in the order details or the invoice. How would I go about displaying an extra total in USD (or another selectable currency?), just to try and keep everything a little more standardized without making it less convenient for the customer. any ideas, anyone? Quote Link to comment Share on other sites More sharing options...
eTiMaGo Posted July 18, 2004 Author Share Posted July 18, 2004 Nevermind, got it... copied and hacked up the ot_total.php , does the job :D Anyone interested if I contribute it? Quote Link to comment Share on other sites More sharing options...
bananen Posted July 21, 2004 Share Posted July 21, 2004 Yes please, I would appreciate that very much. /JR Quote Link to comment Share on other sites More sharing options...
eTiMaGo Posted July 28, 2004 Author Share Posted July 28, 2004 Just posted it as a contribution, guess it takes a little time to be verified first ;) I'll post the link when it comes up. Then you can all witness my :ph34r: PHP skillz Quote Link to comment Share on other sites More sharing options...
eTiMaGo Posted July 29, 2004 Author Share Posted July 29, 2004 Here we go, http://www.oscommerce.com/community/contributions,2298 Enjoy! Quote Link to comment Share on other sites More sharing options...
Jerah Posted October 22, 2004 Share Posted October 22, 2004 I haven't looked at the code yet (like I know what I'm looking at :-" ) but does it actually draw the default currency prices from the products and add those up, or just currency convert the total back into default currency? (Yes, I know it's been a year since you posted this... :D ) Quote Link to comment Share on other sites More sharing options...
Jerah Posted October 22, 2004 Share Posted October 22, 2004 (Yes, I know it's been a year since you posted this... :D ) <{POST_SNAPBACK}> Man, that's what happens when you read the wrong date. :) Quote Link to comment Share on other sites More sharing options...
Jerah Posted October 27, 2004 Share Posted October 27, 2004 For some reason, I find the trailing 0 in the default currency total is stripped from the output. Anyone else had this problem? For example (with numbers pulled from the air): Total: US$3.00 Total in AUD: $4.5 I've looked through the code but for the life of me can't figure it out (but then, I'm not much of a coder). Quote Link to comment Share on other sites More sharing options...
eTiMaGo Posted December 30, 2004 Author Share Posted December 30, 2004 For some reason, I find the trailing 0 in the default currency total is stripped from the output. Anyone else had this problem? For example (with numbers pulled from the air): Total: US$3.00 Total in AUD: $4.5 I've looked through the code but for the life of me can't figure it out (but then, I'm not much of a coder). <{POST_SNAPBACK}> Actually, it just pulls the raw order total, in the default currency of your store, so there's no number or currency formatting. I've learnt a lot more of PHP since then (oscommerce = great teacher), so I think you could put round($total,2) so round it to 2 decimals. Then again I could be wrong :P Quote Link to comment Share on other sites More sharing options...
SamyT Posted March 11, 2005 Share Posted March 11, 2005 Does it show on the customers side or just in admin? I'd prefer the customer not to see it as it may confuse them. Quote Link to comment Share on other sites More sharing options...
rued Posted September 15, 2005 Share Posted September 15, 2005 I'd prefer the customer not to see it as it may confuse them. If you don't want anyone to see it I think you can put it in an hidden field at checkout (not tested yet).. Quote Link to comment Share on other sites More sharing options...
alcova Posted September 4, 2006 Share Posted September 4, 2006 Hi, I installed the contrib, but the orders are no longer listed in the order list in the admin. Where could it be the problem? ciao Stefano Quote Link to comment Share on other sites More sharing options...
radders Posted December 2, 2006 Share Posted December 2, 2006 Of course the other way use this module with slight modifications is to force the checkout process to be in your shop's accounting currency (eg. Dollars or Sterling) but show the customer additionally the equivalent total in another currency (eg. Euros). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.