Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default free shipping if order contains certain product

    Currently two products have free shipping but all the other products have shipping costs. Is it possible to make an order that contains the free shipping item plus other items to be free shipping for the whole order?
    Shipping cost is based on spend at a fixed sliding rate.
    Thanks

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

    Default Re: free shipping if order contains certain product

    What shipping modules do you have installed for managing the Free shipping and the Regular shipping right now?
    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
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: free shipping if order contains certain product

    Thanks for the speedy reply.
    Table rate and freeshipping (freeshipper)
    Table rate is set to overall spend.
    Hope this helps
    Ian

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

    Default Re: free shipping if order contains certain product

    Customize the freeoptions.php and change the code to read:
    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);
          }
    
    // only show if products_id 11 or 12 are in the cart
          if (!IS_ADMIN_FLAG) {
            global $cart;
            $chk_prods = $_SESSION['cart']->in_cart_check('products_id','11')  + $_SESSION['cart']->in_cart_check('products_id','12');
            if ($chk_prods > 0) {
              $this->enabled = true;
            } else {
              $this->enabled = false;
            }
          }
    
          if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_FREEOPTIONS_ZONE > 0) ) {
    Change the tables.php to read:
    Code:
        // disable only when entire cart is free shipping
        if (zen_get_shipping_enabled($this->code)) {
          $this->enabled = ((MODULE_SHIPPING_TABLE_STATUS == 'True') ? true : false);
        }
    
    // do NOT show if products_id 11 or 12 are in the cart
          if (!IS_ADMIN_FLAG) {
            global $cart;
            $chk_prods = $_SESSION['cart']->in_cart_check('products_id','11')  + $_SESSION['cart']->in_cart_check('products_id','12');
            if ($chk_prods > 0) {
              $this->enabled = false;
            }
          }
    
        if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_TABLE_ZONE > 0) ) {
    where 11 and 12 are the products_id controlling this ...
    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
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: free shipping if order contains certain product

    Thanks for the help much appreciated

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

    Default Re: free shipping if order contains certain product

    Thanks for the update that this worked 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. v151 Free shipping or a percentage off if order is over a certain amount
    By attroll in forum Setting Up Specials and SaleMaker
    Replies: 2
    Last Post: 10 Apr 2014, 12:23 AM
  2. v151 Offering Free Shipping over a certain amount and under a certain weight
    By jimmie in forum Addon Shipping Modules
    Replies: 0
    Last Post: 17 Aug 2013, 10:58 PM
  3. v151 Extra order email when order contains certain products
    By Dave224 in forum Managing Customers and Orders
    Replies: 1
    Last Post: 28 Apr 2013, 03:33 PM
  4. How to Offer Free SHipping over a Certain $$ AND Under Certain Weight
    By Jeff_Mash in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 31 Aug 2007, 06:00 PM
  5. Free shipping when at least 1 product is checked with a certain attribute
    By hiddink in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 9 Aug 2007, 01:01 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