Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2006
    Posts
    123
    Plugin Contributions
    0

    Default How to disable ground services? when using Free Shipping - freeoptions

    Hello,
    We are running 1.3.9h.
    We would like UPS Ground and USPS Parcel Post not to show in the shipping estimator when Free Shipping - freeoptions kicks in.

    I thought I saw a post someplace but now I can't find it.
    Could someone point me to the right post or repost the instructions and code here.

    Thank you in advance.
    Wishing I was Zenned !
    It's amazing what happens when I put the files in the right folders !!!

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

    Default Re: How to disable ground services when using Free Shipping - freeoptions

    Free Shipping Options freeoptions is designed to show at the same time as the other shipping modules ...

    If you do not want the other shipping modules to show when Free Shipping Options freeoptions shows, you would have to rewrite the shipping modules in some manner ...

    Its original purpose was to offer a Free Shipping choice but allow customers to pick a faster, paid for 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: v1.5.5]
    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!

  3. #3
    Join Date
    Jan 2006
    Posts
    123
    Plugin Contributions
    0

    Default Re: How to disable ground services when using Free Shipping - freeoptions

    Quote Originally Posted by Ajeh View Post
    Free Shipping Options freeoptions is designed to show at the same time as the other shipping modules ...

    If you do not want the other shipping modules to show when Free Shipping Options freeoptions shows, you would have to rewrite the shipping modules in some manner ...

    Its original purpose was to offer a Free Shipping choice but allow customers to pick a faster, paid for method ...
    I know this. I asked "We would like UPS Ground and USPS Parcel Post not to show in the shipping estimator when Free Shipping - freeoptions kicks in. "
    Wishing I was Zenned !
    It's amazing what happens when I put the files in the right folders !!!

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

    Default Re: How to disable ground services? when using Free Shipping - freeoptions

    What are your settings on Free Shipping Options freeoptions?

    I have done this before in the past, but need to know what is triggering your Free Shipping Options freeoptions shipping module ...
    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: v1.5.5]
    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!

  5. #5
    Join Date
    Jan 2006
    Posts
    123
    Plugin Contributions
    0

    Default Re: How to disable ground services? when using Free Shipping - freeoptions

    Just the dollar amount. No weight (blank), no item count (blank). Shipping Zone United States.
    Wishing I was Zenned !
    It's amazing what happens when I put the files in the right folders !!!

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

    Default Re: How to disable ground services? when using Free Shipping - freeoptions

    For USPS ... you can change the method from:
    Code:
              $methods[] = array('id' => $type,
                                 'title' => $title,
                                 'cost' => ($cost * $shipping_num_boxes) + (MODULE_SHIPPING_USPS_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_USPS_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_USPS_HANDLING) );
    to read:
    Code:
              if ($type == 'PARCEL' && $_SESSION['cart']->show_total() >= 100) {
                // skip it
              } else {
              $methods[] = array('id' => $type,
                                 'title' => $title,
                                 'cost' => ($cost * $shipping_num_boxes) + (MODULE_SHIPPING_USPS_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_USPS_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_USPS_HANDLING) );
              }
    For UPS you can change from:
    Code:
            $methods[] = array('id' => $type,
                               'title' => $this->types[$type],
                               'cost' => ($cost * $shipping_num_boxes) + (MODULE_SHIPPING_UPS_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_UPS_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_UPS_HANDLING) );
    to read:
    Code:
            if ($type == 'GND' && $_SESSION['cart']->show_total() >= 100) {
              // skip it
            } else {
            $methods[] = array('id' => $type,
                               'title' => $this->types[$type],
                               'cost' => ($cost * $shipping_num_boxes) + (MODULE_SHIPPING_UPS_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_UPS_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_UPS_HANDLING) );
            }
    just set the 100.00 to the amount that you are using in your Free Shipping Options freeoptions ...
    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: v1.5.5]
    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!

  7. #7
    Join Date
    Jan 2006
    Posts
    123
    Plugin Contributions
    0

    Default Re: How to disable ground services? when using Free Shipping - freeoptions

    Linda,
    I'm impressed. You posted the code.
    No, I haven't tried it on our test site yet, but I recognize you as the queen of shipping mods. So your work is golden with me.
    Because you were kind enough to share the code, I'm buying the zen team a pot of coffee and a dozen donuts.

    Thank you and the rest of the team for a much better job on the 1.9 series.
    Wishing I was Zenned !
    It's amazing what happens when I put the files in the right folders !!!

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

    Default Re: How to disable ground services? when using Free Shipping - freeoptions

    Thank you for the support ... we really appreciate the coffee and donuts ... they really keep us going ...

    Let us know how this works out for you ...
    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: v1.5.5]
    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!

 

 

Similar Threads

  1. v150 disable the free shipping when discount coupons are used.
    By hotspotairsoft.com in forum Customization from the Admin
    Replies: 6
    Last Post: 22 Jun 2012, 03:34 PM
  2. v139h If freeoptions criteria=true, how can i disable the other shipping methodes?
    By Angioni in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 10 Mar 2012, 02:42 PM
  3. Taxes charged on shipping when using free shipping coupon
    By binary in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 4
    Last Post: 8 Sep 2010, 01:53 PM
  4. Disable Ground when offering Free Shipping and alternative shipping options
    By gabe8496 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 8 Aug 2010, 06:41 PM
  5. Disable flat rate shipping when free shipping available
    By kazie in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 6 Oct 2009, 09:59 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR