Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2005
    Posts
    22
    Plugin Contributions
    0

    Default Help with Free Shipping & UPS Module

    Okay, my shipping is a bit complicated. Basically, for the US only, I Have

    1) Table Rates - this is for my basic ground shipping via UPS
    2) Free Shipping for Orders over $99 (Under the Order Totals - Shipping Module) - this is for ground UPS only

    Also, I want to offer 2-day shipping on all products within the US, no matter how much the price is, so I used the UPS module, but only checked the 2-day option.

    My question is, for orders over $99, I want the customer to have the Free Shipping for Ground option AND the 2-day shipping for the UPS price option. But I see in looking at the code on the UPS module that this is set up to not display at all if the order is set to Free Shipping. How can I change this so the customer has both options?

    I assume my answer is in this code in the ups.php file. Assumption is based on the first line of this code.

    // disable only when entire cart is free shipping
    if (zen_get_shipping_enabled($this->code)) {
    $this->enabled = ((MODULE_SHIPPING_UPS_STATUS == 'True') ? true : false);
    }

    if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_UPS_ZONE > 0) ) {
    $check_flag = false;
    $check = $db->Execute("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_SHIPPING_UPS_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id");
    while (!$check->EOF) {
    if ($check->fields['zone_id'] < 1) {
    $check_flag = true;
    break;
    } elseif ($check->fields['zone_id'] == $order->delivery['zone_id']) {
    $check_flag = true;
    break;
    }
    $check->MoveNext();
    }

    if ($check_flag == false) {
    $this->enabled = false;
    }
    }

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

    Default Re: Help with Free Shipping & UPS Module

    Why not just turn on the UPS shipping for all ...

    Then set a Free Shipping over 99.00 on the Order Total Modules for the US only ...

    Or ...

    If you want to offer the Free Shipping as an Optional Choice to US customers only, use the Shipping Modules Free Options (freeoptions) and configure for total >= 99 and set create a Zone for your US customers ...

    Now US customers could choose the Free slow boat ... or the expensive gotta have it yesterday ...

    Meanwhile, customers outside the US do not get the Free Shipping Option ...
    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
    Jun 2005
    Posts
    22
    Plugin Contributions
    0

    Default Re: Help with Free Shipping & UPS Module

    Thanks for the reply Ajeh. Where do I find the freeoptions module? I don't see it in the shipping modules. I just see freeshipper which doesn't have a place to input total=>99, or does it?

 

 

Similar Threads

  1. v151 free shipping lower 48 states & DC, UPS rates to HI, AK and Canada;
    By Johnnycopilot in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 11 Mar 2013, 03:22 PM
  2. Help with UPS shipping Module
    By dsimon in forum Addon Shipping Modules
    Replies: 2
    Last Post: 23 Apr 2012, 02:44 PM
  3. Help...weird problem with cloned UPS shipping module
    By nomoremoo in forum Addon Shipping Modules
    Replies: 0
    Last Post: 7 Sep 2010, 01:12 AM
  4. Offer Free Shipping & UPS
    By killertofu in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 10 Dec 2008, 07:52 AM
  5. Urgent: Please help with UPS shipping module
    By technicallynorth in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 22 Oct 2007, 10:46 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