Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Calculadora

0

125
Vistas
What's the best way to calculate the optimal box size to use for shipping?

I am building out a UPS integration into my app which will allow users to set & save shipping boxes they have in their stock including the box's length, width, and height in inches. Each product that the user sells will now also have its own length, width, and height.

When a customer goes to order, I need to take all of the products in the cart along with their dimensions, and figure out the most efficient (smallest possible) box size to use in the list of available boxes.

I found this link: https://www.pluginhive.com/knowledge-base/box-packing-calculation-shipping-rates-based-weights-dimensions-2 and tried to follow the logic, but it seems flawed. It says to loop through the products and find the one with the largest length and do the same for the one with the largest width and then add up the height of all products together to get the final dimensions.

Example (LxWxH) Product 1 is (5x4x2) Product 2 ix (3x7x3) Product 3 is (4x6x4)

The final dimensions would be 5x7x9. I would then find the smallest box from the available boxes that is at least as big as all 3 dimensions. But this bothers me as the user can stack their product in different ways. They can turn the product sideways and stack them side by side in which cause adding up the total of all heights wouldn't make sense. Would I just repeat the above method for all 3 possibilities? I.E. first get the max length & max width & total height and try to find the best box, then get the max length & max height & total width and try to find the best box, and then get the max height & max width & total length and try to fine the best box?

8 months ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Alternatively, print as a multi-piece shipment. one box per product but may save shipping costs on international shipping

8 months ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar empleo Planes Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2023 PeakU Inc. All Rights Reserved.