Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25
  1. #11
    Join Date
    Oct 2008
    Posts
    11
    Plugin Contributions
    0

    Idea or Suggestion Re: exclude certain products from free shipping

    This thread is rather old but I thought I'd post my solution in the attached zip file...feel free to use it or not.

    I've modified the product configuration to allow any individual product to be excluded from Free Shipping by adding an extra radio button in the product's Free Shipping section on the admin page.

    I've only tested it on the minimum cart total value. The idea is that if the total value of the cart triggers the Free Shipping module, the module checks to see if there are any items in the cart that should not get Free Shipping.

    If the Free Shipping module would otherwise be triggered if those items are removed, (that is, if the total cart value still meets the criteria) the module short-circuits itself and sets a flag that there are Free Shipping items should be exempted from shipping charges buy removing their weights from the order (leaving only the exempted items + tare).

    I also made the modifications for total cart weight and total cart items, but didn't test for those conditions. I'd love it if someone would let me know if they do. Heck, I'd love feedback of any sort. I wanted to use Observers to make this work but I didn't have time to research it.

    Also, I only modified UPS and USPS. You can follow my example if you use other shipping mods.
    Attached Files Attached Files

  2. #12
    Join Date
    Jul 2006
    Posts
    112
    Plugin Contributions
    1

    Default Re: exclude certain products from free shipping

    lance made the first step moving towards a solution...but the codes has to be transfered to each specific site...therefore, a tutorial should be better.

  3. #13
    Join Date
    Dec 2008
    Posts
    22
    Plugin Contributions
    0

    Default Re: exclude certain products from free shipping

    I know that this post is kind of old, but i tried implementing the solution above and it came up with a unkown table in field error on the admin page when i trie dto edit a product. Any suggestions?

  4. #14
    Join Date
    Apr 2009
    Posts
    51
    Plugin Contributions
    0

    Default Re: exclude certain products from free shipping

    The attached files seems old now, and I'm still looking for the solution.

    Is there any new add-on to provide this function now?

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

    Default Re: exclude certain products from free shipping

    Could you provide some specific details as to what you are trying to do for your products on free shipping and how the free shipping products are distinguished from other products on your site?
    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!

  6. #16
    Join Date
    Apr 2009
    Posts
    51
    Plugin Contributions
    0

    Default Re: exclude certain products from free shipping

    I've have free shipping for order total over $100, but I wish to set up some products/categories to be excluded from this free shipping option.


    (Using v1.3.8 now)

  7. #17
    Join Date
    Apr 2009
    Posts
    51
    Plugin Contributions
    0

    Default Re: exclude certain products from free shipping

    I guess the answer is no?

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

    Default Re: exclude certain products from free shipping

    You would need to customize any code that uses:
    MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER

    to reduce the amount for these products ...

    If you do a search in the Tools ... Developers Tool Kit ... in the bottom input box for:
    MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER

    and search the Catalog ... then click SEARCH ... you will see where this is used ...

    It will look overwhelming at first ... but what it is doing is checking the total of the cart against the setting for MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER ...

    You would need to adjust these for those particular products that cannot be free shipping so that their total does not count towards the free shipping ...

    This is why I prefer the approach of using the Free Shipping Options freeoptions instead and offering that in addition to the regular shipping methods for when the order amount is over a certain amount and adjust the amount in the Free Shipping Options freeoptions shipping module ...

    This saves having to customize the code in so many places ...

    Plus, if you were using shipping, such as UPS, where there are numerous shipping methods, the customer can choose the Free Shipping ... or pick a faster method ...
    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. #19
    Join Date
    Apr 2009
    Posts
    51
    Plugin Contributions
    0

    Default Re: exclude certain products from free shipping

    Thanks for your help.

    Free Shipping Options is nice, but I just wanna put something "excluded" from Free Shipping Options, since they're already in special low prices.

    I can't just add "necessary" shipping fees to these products, because shipping to different areas are totally different.

    I guess that's why I need "Advenced Free Shipping Options"

  10. #20
    Join Date
    Feb 2010
    Location
    Atlanta, GA
    Posts
    15
    Plugin Contributions
    0

    Default Re: exclude certain products from free shipping

    I've been reading through the different posts on excluding products from having free shipping applied to it but other than conceptual solutions I have not found any applicable solutions. I am not versed enough to create the needed code from scratch most of my coding is in modifying existing code to tweak things as needed.

    here's what I have going on.

    I have a category "SUPPLIES" with sub-categories under it and then I have a handful of other top level categories.

    I am currently using the following shipping modules
    Free Shipping Options with a total cost set to greater than equal to 350.
    Store Pick Up with shipping cost being $0.00
    UPS Shipping

    What I need to be able to do is make it so that shipping is always applied to any product under the SUPPLIES category or any of the SUPPLIES sub-categories regardless of how little the weight value assigned to the product is. I only want to apply free shipping for total cost over $350 to products outside of the SUPPLIES category.

    So as I understand the concepts:

    I need to modify the free shipping options module to to check products in cart and only tally the total price of products who's category is not equal to SUPPLIES or SUPPLIES sub-categories. IF the total of these products is equal or greater than $350 apply free shipping option for those items and apply appropriate shipping rates for all items from the SUPPLIES category.

    If I have read things correctly I believe there is also manipulation that needs to be done to the OT_SHIPPING module file but I am not certain of what it is that needs to be done within that file.


    Now the kicker is... I have no idea how to code this in order to make this happen. I've seen a lot of code posted on here to help with other solutions and I did see a previous request for code in this thread but I have not found anything that I could even begin to manipulate and test with regards to this need. Also, file file attached to this thread throws errors when trying to edit products in the catalog trying to make calls to database fields that don't exist so I doubt it is worth me looking at that code because of it being so out dated.

    thanks in advance

    mg

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Exclude certain categories from new products module?
    By pricediscrimination in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 1 Dec 2015, 11:46 AM
  2. v139h exclude products from free shipping
    By mikestaps in forum General Questions
    Replies: 23
    Last Post: 15 Aug 2013, 11:14 PM
  3. Free Shipping if 4 products from certain category are bought?
    By Serious in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 14 Jul 2011, 03:06 PM
  4. Flat Rate / Over $250.00 FREE shipping exclude certain items
    By WebSiteGuru in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 31 Dec 2008, 04:44 AM
  5. Exclude certain products from Paypal option
    By AndyBB in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 30 Aug 2007, 08:09 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