4 replies [Last post]
Alethia's picture
Offline
Joined: 03/26/2009
Juice: 24
Was this information Helpful?

I am in the process of building up Ubercart for Japan (payment modules[GMO-PG, C.O.D., Bank Transfer], shipping modules, and general translations and localization.

I want to first make sure I am not overlooking an option in the core code set.

In Japan, and other Asian countries, we need to have the address order different for input fields. Now for printing of orders, I see that this is no problem. The problem I see is there is no way to change the address order of things for input in the checkout stages.

The quick fix for me is to override the uc_checkout_pande_delivery function. I just want to make sure this is right?

I see that in the code the pane itself has a weight option, but the fields do not.

A wish would be to have the field order to be set by language, and have them adjustable by using weight.

Does anyone off the top of their head know how to make a case that detects the language?

Example

case 1 would order it the stock way for western formats.
case 2 would detect that the current language is in Japanese and order it for Japanese format.

If anyone has a quick answer, please let me know, as it would help a lot.

Regards,

Shaun

amitaibu@drupal.org's picture
Offline
Bug Finder
Joined: 09/08/2007
Juice: 239
use global $language to

use global $language to determine the language.

James's picture
Offline
Joined: 04/18/2011
Juice: 5
Payment gateway for Japan

Is the payment gateway for Japan ready?

I am on a urgent need for this.

-James

Alethia's picture
Offline
Joined: 03/26/2009
Juice: 24
Re: Payment gateway for Japan

Wow...amazing to read my post from 2 years ago...always humble to see.

You know, someone just contacted us to see if we can finish up the gmo-pg, so it might be out sooner than never.

If would like to see about helping sponsoring the build, you can feel free to contact us. alethia-inc.com

Thanks!

James's picture
Offline
Joined: 04/18/2011
Juice: 5
Re: Re: Payment gateway for Japan

Please let me know, once the module is ready. We will reach you regarding the sponsor.