Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2007
    Posts
    17
    Plugin Contributions
    0

    Default Flat rate tied to item, UPS for the rest

    Hi...

    I'm looking to ship the majority of my products via UPS. No problem there, I have the UPS module setup and working correctly. The problem is I have some items I need to ship via freight which I setup using flat rate shipping. The problem is I'd like to only show that flat rate option on the items I need to ship bt freight. Can flat rate be tied to certain items? Or maybe by going over X amount of weight?

    Thanks in advance..

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

    Default Re: Flat rate tied to item, UPS for the rest

    You could customize the code for this ... but you need to consider what to do when 10 items are usually sent UPS and 1 item is for the special shipping ... how do you want to manage that?
    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 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: Flat rate tied to item, UPS for the rest

    The flat rate is setup for freight shipping so if one item qualifies, the 10 "regular" items could all be loaded on the pallet and shipped together..

    How would I customize the code? is there a mod for this or maybe a walk through?

    Thanks!

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

    Default Re: Flat rate tied to item, UPS for the rest

    There isn't a mod for this ...

    The idea is there has to be a flag or some type of indicator that can be tested for to know when the cart has any of these freight products in it ...

    If 1 or more is present, then only the flat rate shows ... otherwise, use the standard UPS ...

    Is there something that presently distinguishes these Products from all the others?
    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!

  5. #5
    Join Date
    Mar 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: Flat rate tied to item, UPS for the rest

    Weight could be one thing. Or maybe one whole catagory like "tires".. I wish there was a way to create product groups kind of like the zone definitions..

    Thanks for the reply!

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

    Default Re: Flat rate tied to item, UPS for the rest

    You could add a new field ...

    Or use a large weight such as 5000 ... something where no combo of regular products can reach it ... so when the weight is >= 5000 or whatever amount you use ... it can be the trigger for which Shipping Module to use ...

    Advantage of the 5000 products_weight is that you don't have to code in a new field you mearly have to test for it in the shipping modules to determin which is turned on/off ...
    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!

  7. #7
    Join Date
    Mar 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: Flat rate tied to item, UPS for the rest

    That's great and all, but I haven't the slightest clue how I'd go about coding that.. Would you happen to have any kind of examples to work off of?

    Thanks again!

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

    Default Re: Flat rate tied to item, UPS for the rest

    You can look at how the Free Shipping is managed via the function zen_get_shipping_enabled to test when and when not to allow a shipping module to display based on criteria for Free Shipping orders ...

    For example, in the shipping module for Flat Rate flat you will see:
    /includes/modules/shipping/flat.php

    PHP Code:
          // disable only when entire cart is free shipping
          
    if (zen_get_shipping_enabled($this->code)) {
            
    $this->enabled = ((MODULE_SHIPPING_FLAT_STATUS == 'True') ? true false);
          } 
    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!

  9. #9
    Join Date
    Mar 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: Flat rate tied to item, UPS for the rest

    That's a good place to start.. Thanks!

 

 

Similar Threads

  1. v139d Flat rate shipping for one item only, while the rest are variable. Is this possible?
    By Fretty in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 30 Mar 2012, 02:46 PM
  2. How do I use FLAT RATE for one item - and UPS Ship by weight for the other 8 items?
    By MarleneF in forum Built-in Shipping and Payment Modules
    Replies: 36
    Last Post: 31 Aug 2011, 04:15 PM
  3. How Can I Set a Flat Rate for shipping on 1 item and rest by weight ?
    By vividbreeze in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 1 Jan 2010, 05:26 AM
  4. "Per item" for some products, table rate for the rest?
    By kazie in forum Built-in Shipping and Payment Modules
    Replies: 15
    Last Post: 11 Jun 2009, 05:15 PM
  5. Flat rate in US but flat rate + $1 for ea additional item - International?
    By bakdoor in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 19 Oct 2008, 12:07 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