Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1
    Join Date
    Jan 2008
    Posts
    1
    Plugin Contributions
    0

    help question USPS Shipping Method vs Product Type

    I've searched the forums on this with no luck and am wondering if anyone could tell me if a patch or fix of sorts had ben created for the following issue:

    In essence I need the shipping options to only display what is applicable to the product (i.e. a book gets only the media mail option).

    Thanks in advance!

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

    Default Re: USPS Shipping Method vs Product Type

    At this time, this is not built into Zen Cart ... you would need to customize the products in some manner then customize the shipping module to know what to allow when and what to do when multiple product types are used or weights etc. etc. etc. to cover all of the possibilities ...
    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
    Dec 2007
    Location
    Dothan, Alabama
    Posts
    14
    Plugin Contributions
    0

    Default Re: USPS Shipping Method vs Product Type

    I have the same interest as Speakparrot, and was searching for the same thing. If any media products are in the shopping cart, then USPS media postal rates would apply for that/those items. That would be GRRREATT! We are just about ready to go live and offer a mixed bag of products. We are about to upgrade 3.8 to 3.8a and then make sure of all settings. I have found this to be a delightful experience in setting up and am satisfied 100 % with everything except the shipping options! Good job, gang!

  4. #4
    Join Date
    Jan 2006
    Posts
    21
    Plugin Contributions
    0

    Default Re: USPS Shipping Method vs Product Type

    We have been in the same situation for some time now and are at the point where we would be willing to fund development of such a module if anyone i able and interested in helping.
    Z

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

    Default Re: USPS Shipping Method vs Product Type

    I am still interested in knowing what each of you think should be done when there is a mixed cart of 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!

  6. #6
    Join Date
    Jan 2006
    Posts
    21
    Plugin Contributions
    0

    Default Re: USPS Shipping Method vs Product Type

    When there is a mixed cart I would say that Media Mail should not be an option. This would work for our needs, I not sure of anyone else.

    If someone wanted to get into offering two separate shipment or the like I think the project would get too complicated too fast.

    What I envision is, in the product set-up screen there being a check box that says "This item is available for Media Mail rate shipping". Then when each product is set up, the admin could toggle this on for items they wanted to have the option of being shipped Media Mail. The default could be off, so should someone have a huge catalog of items they would only have to hunt down the ones they wanted to offer Media Mail on. Then, when someone places an order and the shipping screen is brought up, a quick scan of the products would be done and should all the products have Media Mail option then Media Mail would appear as one of the selections on the postal options page. Should any one item in the shopping cart not have Media Mail option checked then shipping by Media Mail would not be shown.

    Just my ideas, like I said I don't have the programming ability to do it, but should some programmer have the ability and want t make a couple bucks we would be happy to work with them. (Or we could pay them in Moose Products - www.themoosestore.com)

    Z

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

    Default Re: USPS Shipping Method vs Product Type

    This could be done with a flag or extra field on the products table that indicates Media Mail or not ...

    Then a check on the cart for how many items are in it vs how many validate as Media Mail based on this new field would be able to be used to determin enabling or disabling the Media option on USPS ...
    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!

  8. #8

    Default Re: USPS Shipping Method vs Product Type

    I am looking for a similar option. All our books & DVD's are in a category - My thought would be that if all the items in the cart are from that category, Media Mail is an option - or conversely, if there is an item in the cart that is not from that category, Media Mail is disabled.

    I made a hack to the UPS and USPS modules that when the cart is over 200lbs they are disabled - and conversely, in the flat rate, on orders over 200lbs the flat rate in enabled... here is the code

    Code:
        // disable only when entire cart is free shipping
        if (zen_get_shipping_enabled($this->code)) {
          $this->enabled = ((MODULE_SHIPPING_USPS_STATUS == 'True') ? true : false);
        }
    
        // disable module if weight is above 200 lbs:
        if (IS_ADMIN_FLAG === false) {
          if ($_SESSION['cart']->show_weight() > 200) $this->enabled = false;
        }
    So... would something similar to this wrapped around the Media Mail option in the USPS module work - just a simple if/then statement?

    If so, how can you check an item in the cart to see what category it's from?

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

    Default Re: USPS Shipping Method vs Product Type

    If all Products that are Media Type are in one categories_id then you could check the count against the number of products with the master_categories_id that matches this categories_id and when they are the same, you know it is all media ... and when different then you know to skip it ...

    I thought I posted something similar on FIRST CLASS the other day that you could probably use to show you where in the code you need to manage a switch ...
    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 2007
    Location
    Dothan, Alabama
    Posts
    14
    Plugin Contributions
    0

    Default Re: USPS Shipping Method vs Product Type

    I like ChrisDrumm's idea. If mixed bag, then it would be nice to have the media option not appear. At the moment I have added text which informs the customer that only books and cd's qualify for the USPS media rate.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Shipping 1 item type USPS and 1 item type UPS
    By tenthmuse in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 9 Jul 2011, 07:10 PM
  2. Payment method based on shipping type?
    By celticwebsolutions in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 12 Dec 2010, 11:25 AM
  3. Set shipping method by product/product type
    By andycqos in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 19 Oct 2010, 11:29 AM
  4. Show shipping method based on product type
    By gpgoud in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 22 Sep 2009, 03:43 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