Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Jul 2009
    Posts
    13
    Plugin Contributions
    0

    Default Free shipping without standard shipping options

    Hi,

    I don't know whether it's my zencart problem. (1.3.8a)

    I enabled "freeoptions" (sort order=1, order>$100) and "zones" (sort order=2) in shipping module.

    when total order < $100, it's fine. It just shows "zones" option.

    but when total order > $100, it shows both options, which I think "zones" option is meaningless to the customer.

    How should I configure such that only "freeoptions" shown if order > $100?

    Many thanks.

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

    Default Re: Free shipping without standard shipping options

    The Free Shipping Options freeoptions is designed to show at the same time as the other shipping modules, based on the conditions set, such as Total >= 100 ...

    If you only want Free Shipping for orders over $100 there is a setting in the Modules ... Order Totals ... Shipping ot_shipping where you can set Free Shipping on Orders over $XX.XX for National, International or Both ...

    When this is enabled, then the other shipping modules will not show ...
    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 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: Free shipping without standard shipping options

    Thanks thanks for your reply.

    Is it possible to setup "Free shipping" by order total but also adding one option to allow customer to choose "overnight shipping ($20)"?

    Do I need to customize on checkout shipping default php in this case?

    Thanks!

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

    Default Re: Free shipping without standard shipping options

    You could use Zone Rate zones, Flat Rate flat and Free Shipping Options freeoptions ...

    Both Zone Rate and Flat Rate would need some customization ...

    Zone Rate zones would be customized to only display for Orders < 100 ...

    Flat Rate flat would be customized to only display for Orders >= 100 ... and change the language file to read: Overnight Shipping

    Free Shipping Options freeoptions would be set for Total >= 100 ...

    This would then show Zone Rate zones when Orders are < 100, and then show Flat Rate flat and Free Shipping Options freeoptions when Orders are >= 100 ...
    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 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: Free shipping without standard shipping options

    I want to customize the zone rates:

    Zone Rate zones would be customized to only display for Orders < 100 ...

    Should I customize on zones.php or tpl_checkout_shipping_default.php?

    How can I get the order_total variable in the php?

    Should I customize this lines in zones.php?

    if (zen_get_shipping_enabled($this->code)) {
    $this->enabled = ((MODULE_SHIPPING_ZONES_STATUS == 'True') ? true : false);
    }

    Thanks a lot for your advice!

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

    Default Re: Free shipping without standard shipping options

    You have the right idea ...

    Put this below that IF statement ...
    Code:
    // bof: do not show on orders of $100 or more and only use when not in the Admin
        if (IS_ADMIN_FLAG == false) {
          global $cart;
          $order_total_amount = $_SESSION['cart']->show_total() - $_SESSION['cart']->free_shipping_prices() ;
          if ($order_total_amount >= 100) {
            $this->enabled = false;
          }
        }
    // eof: do not show on orders of $100 or more and only use when not in the Admin
    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
    Jul 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: Free shipping without standard shipping options

    Thanks a lot. It works!!

    Besides the order total > 100, I want to disable "zone rate" only if the selected shipping address is US.

    All other countries are still enabled to choose.

    How should I change the code in zones.php?

    Thanks again!

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

    Default Re: Free shipping without standard shipping options

    If you go into the Modules ... Shipping ... and edit the Zone Rate shipping module you will see that there is a place for:
    Skip Countries, use a comma separated list of the two character ISO country codes
    Disable for the following Countries:
    Just enter US in there and the US will not be able to see it ...

    NOTE: the US means all of the States, Territories, Islands and Armed Forces ...
    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
    Jul 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: Free shipping without standard shipping options

    Hi,

    Thanks for your reply.

    But my thinking is that this zone rate option will be disabled only if (order total > 100 AND shipping country = US).

    All non-US countries will show this option even order total > 100.

    Hence, I need to verify customer's shipping country in the zones.php. Can you advise what should I do?

    Thanks a lot!!

    Andrew

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

    Default Re: Free shipping without standard shipping options

    Two conditions exist ...

    If you set the Skipped Countries to: US

    ... then regardless of amount, the US shipping addresses will be skipped ...

    Then, the IF condition is set to control the shipping module based on the Order Total ... and when >= 100 the module will not show for anyone ...
    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. v152 FREE Shipping WITH Other Paid Express Shipping Options?
    By sle39lvr in forum Built-in Shipping and Payment Modules
    Replies: 18
    Last Post: 9 Aug 2014, 06:51 PM
  2. Replies: 3
    Last Post: 14 Mar 2012, 01:53 PM
  3. How to show Free Shipping AND other shipping options?
    By LRS in forum Built-in Shipping and Payment Modules
    Replies: 12
    Last Post: 20 Jul 2010, 08:25 PM
  4. Free Shipping Button is present without Free Shipping Module enabled
    By ballinthejack in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 6 Feb 2009, 10:37 PM
  5. Shipping option only shows as free shipping - i want all options
    By RomanSon3625 in forum Addon Shipping Modules
    Replies: 8
    Last Post: 14 Nov 2007, 04:13 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