Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2010
    Posts
    9
    Plugin Contributions
    0

    Default 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!

  2. #2
    Join Date
    Apr 2010
    Posts
    9
    Plugin Contributions
    0

    Default 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....

  3. #3
    Join Date
    Mar 2005
    Location
    United Kingdom
    Posts
    608
    Plugin Contributions
    0

    Default 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

  4. #4
    Join Date
    Apr 2010
    Posts
    9
    Plugin Contributions
    0

    Default 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!

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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:
    Code:
    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!

  6. #6
    Join Date
    Mar 2005
    Location
    United Kingdom
    Posts
    608
    Plugin Contributions
    0

    Default Re: Enable UPS option for California Only!

    Quote Originally Posted by ndr2010 View Post
    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.

 

 

Similar Threads

  1. v154 Enable UPS ground shipping only for International, Alaska, Hawaii.
    By Patrick Vincent in forum Built-in Shipping and Payment Modules
    Replies: 12
    Last Post: 10 Dec 2015, 09:56 PM
  2. How to enable category listing for selected pages only?
    By ak6000 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 11 Jun 2010, 09:05 PM
  3. UPS shipping - category specific 2 Day Air option only
    By danwebman in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 11 Dec 2009, 12:30 PM
  4. disable flat rate shipping for paypal only (but enable for googlecheckout)
    By btman in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 14 Jul 2009, 05:51 AM
  5. Enable COD only for customers with Company
    By RaySpike in forum General Questions
    Replies: 1
    Last Post: 9 May 2009, 09:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg