Forums / Built-in Shipping and Payment Modules / Enable UPS option for California Only!

Enable UPS option for California Only!

Locked

Views: 813

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
11 Apr 2010, 8:34 PM
#1
ndr2010 avatar

ndr2010

New Zenner

Join Date:
Apr 2010
Posts:
9
Plugin Contributions:
0

Enable UPS option for California Only!

Hello,

I only two shipping options available for UPS:

  1. Ground
  2. 2nd day

What I want to do is to only show the Ground Option if the customer is having the order shipped to a California addresss only. Meaning that if the order is being shipped to a California addres, it can be shipped Ground or 2nd day.

Any addresses outside of California should only have 2nd day available to them.

Please help!!

Thanks!

11 Apr 2010, 9:07 PM
#2
ndr2010 avatar

ndr2010

New Zenner

Join Date:
Apr 2010
Posts:
9
Plugin Contributions:
0

Re: Enable UPS option for California Only!

I am thinking that this is just to add a line of PHP code to hide GRD/STD if ISO code <>'CA'.

But I am not sure where or how to apply this. Can someone help! Please....:cry:

11 Apr 2010, 9:29 PM
#3
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Location:
United Kingdom
Posts:
606
Plugin Contributions:
0

Re: Enable UPS option for California Only!

There is a commercial mod that I use that will do this but forum rules prevent me giving any further info here. Do a Google search for Advanced Shipper or PM me.

Brent

12 Apr 2010, 2:51 AM
#4
ndr2010 avatar

ndr2010

New Zenner

Join Date:
Apr 2010
Posts:
9
Plugin Contributions:
0

Re: Enable UPS option for California Only!

I did see that but don't see how it can help my situation. I am in the US so I really don't understand how they have the localities set up. Sorry, I am leery of spending money on an add-on that I am not sure will work for my situation.

Thanks Anyways!

If anyone has a suggestion for how to make this work, please let me know.

Thanks!

12 Apr 2010, 3:43 AM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Enable UPS option for California Only!

You could skip it when:
$order->delivery['zone_id']

is equal to the state you are looking for and the:
$type

is equal to the shipping type that you want to skip ...

You can add this to the shipping module to help you determine what these settings are just above where the $method is built:

echo 'I AM type: ' . $type . ' zone: ' . $order->delivery['zone_id'] . '<br>';

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!

12 Apr 2010, 9:00 AM
#6
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Location:
United Kingdom
Posts:
606
Plugin Contributions:
0

Re: Enable UPS option for California Only!

ndr2010:

I did see that but don't see how it can help my situation....

It allows you to specify delivery options right down to postcode. You can also have individual options for certain products, categories or manufacturers. Basically it presents delivery options based to the delivery address.

Have a look on the developers site as he has a full working demo. You can also contact him. He supports a number of free and a few commercial add-ons and is very helpful.