Forums / Addon Payment Modules / Google Checkout Shipping Order in drop-down box

Google Checkout Shipping Order in drop-down box

Locked

Views: 2,334

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
8 Oct 2009, 2:56 AM
#1
williewontgo avatar

williewontgo

New Zenner

Join Date:
Oct 2009
Location:
New York, USA
Posts:
70
Plugin Contributions:
0

Google Checkout Shipping Order in drop-down box

Using Zen Cart 1.3.8a.

I use both USPS and UPS shipping (carrier calculated) shipping modules.

All of the information passes to Google Checkout correctly.

When the Google Checkout page displays, the drop-down box is there with the charges for shipping methods that I have chosen.

It displays UPS first in the drop-down list, USPS second.

I want it to display USPS charges first, UPS charges second.

Anyone know how I can change the order?

I did change the sort order for the shipping modules in Admin (USPS first, UPS second), but that does not change the order that gets passed to Google.

Thanks in advance. :)

20 Nov 2009, 7:33 PM
#2
crmwind avatar

crmwind

New Zenner

Join Date:
Oct 2009
Posts:
1
Plugin Contributions:
0

Re: Google Checkout Shipping Order in drop-down box

I needed the same thing ... couldn't find a way to fix this through the admin interface, so went to the code. You can edit the file 'shipping_methods_ccs.php' then change the order of the items in the array $cc_shipping_methods_name to be the order you want to see in the list. I wanted USPS to appear first, so...

Mine now looks like this:
$cc_shipping_methods_names = array( 'usps' => 'USPS',
'fedex' => 'FedEx',
'ups' => 'UPS'
);

If you make this edit be careful about the commas. (Comma after every entry except last one.)

It doesn't look like the google checkout code supports the zencart templating system, so on an upgrade, you'd have to reedit that file.

4 May 2010, 7:16 AM
#3
acwong avatar

acwong

New Zenner

Join Date:
Feb 2010
Posts:
3
Plugin Contributions:
0

Re: Google Checkout Shipping Order in drop-down box

Hate to revive an old thread, but I'm trying to accomplish this exact same thing. I use FedEx Ground and USPS as my shipping methods. But Google Checkout always displays FedEx Ground first, but I need USPS to be first instead. I tried editing the code as crmwind suggested, but that doesn't seem to work.

Has anybody been able to rearrange the order of the shipping methods drop down in Google Checkout some other way?

4 Jun 2010, 9:55 PM
#4
hypercoyote avatar

hypercoyote

New Zenner

Join Date:
Aug 2009
Posts:
30
Plugin Contributions:
0

Re: Google Checkout Shipping Order in drop-down box

Same here, I'd like to not have UPS Overnight be my first shipping option. Kinda of a turn-off.....