Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2005
    Location
    California
    Posts
    663
    Plugin Contributions
    0

    Default How to configure free shipping for amount >= $50 AND weight =< 20lbs ?

    I'm trying to configure my shop to offer free shipping when
    Total >= $50
    AND
    Weight <= 20lbs

    Both the total amount and weight conditions should be met to receive free shipping.

    I'm trying to configure this using the Free Shipping Options module.
    I set
    Total >= 50
    Weight <= 20

    However, this doesn't work. It seems this offers free shipping if the total is $50 or more OR the weight is less than 20lbs.


    How do I configure this correctly for my purpose or would this require code changes?

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

    Default Re: How to configure free shipping for amount >= $50 AND weight =< 20lbs ?

    The Free Shipping Options freeoptions shipping module uses OR to handle the conditions ...

    You can customize this in the:
    /includes/modules/shipping/freeoptions.php

    Code:
    // final check for display of Free Options
          if ($this->ck_freeoptions_total or $this->ck_freeoptions_weight or $this->ck_freeoptions_items) {
            $this->enabled = true;
          } else {
            $this->enabled = false;
          }
    See if that helps you in using the combination settings that you need ...
    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!

  3. #3
    Join Date
    Mar 2005
    Location
    California
    Posts
    663
    Plugin Contributions
    0

    Default Re: How to configure free shipping for amount >= $50 AND weight =< 20lbs ?

    Thanks, that was easy.

    Just a note for anyone who want to customize the /includes/modules/shipping/freeoptions.php file, it seems you can't use override folders here.

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

    Default Re: How to configure free shipping for amount >= $50 AND weight =< 20lbs ?

    Thanks for the update that this works for you ... and yes, you are correct that there are no overrides for the shipping, payment and order total modules ...

    NOTE: there are overrides for the language files associated with them ...
    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. NEW! -- Free-Shipping-and-Amount or Free-Shipping-and-Percentage (for v1.3.9h)
    By Ajeh in forum Built-in Shipping and Payment Modules
    Replies: 52
    Last Post: 19 Apr 2015, 03:52 AM
  2. v151 Offering Free Shipping over a certain amount and under a certain weight
    By jimmie in forum Addon Shipping Modules
    Replies: 0
    Last Post: 17 Aug 2013, 10:58 PM
  3. How to add amount to cart side box and free shipping
    By ben harry in forum Addon Sideboxes
    Replies: 0
    Last Post: 7 Apr 2009, 10:12 AM
  4. Replies: 2
    Last Post: 4 Feb 2009, 04:20 PM
  5. Free Shipping for Bank Payments over $750. How to configure?
    By bernie.oz in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 26 Aug 2008, 09:18 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