Results 1 to 6 of 6
  1. #1
    Join Date
    May 2011
    Posts
    3
    Plugin Contributions
    0

    Default two shipping options flat rate and free

    Hello all I was hoping for some help on this, I wanted to offer my customers a flat rate shipping charge when they order 20.00 or more in merchandise and free shipping when they order over 40.00....

    I have found how to do this with the free shipping over 40.00 but not the flat rate over 20.00....

    thanks in advance

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

    Default Re: two shipping options flat rate and free

    What happens when the Order is under $20.00 ...
    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 2011
    Posts
    3
    Plugin Contributions
    0

    Default Re: two shipping options flat rate and free

    regular shipping amount based on weight..... oh yeah I guess I will need that to... but that is how it was set up originally shipping cost based on weight....

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

    Default Re: two shipping options flat rate and free

    You could customize the Flat Rate flat shipping module:
    /includes/modules/shipping/flat.php

    with the code in RED using:
    Code:
          // disable only when entire cart is free shipping
          if (zen_get_shipping_enabled($this->code)) {
            $this->enabled = ((MODULE_SHIPPING_FLAT_STATUS == 'True') ? true : false);
          }
    
    // bof: allow only for orders of >= $20.00
    // Only allow Free Shipping when whole cart is Always Free Shipping
      if (!IS_ADMIN_FLAG && $this->enabled) {
        global $cart;
        $chk_total = $_SESSION['cart']->show_total();
        if ($chk_total >= 20.00) {
          $this->enabled = true;
        } else {
          $this->enabled = false;
        }
      }
    // eof: allow only for orders of >= $20.00
    
          if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_FLAT_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!

  5. #5
    Join Date
    May 2011
    Posts
    3
    Plugin Contributions
    0

    Default Re: two shipping options flat rate and free

    that would be good... however editing code is above my pay grade , is there anyway of doing it through zen admin?

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

    Default Re: two shipping options flat rate and free

    I am afraid not ... the code has to be customized ...
    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. Having Two Flat-rate Shipping Options
    By bparker in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 17 Jan 2014, 01:59 PM
  2. Two flat rate options
    By laurenelaine_21 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 23 Apr 2009, 12:38 AM
  3. Flat Rate and Free Shipping questions
    By shirster in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 3 Jul 2007, 07:52 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