Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25
  1. #21
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: exclude certain products from free shipping

    Fortunately, you are using for the Free Shipping >= 350 the shipping module Free Shipping Options freeoptions ...

    This means you can customize the one file:
    /includes/modules/shipping/freeoptions.php

    to manage the Products that are making up the 350.00 that it is looking for to give the Free Shipping ...

    Now for a few questions ...

    On all of these Product where the shipping is not suppose to be part of the $350.00 ...

    They are in Categories ... if they are in Category with categories_id 27 ... would the master_categories_id of all of these Products also be 27?

    The question being, for each Category's categories_id does the related Products use that as the master_categories_id ...

    NOTE: do not look at the Parent Categories ... be sure to look at the immediate Categories that hold the Products themselves ...
    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!

  2. #22
    Join Date
    Feb 2010
    Location
    Atlanta, GA
    Posts
    15
    Plugin Contributions
    0

    Default Re: exclude certain products from free shipping

    Quote Originally Posted by Ajeh View Post
    They are in Categories ... if they are in Category with categories_id 27 ... would the master_categories_id of all of these Products also be 27?

    The question being, for each Category's categories_id does the related Products use that as the master_categories_id ...

    NOTE: do not look at the Parent Categories ... be sure to look at the immediate Categories that hold the Products themselves ...
    Thanks for the quick response.

    I am a little confused by the "master_categories_id" you are asking about but I think I can further clarify anyhow. I believe what you are meaning with master_categories_id relates to products that might be linked to other categories like linked to specials. Yes the categories that the products are is their master category.

    I know you said not to look at the Parent categories but this explanation includes parent for organizational purposes. I have the categories_id listed next to each category. I have not included all of my categories and sub-categories but I only have at most a 2 level tree of categories products residing in the sub-categories if there are sub-categories.

    161 Supplies
    162 Top Loaders
    163 Magnetic Holders
    165 Pages
    166 Albums / Binders
    167 Card Sleeves
    168 Snap Boxes
    169 Hinged Boxes
    170 Screw Downs
    171 Memrobilia Cases

    29 Baseball Boxes
    42 Pre-Sell
    156 2010
    145 2009

    7 Baseball Cases

    13 Pre-Sell
    157 2010
    146 2009

    31 Football Boxes

    8 Football Cases

    131 Memorabilia



    All of the Sub-categories listed under Supplies are the current list BUT it is possible for there to be other sub-categories created without my knowledge the only constant I can guarantee is the Supplies parent category, I can't guarantee the sub-categories wont be added to or removed from the list. All products located in ALL sub-categories for the SUPPLIES category must be excluded from Free Shipping. All other categories and sub-categories qualify for Free Shipping.


    I hope this answers your questions
    Last edited by mgoodwindesign; 28 Sep 2010 at 04:27 PM.

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

    Default Re: exclude certain products from free shipping

    Yes, this can be customized based on the Top Level categories_id providing the Categories within that branch of the Categories tree are the master_categories_id ... and that all of the Products to those master_categories_id should be excluded ...

    Working from the Parent Category, does have advantages for, as you indicated, future growth to that Category where you don't want to have to go in and adjust the code each time you add a new Category that should be excluded within that branch ...

    NOTE: as you are using the Free Shipping Options freeoptions shipping module, this makes things a lot easier as this shipping module is offered as an alternative to your other shipping modules and, unlike the Free Shipping freeshipper shipping module which is offered in place of the other shipping modules, which would require a great deal of additional customization to alter ...

    It would take me awhile to work out all of the code for this, but it can be done ...
    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!

  4. #24
    Join Date
    Feb 2010
    Location
    Atlanta, GA
    Posts
    15
    Plugin Contributions
    0

    Default Re: exclude certain products from free shipping

    Yes, they are the master_categories_id and ALL of the products to those master_categories_id are to be excluded.

    Yes, working with the Parent Category is prefered.

    I apprecitiate your assistance with this code... I'm sure the application of this code would be beneficial for others as well.

    mg

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

    Default Re: exclude certain products from free shipping

    You can try doing a search on:
    $_SESSION['cart']->in_cart_check

    for examples of how to test the for things ... from the results of testing if any Products use the master_categories_id you can get the charges for those Products and build the amount to reduce the amount for the Free Shipping Options ...

    As I say, this would take quite some work to code this, but once done, you would be able to add/remove Categories and Products and the Free Shipping Options freeoptions would automatically adjust the calculations to handle when to show or not show on the checkout ...
    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 3 of 3 FirstFirst 123

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