Results 1 to 10 of 25

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    345
    Plugin Contributions
    0

    Default Re: Free Shipping - some items - some zones - need upgrades

    I am only using the ups shipping module.

    I am marking the products by changing them to "yes, always free shipping" in edit products.

    Thanks

    ~D

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

    Default Re: Free Shipping - some items - some zones - need upgrades

    See if post #11 from this thread:
    http://www.zen-cart.com/forum/showth...hipping_weight

    helps you in this customization ...

    NOTE: where it references USPS you should customize UPS shipping module in a similar manner ...
    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!

  3. #3
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    345
    Plugin Contributions
    0

    Default Re: Free Shipping - some items - some zones - need upgrades

    Thanks for the link, I will try these changes.

    Once they are complete, will the other shipping options be available when free ship products are selected.

    For example, If, they wanted to upgrade the shipping to 2nd Day or Overnight.

    Thanks again

    ~D

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

    Default Re: Free Shipping - some items - some zones - need upgrades

    There are a number of ways to make the shipping modules work at the same time as the Free Shipping ...

    What is the ultimate goal here?
    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!

  5. #5
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    345
    Plugin Contributions
    0

    Default Re: Free Shipping - some items - some zones - need upgrades

    The ultimate goal is to have just a few products that include Ground shipping. If a customer selects an item that is "free ship", they also have a choice to pay for faster shipping.

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

    Default Re: Free Shipping - some items - some zones - need upgrades

    If you add weight to all Products ... and mark those for Free Shipping to the US as Always Free Shipping ...

    You can make the following customizations ...

    Make a Zone Definition defined for the US Only ...

    Install the Free Shipping Options freeoptions instead of the FREE SHIPPING! freeshipper ... and set the Total >= 0 and set the Zone to the new Zone Definition for the US Only ...

    Edit the code for:
    /includes/modules/shipping/freeoptions.php

    to include the code in RED:
    Code:
          // disable only when entire cart is free shipping
          if (zen_get_shipping_enabled($this->code)) {
              $this->enabled = ((MODULE_SHIPPING_FREEOPTIONS_STATUS == 'True') ? true : false);
          }
    
    // bof: Always Free Shipping
          if (!IS_ADMIN_FLAG) {
            global $cart;
    echo 'Always Free: ' . $_SESSION['cart']->in_cart_check('product_is_always_free_shipping','1') . ' Count: ' .  $_SESSION['cart']->count_contents();
            if ($_SESSION['cart']->in_cart_check('product_is_always_free_shipping','1') == $_SESSION['cart']->count_contents()) {
              $this->enabled = true;
            }
          }
    // eof: Always Free Shipping
    
          if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_FREEOPTIONS_ZONE > 0) ) {
    Edit the code for the UPS shipping module with the code in RED:
    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);
    //    }
    Edit the code for the shipping class with the code in RED:
    Code:
      function calculate_boxes_weight_and_tare() {
        global $total_weight, $shipping_weight, $shipping_quoted, $shipping_num_boxes;
    
    // bof: add back Free Shipping
        global $cart;
        $total_weight += $_SESSION['cart']->free_shipping_weight;
    //
        if (is_array($this->modules)) {
    Now the Free Shipping Options freeoptions will only show for the US when the whole order is Always Free Shipping and the UPS will always show with the proper weight ...
    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!

  7. #7
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    345
    Plugin Contributions
    0

    Default Re: Free Shipping - some items - some zones - need upgrades

    Thank you Oba-san. Let me try this out.

 

 

Similar Threads

  1. Free shipping on order total, problems when some items already have free shipping
    By birdmag in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 10 Nov 2010, 09:18 PM
  2. Free Shipping on Some items only in some states
    By aarosso in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 11 Nov 2009, 05:00 AM
  3. FREE shipping - not include some items
    By williamL in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 28 Aug 2009, 03:27 PM
  4. Shipping by category, item & zones! Oh, and some free!
    By Ryk in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 11 May 2008, 09:47 AM
  5. Need some items marked 'order received' some 'shipped'
    By bodini in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 11 Mar 2008, 07:09 AM

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