Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Aug 2005
    Location
    Miramar, FL
    Posts
    41
    Plugin Contributions
    0

    Default Restrict Next Day Shipping to Certain Items

    I'm using the latest version of Zen Cart.

    Is there a way to restrict a product to only one type of shipping method? I'm setting up a bakery shop and would like perishable/refrigerated items next day but have other products ship regularly (2nd day, 3rd day, etc.).

    Thanks.

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

    Default Re: Restrict Next Day Shipping to Certain Items

    What happens when there is a mixed order of Products?

    What Shipping Module(s) are you using?
    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
    Aug 2005
    Location
    Miramar, FL
    Posts
    41
    Plugin Contributions
    0

    Default Re: Restrict Next Day Shipping to Certain Items

    If there is a mix of items I would want a message displayed like that in the attachment zen sample.jpg. Is there a way to, I guess, split the shipping if there are mixed items - like that in zensample1.gif?

    Right now I plan to only use UPS for shipping. Thanks!
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	zen sample.jpg 
Views:	243 
Size:	50.1 KB 
ID:	5640   Click image for larger version. 

Name:	zensample1.gif 
Views:	244 
Size:	33.1 KB 
ID:	5641  

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

    Default Re: Restrict Next Day Shipping to Certain Items

    There isn't a way, at this time, to split an order into two shipments ...

    You can, however, customize the shipping module to only allow certain methods to work based on a restriction ...

    How are you identifying the products that can only be shipped Next Day from the other products?
    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
    Aug 2005
    Location
    Miramar, FL
    Posts
    41
    Plugin Contributions
    0

    Default Re: Restrict Next Day Shipping to Certain Items

    Only cakes will be shipped next day (I'm still working on the site, www.sweetchocolatetreats.com, but you can take a look). I haven't identified this in the shop yet.

    Would you point me in the direction of how to customize the shipping module to only allow certain methods to work based on a restriction?

    I'm thinking of just noting cake delivery for next day in the product descriptions - or maybe I can add a sidebox with that info, which will only shows up when customers access the cake categories?

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

    Default Re: Restrict Next Day Shipping to Certain Items

    In the ups.php shipping module you will see the code where it is testing the shipping methods for the quotes:
    Code:
          for ($i=0; $i<$qsize; $i++) {
            list($type, $cost) = each($upsQuote[$i]);
            // BOF: UPS USPS
            if ($type=='STD') {
              if ($std_rcd) continue;
              else $std_rcd = true;
            }
            if (!in_array($type, $allowed_methods)) continue;
            // EOF: UPS USPS
            $methods[] = array('id' => $type,
                               'title' => $this->types[$type],
                               'cost' => ($cost + MODULE_SHIPPING_UPS_HANDLING) * $shipping_num_boxes);
          }
    You could add additional testing based on cart contents and the $type to disable when either products or products in certain categories are in the cart ...
    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
    Aug 2005
    Location
    Miramar, FL
    Posts
    41
    Plugin Contributions
    0

    Default Re: Restrict Next Day Shipping to Certain Items

    Thanks so much for your help. I haven't had time to take a look at code yet but I appreciate your help thus far.

  8. #8
    Join Date
    Dec 2010
    Posts
    21
    Plugin Contributions
    0

    Default Re: Restrict Next Day Shipping to Certain Items

    Sorry for the thread resurrection but I thought id add to this instead of starting a new one.

    So... I would like to use Flat Rate Shipping for one category and UPS for everything else.

    How would I edit the ups.php and the flat rate php for that outcome? Thanks.

    Brent
    Last edited by Kim; 21 Mar 2011 at 04:33 PM.

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

    Default Re: Restrict Next Day Shipping to Certain Items

    What should happen when Products are in the cart from both the 1 category for Flat Rate flat shipping and other categories that use UPS ...
    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!

  10. #10
    Join Date
    Dec 2010
    Posts
    21
    Plugin Contributions
    0

    Default Re: Restrict Next Day Shipping to Certain Items

    Quote Originally Posted by Ajeh View Post
    What should happen when Products are in the cart from both the 1 category for Flat Rate flat shipping and other categories that use UPS ...
    I would like it to default to UPS. I will add some text to the checkout page with instructions on how the sale will proceed.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Can I restrict certain shipping modules for certain products?
    By gumboot in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 13 Feb 2013, 05:26 AM
  2. restrict shipping certain products to certain states?
    By airtime in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 18 Jan 2011, 05:11 AM
  3. Shipping problems - UPS only giving Next Day and 2nd day?
    By ijarofjami in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 3 Oct 2009, 04:13 AM
  4. One Flat Rate Shipping Table w/ 2nd Day Air and Next Day Air Options
    By Computra in forum Built-in Shipping and Payment Modules
    Replies: 11
    Last Post: 13 Feb 2009, 08:16 PM
  5. Free shipping for 2-day, next-day costs?
    By mel150 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 11 Dec 2008, 11:14 PM

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