Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    May 2014
    Location
    MA
    Posts
    20
    Plugin Contributions
    0

    Default Free shipping for certain customers

    I want to be able to set up free shipping for certain customers who have an account. Is it possible?

    Andy

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

    Default Re: Free shipping for certain customers

    What makes these Customers qualify for Free Shipping with 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!

  3. #3
    Join Date
    May 2014
    Location
    MA
    Posts
    20
    Plugin Contributions
    0

    Default Re: Free shipping for certain customers

    I have set them up as a reseller group in Group Pricing

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

    Default Re: Free shipping for certain customers

    Do they get Free Shipping on ALL Products?

    Can the Free Shipping be a Shipping Option offered to these customers, in addition to your regular shipping methods?
    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
    May 2014
    Location
    MA
    Posts
    20
    Plugin Contributions
    0

    Default Re: Free shipping for certain customers

    Yes they get free shipping on all products

    As long as these customers are the only ones that see the free shipping option yes

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

    Default Re: Free shipping for certain customers

    Then you could customize the Free Shipping Options freeoptions to work for only customers that are in this particular group_id ...
    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
    May 2014
    Location
    MA
    Posts
    20
    Plugin Contributions
    0

    Default Re: Free shipping for certain customers

    I have no idea how to do that.. sorry. Are there any tutorials on how to do that?

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

    Default Re: Free shipping for certain customers

    You could customize the file:
    /includes/modules/shipping/freeoptions.php

    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_FREEOPTIONS_STATUS == 'True') ? true : false);
          }
    
    // bof: offer only to customers in resellers group
      if (!IS_ADMIN_FLAG) {
        if ($_SESSION['customer_id'] > 0) {
          global $db;
          $group_id_resellers = 1;
          $sql = "SELECT customers_group_pricing from " . TABLE_CUSTOMERS . " WHERE customers_id = '" . $_SESSION['customer_id'] . "'";
          $chk_group_id = $db->Execute($sql);
          if ($chk_group_id->fields['customers_group_pricing'] != $group_id_resellers) {
            $this->enabled = false;
          }
        } else {
          $this->enabled = false;
        }
      }
    // eof: offer only to customers in resellers group
    
          if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_FREEOPTIONS_ZONE > 0) ) {
    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!

  9. #9
    Join Date
    May 2014
    Location
    MA
    Posts
    20
    Plugin Contributions
    0

    Default Re: Free shipping for certain customers

    That worked great... many thanks,

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

    Default Re: Free shipping for certain customers

    You are most welcome ... thanks for the update that this is working 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!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Can I restrict certain shipping modules for different customers
    By dre in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 26 Mar 2013, 09:06 AM
  2. v139b Free shipping/pick-up to certain customers
    By martynbaker52 in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 10 Apr 2012, 11:17 PM
  3. Automatic Free Shipping for certain items/categories?
    By jgdovin in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 8 Aug 2009, 06:44 AM

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