Forums / General Questions / Payment options - defaulting to in-store pickup?

Payment options - defaulting to in-store pickup?

Started by ricehead on 15 Dec 2011, 9:45 PM · Views: 780

Results 1 to 6 of 6
15 Dec 2011, 9:45 PM
#1
ricehead avatar

ricehead

New Zenner

Join Date:
Jan 2008
Posts:
4
Plugin Contributions:
0

Payment options - defaulting to in-store pickup?

Need the help of some of you more savvy zensters.

I'm using 1.3.7. When customers pay using google checkout, it takes them to the checkout page and shows two shipping options in a drop-down menu. The options are "Store Pickup" (which is free), and "Shipping USPS Table Rate."

The problem is that the drop-down menu is defaulting to "Store Pickup" which means that people who aren't so savvy, and some other people who want to try to get free shipping, aren't changing the option to regular shipping.

Is it possible to change the order of these options? Doesn't seem to be an option in google checkout. I tried changing the order in googlecheckout.php so that the table rate comes first in the file, but that didn't change anything.

It seems like Google Checkout is receiving the terms "Store Pickup" and "Table" (rate) and alphabetically adding them to the drop-down menu, making Store Pickup show first?

Is it possible to change the name of either the "Table" rate to something earlier in the alphabet (like "Expedited"). Or change the store pickup module to something like "U-pickup in Store" so it will maybe appear after "Table" in the menu? I tried changing the name the simple way, in the shipping_methods.php file, changing the part where it says what to name things ('table' => 'usps shipping'), but that doesn't do anything.

Seems like the table rate and in-store pickup modules are built in, how much work would it be to change the name of one of those options in the code? Maybe change "Table" to "Expedited" or something. I would imagine the table rate stuff is probably embedded in like 30 different various php files and would mess everything up if I tried to change it?

Thanks for any help. Site is here:

http://www.dudleysbakery.com

15 Dec 2011, 11:03 PM
#2
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Payment options - defaulting to in-store pickup?

Have you tried changing the sort order in admin/modules/shipping?

The best way to learn is to try stuff. But, back it up first.

15 Dec 2011, 11:09 PM
#3
ricehead avatar

ricehead

New Zenner

Join Date:
Jan 2008
Posts:
4
Plugin Contributions:
0

Re: Payment options - defaulting to in-store pickup?

RescoCCC:

Have you tried changing the sort order in admin/modules/shipping?

yes, sorry, that was the first thing I tried.

i actually just turned off the option entirely, so you won't see it on the site (in case you look!)

15 Dec 2011, 11:34 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Payment options - defaulting to in-store pickup?

The shipping class is specifically setup to NOT set the Store Pickup as the default shipping module:

          // never quote storepickup as lowest - needs to be configured in shipping module
          if ($rates[$i]['cost'] < $cheapest['cost'] and $rates[$i]['module'] != 'storepickup') {

you would need to change that code if you want the Store Pickup to be a default shipping method ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

16 Dec 2011, 12:15 AM
#5
ricehead avatar

ricehead

New Zenner

Join Date:
Jan 2008
Posts:
4
Plugin Contributions:
0

Re: Payment options - defaulting to in-store pickup?

Ajeh:

The shipping class is specifically setup to NOT set the Store Pickup as the default shipping module:

      // never quote storepickup as lowest - needs to be configured in shipping module
      if ($rates[$i]['cost'] < $cheapest['cost'] and $rates[$i]['module'] != 'storepickup') {
> 
> you would need to change that code if you want the Store Pickup to be a default shipping method ...

But that's the problem - I don't want Store Pickup to be the default, but it is showing up in Google Checkout as the default shipping method!
16 Dec 2011, 12:16 AM
#6
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Payment options - defaulting to in-store pickup?

They actually have the opposite problem. It's default now - in Google Checkout, don't know about the store itself - and they want to change that.

The best way to learn is to try stuff. But, back it up first.