Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2008
    Posts
    361
    Plugin Contributions
    0

    Default Enabling Free Shipping for all except weight >= 35lbs

    I have a problem when I set up free shipping options, I did this:

    Enable Free Options Shipping
    True

    Shipping Cost
    0.00

    Handling Fee
    0

    Total >=
    0.00

    Total <=


    Weight >=


    Weight <=
    40.00

    Item Count >=


    Item Count <=
    1

    Tax Class
    Taxable Goods

    Tax Basis
    Shipping

    Shipping Zone
    48 Lower States

    Sort Order
    0


    ---------------------------------------------------------------------
    So, instead of working as expected is not doing anything, I had Always Free Shipping enabled before, but I set it up to FALSE, even as that the products are not following my new rule ...
    FREE SHIPPING

    Enable Free Shipping
    False

    Free Shipping Cost
    0.00

    Handling Fee
    0

    Tax Class
    Taxable Goods

    Shipping Zone
    48 Lower States

    Sort Order
    0
    Last edited by icecold; 11 Mar 2012 at 05:26 PM. Reason: Add even more info

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

    Default Re: Enabling Free Shipping for all except weight >= 35lbs

    Since you want two conditions based on AND and not OR you need to change this line:
    Code:
    // final check for display of Free Options
          if ($this->ck_freeoptions_total or $this->ck_freeoptions_weight or $this->ck_freeoptions_items) {
    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. v154 Free Shipping coupon for 1 item makes all shipping free
    By Phil S in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 15
    Last Post: 7 Jun 2016, 11:29 PM
  2. weight charges to all countries except one.
    By Afnan in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 26 Sep 2012, 06:01 PM
  3. Want to offer free shipping for orders over $ except for Express
    By xandros2000 in forum Customization from the Admin
    Replies: 5
    Last Post: 5 Aug 2009, 05:21 PM
  4. Free Shipping Except for International Orders
    By signature16 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 13 Jun 2007, 08:53 PM
  5. Free shipping item weight calculated wrongly for non valid free shipping zone
    By firehorse in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 28 Oct 2006, 05:39 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