Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Nov 2006
    Posts
    8
    Plugin Contributions
    0

    Default Free shipping for a group customer

    I found how to set group % discount. But, I also want to to offer free shipping for some groups of customers. How should I set up this? Thank you.

  2. #2
    Join Date
    May 2008
    Posts
    33
    Plugin Contributions
    0

    Default Re: Free shipping for a group customer

    I'd like to do the same thing.
    regards, anna

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

    Default Re: Free shipping for a group customer

    Is this Free Shipping forever?

    Is this Free Shipping for One Order Only?

    Can you give more specifics?
    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!

  4. #4
    Join Date
    May 2008
    Posts
    33
    Plugin Contributions
    0

    Default Re: Free shipping for a group customer

    hi Linda,
    The idea is to offer free shipping is for a certain group of customers and should be forever :), (we offer a organic-home-delivery-service).
    The problem is that the discount for a group is on a percentage basis and our shipping is a fixed amount.
    Thank you, Anna

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

    Default Re: Free shipping for a group customer

    So anyone in Group ABC gets the associated discount and should be offered a Free Shipping Option ... or just get the Free Shipping Option and no other choices?

    NOTE: Offering a Free Shipping Option based on some criteria is easier than forcing a Free Shipping Option and no other choice ...
    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!

  6. #6
    Join Date
    May 2008
    Posts
    33
    Plugin Contributions
    0

    Default Re: Free shipping for a group customer

    that's the point, no discount, just free shipping...

  7. #7
    Join Date
    May 2008
    Posts
    33
    Plugin Contributions
    0

    Default Re: Free shipping for a group customer

    of course if the group discount could be a fixed amount, would be wonderful as well.

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

    Default Re: Free shipping for a group customer

    This code could be turned into something:
    PHP Code:
        $group_query $db->Execute("select customers_group_pricing from " TABLE_CUSTOMERS " where customers_id = '" . (int)$_SESSION['customer_id'] . "'");
        if (
    $group_query->fields['customers_group_pricing'] != '0') {
          
    $group_discount $db->Execute("select group_name, group_percentage from " TABLE_GROUP_PRICING "
                                          where group_id = '" 
    . (int)$group_query->fields['customers_group_pricing'] . "'");
    // do something here with the $group_discount->fields['group_percentage']
    // do something here because (int)$group_query->fields['customers_group_pricing'] has a value

    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!

  9. #9
    Join Date
    May 2008
    Posts
    33
    Plugin Contributions
    0

    Default Re: Free shipping for a group customer

    hi Linda,
    I freewheeled somewhat in the direction you pointed out to me, but being an complete PHP-ignorant I didn't get very far.

    $discount = ($order_total - $gift_vouchers) * $group_discount->fields['group_percentage'] / 100;

    modified in

    $discount = 4

    results in a discount of €4.03 (which is something)

    but isn't it possible to just add something like:

    if (if ($group_query->fields['customers_group_pricing'] != '0' && $group_id ==1) /my free-shipping group ID {
    $discount = 4;
    }

    thank you very much for your interest, anna

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

    Default Re: Free shipping for a group customer

    That is more along the lines of what I mean ...

    Obtain the customer's group id and if it matches the one you want to discount you can then manage what shipping modules show or do not show or apply a discount as needed ...
    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!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Is it possible to enable free shipping for only a certain customer group?
    By green couch designs in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 19 Apr 2011, 04:35 PM
  2. Different free shipping depending on customer discount group
    By elgar in forum Built-in Shipping and Payment Modules
    Replies: 21
    Last Post: 25 Aug 2010, 12:06 AM
  3. Need free shipping for customers with group pricing
    By safetysupplies in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 23 Mar 2010, 02:40 PM
  4. Free Shipping for Customer Group
    By Oozle in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 31 May 2009, 02:23 AM
  5. Free Shipping - Not for Group Pricing
    By pensive612 in forum Customization from the Admin
    Replies: 0
    Last Post: 24 Apr 2008, 10:37 PM

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