Results 1 to 10 of 16

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Posts
    103
    Plugin Contributions
    0

    Default Free shipping cart wide if a particular item is purchased

    I am not sure if I posted this in the right forum.

    I have an item in my store. Lets say a particular hammock. I want to set it up so that if anyone purchases this item they will receive free shipping on anything else that they add to there cart as long as they purchase this hammock. Is this possible?

  2. #2
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Free shipping cart wide if a particular item is purchased

    Quote Originally Posted by attroll View Post
    I am not sure if I posted this in the right forum.

    I have an item in my store. Lets say a particular hammock. I want to set it up so that if anyone purchases this item they will receive free shipping on anything else that they add to there cart as long as they purchase this hammock. Is this possible?
    Is the free shipping only "on anything else that they add to there cart"
    or does it include free shipping on the hammock as well.
    iow is the entire order, free shipping?

  3. #3
    Join Date
    Dec 2007
    Posts
    103
    Plugin Contributions
    0

    Default Re: Free shipping cart wide if a particular item is purchased

    Quote Originally Posted by gilby View Post
    Is the free shipping only "on anything else that they add to there cart"
    or does it include free shipping on the hammock as well.
    iow is the entire order, free shipping?
    I want it so that when someone picks this item (hammock) that everything else that is included with this items in there shopping cart are also free shipping.
    But if they do not pick this item (hammock) then the other items are as they normally are and you have to pay for shipping.

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

    Default Re: Free shipping cart wide if a particular item is purchased

    So you are saying, buy a hammock and get totally Free Shipping, regardless of what is or isn't in the cart with the hammock, correct?

    What shipping module(s) are you using?
    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
    Dec 2007
    Posts
    103
    Plugin Contributions
    0

    Default Re: Free shipping cart wide if a particular item is purchased

    Quote Originally Posted by Ajeh View Post
    So you are saying, buy a hammock and get totally Free Shipping, regardless of what is or isn't in the cart with the hammock, correct?

    What shipping module(s) are you using?
    Yes, this is exactly what I am saying and want.
    I am currently only using Zone Rates for a shipping module.

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

    Default Re: Free shipping cart wide if a particular item is purchased

    You could use the Free Shipping Options freeoptions for Hammock and customize the two shipping modules ...

    Customize the Zone Rates zones 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_ZONES_STATUS == 'True') ? true : false);
          }
    
    // bof: disable if products_id 12 is in cart
          if (!IS_ADMIN_FLAG) {
            $chk_product = 0;
            $chk_product = $_SESSION['cart']->in_cart_check('products_id','12');
            if ($chk_product > 0) {
              $this->enabled = false;
            }
          }
    // eof: disable if products_id 12 is in cart
    
          // CUSTOMIZE THIS SETTING FOR THE NUMBER OF ZONES NEEDED
          $this->num_zones = 3;
    and reverse the logic for the Free Shipping Options freeoptions where you can set the Total >= 0 to manage that shipping module, customized with the code above, but reversed ...
    Code:
            if ($chk_product == 0) {
              $this->enabled = false;
    }
    
    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!

 

 

Similar Threads

  1. v154 Free shipping item triggers all else in cart to be free shipping
    By avansant in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 25 May 2016, 04:20 PM
  2. v139h free shipping for Continental us states for 1 particular item
    By simpledomaining in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 28 Aug 2012, 09:44 PM
  3. Replies: 1
    Last Post: 1 Jun 2011, 07:58 PM
  4. Free Shipping if Another Item is purchased?
    By lolwaut in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 24 Dec 2010, 06:48 AM
  5. Replies: 8
    Last Post: 3 Dec 2006, 08:23 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