Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Programming Problem...Really Weird UPS Problem

    I am really looking forward to seeing your work because we really need more sophistication to UPS than the current module offers including commercial/residential, negotiated rates, and dimensional input. Particularly curious how you have managed with the dimensional issue, does it figure out dimensions based on entire cart contents or just adding dimensional values together product by product?

    Zen Cart and it's community are the best!!

  2. #2
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: Programming Problem...Really Weird UPS Problem

    Quote Originally Posted by lankeeyankee View Post
    I am really looking forward to seeing your work because we really need more sophistication to UPS than the current module offers including commercial/residential, negotiated rates, and dimensional input. Particularly curious how you have managed with the dimensional issue, does it figure out dimensions based on entire cart contents or just adding dimensional values together product by product?
    That is the tough part of the algorithm.....

    1. check the weight of the cart
    2. check the volume of the cart using product dimensions (go through the cart and do the math)
    3. If the total volume meets the "dimensional weight" requirements, then calculate the dimensional weight via UPS procedures (diff one for intl vs domestic)
    4. Compare the two and take the larger weight.
    5. Get the correct quote (neg, COM vs RES and so on).

    Now the real killer is larger packages when the packages have to be different. I am thinking of a routine to split the cart into shippable blocks then run the quoting as a multi-package shipment. The XML side of my UPS class handles multiple packages (or did until I broke it yesterday). So I just need logic to "pack a box" lol. I have already added a table to the db for shipping boxes as most of us only use a few. Updates will come lol

  3. #3
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Programming Problem...Really Weird UPS Problem

    I'm not sure if you've thought of this possibility...

    Some stores sell large objects that are already boxed. A single item may ship in two or three separate boxes, so simply calculating the largest box that will hold all of the item, let alone all of an order that may contain more than one such item, won't work in those cases.

    An example is a store I worked on last year which sells fountains. Each fountain may come with a base and maybe with a column, and possibly with a light, or a motor/pump, or both. And each of those partial items (some of which can't be sold separately) may already be in its own shipping container. So a single item order can end up being sent in two, three or even four boxes.

    Did I make your day?

    Rob

  4. #4
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: Programming Problem...Really Weird UPS Problem

    Quote Originally Posted by rstevenson View Post
    I'm not sure if you've thought of this possibility...

    Some stores sell large objects that are already boxed. A single item may ship in two or three separate boxes, so simply calculating the largest box that will hold all of the item, let alone all of an order that may contain more than one such item, won't work in those cases.

    An example is a store I worked on last year which sells fountains. Each fountain may come with a base and maybe with a column, and possibly with a light, or a motor/pump, or both. And each of those partial items (some of which can't be sold separately) may already be in its own shipping container. So a single item order can end up being sent in two, three or even four boxes.

    Did I make your day?

    Rob
    Actually, I have a boolean value in each product called "IsShipable". This is one item in the cart that can get a package by itself.

 

 

Similar Threads

  1. Help...weird problem with cloned UPS shipping module
    By nomoremoo in forum Addon Shipping Modules
    Replies: 0
    Last Post: 7 Sep 2010, 01:12 AM
  2. I have a really weird problem
    By Coffinwear in forum General Questions
    Replies: 3
    Last Post: 22 Jul 2010, 10:40 PM
  3. Really weird problem...need help!
    By sarahfig in forum General Questions
    Replies: 1
    Last Post: 2 Nov 2008, 09:11 AM
  4. Weird... really smegy problem
    By housesforFlorida in forum General Questions
    Replies: 0
    Last Post: 13 Oct 2008, 10:30 PM
  5. help debug really weird problem
    By longstockings in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Nov 2006, 06:34 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