4 replies [Last post]
miguel.rincon86's picture
Offline
Joined: 09/01/2009
Juice: 22
Was this information Helpful?

First of all thanks guys for the great Ubercart, I do not know where I would be without it!!

My client wants to set up an Online training site that sells courses in China and the US. Because of the very different market conditions, he created 2 different pricing lists (cheaper in China) for each location (around 200 products).

I have looked everywhere for a good way to solve this, I have some ideas:

Role prices: Price Per Role module, but this is discouraging for anonymus users that would not have their "Chinese" role and prices yet. I do not know of a good solution to set roles by location.

Coupons: Allowing the Chinese folks to input a very well advertised discount Coupon. But the code(s) may eventually leak to the US people. Also the catalog would use the higher prices :S

L18n: The localization module creates a new node per translation, so the new tranlation CAN have a different price, but the users can switch the languages at any moment and the prices.

The client suggested that the paying method can be a way to define the country, since Chinese users normally use Alipay and US folks use Paypal. However, paying method is only defined at the end of the Checkout and does not affect the prices.

There are not shipping costs involved because it is only for online products.

Any ideas? A pricing that adjusts to the location makes sense in many offline businesses... how to solve it with Ubercart?

Miguel
SEO and Web Development in Beijing

Uberchic's picture
Offline
Administrator
Joined: 08/29/2008
Juice: 754
Re: Different pricing depeding on location

If you're comfortable writing some code yourself, you may be able to do what you want with, or get ideas from, conditional actions.

miguel.rincon86's picture
Offline
Joined: 09/01/2009
Juice: 22
Client's response

Thanks Uberchic,

I am waiting for the client's reply to know which is the solution he prefers. I am for sure not confortable (yet) with coding a module of this kind. I checked conditional actions, but can only think of a roles based solution.

Still, I feel that it is a common need for international stores to have multi-pricing capacity, however it sounds like quite a big (and useful) contrib.

I think the price per roles solution is the best one choice I have (for now).

Anyone has more ideas?

Miguel
SEO and Web Development in Beijing

miguel.rincon86's picture
Offline
Joined: 09/01/2009
Juice: 22
Final (?) Solution

Well, after some painful hours I got to a final solution.

I used the Location+CCK Profile modules to have the user select her country upon Registration. Then, used Rules module to make a role change on users that selected China and added the Price per role module.

We are counting on people being honest about their location (also we will check some users IP's ourselves) and I am not completely satified with this.

I also wonder if Conditional actions could be used instead of Rules, it just seemed easier to add the correct Trigger (when Profile content is created or modified).

Cheers!

Miguel
SEO and Web Development in Beijing

miguel.rincon86's picture
Offline
Joined: 09/01/2009
Juice: 22
At the end...

At the end I set up the Multiprice Module it had some translation issues (the different prices in translations were not syncronized out-of-the-box). Added an IP detection module and I was done.
I did spend quite a few hours (days!) in this! I hope some folks read this post and find it useful.

Miguel
SEO and Web Development in Beijing