Project:Ubercart
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

Is there any posibility to make user check out using their currency (using automatic currency converter) ?
And It would be Great if we can put some different currency for every product (in many country, we use more than one currency)

Regards,...

Comments

#1

Status:active» fixed

The issue tracker here is not being used for feature or support requests. For now, the UC Multi-currency contribution available through Ubercart.org is the way to go.

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

#3

sub

#4

Hi Everyone,

Don't want this to turn into a rant and wasn't sure where to post this but here goes.

Drupal is the best CMS ever and Ubercart slips in so well its near perfect, but there is one huge problem, multi-currency!
Nothing works the way a customer expects, nothing!

It's so simple, customer sees 3 flags, 1 for Euros, 1 for British Pound, 1 for US Dollar, the customer clicks the chosen flag and everything on the site changes to that currency.
It remembers them, and the payment will go through to Paypal in that currency.

I've been trying to do this for over a year on and off with Drupal 5 and 6 and Ubercart 1 and 2 with no luck.
I was able to do this over 2 years ago using osCommerce here http://www.old.satandcable.co.uk with a pulldown, but now I'm redoing the site I can't get it working with Drupal and Ubercart!

Here is one of the products on the new site and I'm using a node-product.tpl.php php hack to show other currencies and a RRP (MSRP) here http://www.satandcable.co.uk/content/starview-4-box-super-usb-cable-pvr-4
If you look under the images you see I've included the other currencies as reference.

I've tried:

  • Currency CCK
  • Currency API with Currency
  • Ubercart Multiple Currency
  • Multiprice
  • Multple hacks

But I can't get anything to do this.

I can create drupal themes, I can write php and Javascript, do I try to create a module for this or is there something that will do it?
Any help on this would be great.

Thanks.
Dave.

#5

Hello Dave

I needed very similar functionality as you outlined and in the end I wrote my own shopping cart and currency converter modules.

My solution
When I first need to display a price I determine the users location using the ipinfodb web service and use euros, gbp or dollars accordingly. I also provide a simple form to allow the user to override this automated selection. The currency choice is stored in a 'currency' session/cookie.

Product prices are all gbp in the db (as per client, my missus, preference). I convert in real time to euros or dollars using the yahoo finance web service. I custom cache each amount (for x hours) to minimize the yahoo queries.

The cart module stores the converted prices for products in basket (to allow for an exchange fluctuation mid purchase) and sends to paypal in the sekected currency.

All in all two simple modules which took less time to build than I had previously spent failing to understand/implement the many possibilities available with existing modules.

Have a look: www.DiamondHillDolls.com. I'd appreciate any feedback.

My current problem
I am now returning to this because I want to add a process to allow automated uploading to google base products in their 3 territories (maybe this is where you were heading). Unforunately I am looking at a rewrite because my real time conversion means my converted prices will vary from the prices I submit to the US and German sites. I think I will run a regular (every x hours) task to refresh all the needed conversions and then upload the data to Google Base. This cron process will be a relatively big hit compared to my current on-demand system (but fortunately on this doll site the products are so few it doesn't really matter - but I would prefer reusable code).

I do not really understand why multi currency is so opaque in existing modules but then I haven't spent the time looking. My attempts to use ubercart and ecommerce have been very frustrating - spending so much time wading through documentation and online resources to find little solution. Life is too short so I preferred to go ahead and hack my own modules together.

I have been looking for a useful idea for a project because I want to give back to the community. But I don't think this is it. My modules are miles away from being cvs ready. Really miles and I am only a drupal beginner. I am reluctant to spend the time making them useful for modules that would repeat functionality that should be (and might well be) elsewhere. However, should you want my code you're more than welcome and I will even spend a little time trying to comment/explain the mess so you can adapt it for yourself as a starting point for your own better modules! :)

Just my thoughts, Phil

ADDED: Blimey Dave, after posting I went to your site and looked at your cv - you are clearly more qualified than myself. You can only have my code if you promise not to laugh.

#6

Hi Phil,

Had a quick look at your site and I'm impressed with the 'hack' you've created, really works easier (as a customer) than most of the 'real' modules!
As a customer the only thing missing is a basket/cart block.

What I'm looking for is a module that will plug into Drupal 6, Ubercart 2 and the Internationalization modules.
It will use best guess (using the IP address) to figure out where the customer is and supply the content in that language and currency.
Also, a block is supplied with flag images so the customer can click to change everything to override the best guess (in-case the IP address is from the wrong country or whatever).

This type of thing was built into an old CMS/eCommerce system about 5 years ago called osCommerce but I have no way of doing this in Drupal yet :(

If you could attach what you have done I'll have a go at it and see what I can 'hack' together.
You never know, one of the clever programmers here might read this and put something together...

As for your Google Base/Merchant center problem, I created a new cron file that runs each day and creates a file here http://satandcable.com/google-base/satandcable.xml
It scans through the database and cuts out all the Drupal layers (really bad, I know) and puts all the products into the file unless I tell it not to use the node ID.
Then I set Google up to pick it up once a day.
It's a complete hack but I created it years ago and, with a few changes, still works today :)

As it's off topic for this post I'll send it to you if you like, but you will have to make some changes to it to work with your setup?

Dave.

PS The ego massage is always nice, thanks!

#7

subscribing

#8

lol, was just checking some modules that "do this", and 3 out of 3 are abandoned.. what a joke for such an essential and (should be) simple feature..

#9

If this section is not being used for feature or support requests, please remove that categories.

#10

Ubercart currency conversion module: http://drupal.org/project/uc_currency_convert

#11

Status:closed (fixed)» closed (won't fix)

as per #1

... the UC Multi-currency contribution available through Ubercart.org is the way to go.

then this is not "fixed" but a "won't fix" within the scope of this module
(sight)

nobody click here