Site icon EcomPlugins Blog

FedEx / UPS Packaging Logic With Rest API Plugin Flow

Lets discuss how fedex / ups box packaging setting will work. After you installed our plugin, then you will see fedex / ups settings in Magento 2 admin with following path.

Admin -> Store -> Configuration -> Sales -> Delivery Methods

https://magento2.ecomplugins.com/admin/admin/system_config/edit/section/carriers/

Packaging Logic:  See below examples to understand flow.

Case: 1

If you set as Yes then you are allowing system to use own packaging for each products.

Item A 
  Weight = 10 lbs
  Qty    = 4   
  Ship Separately: No

Item B
  Weight = 20 lbs
  Qty    = 1
  Ship Separately: No

UPS / FedEx Packages: Dimensions will use if set at product level.

  Box #   Weight    Width    Height    Length   Unit
    1    40   LBS
    2    20   LBS

Case: 2

In this case, if max package weight is set as 150 lbs then above logic will not use to separate packaging for each item until cart total weight is greater then 150 lbs.

Item A 
   Weight = 10 lbs 
   Qty    = 4   
   Ship Separately: No

Item B 
   Weight = 20 lbs 
   Qty    = 1
   Ship Separately: No

UPS / FedEx Packages: Dimensions will use if set at product level.

  Box #   Weight    Width    Height    Length   Unit
    1    60   LBS

Case: 3

In this case, box package logic will not use.  System will create package based on total weight and max allowed package weight. Here assuming max package weight set as 150lbs.

UPS / FedEx Packages: Dimensions will use if set at product level.

  Box #   Weight    Width    Height    Length   Unit
    1    60   LBS

Case 4:

Item A 
   Weight = 10 lbs 
   Qty = 4 

Item B 
   Weight = 20 lbs 
   Qty = 6

UPS / FedEx Packages: Dimensions will use if set at product level.

Total weight: 10×4 + 20×6 = 160 lbs, Max Package Weight: 150 lbs.  So system will create two packages of each same weight.

  Box #   Weight    Width    Height    Length   Unit
    1    80   LBS
   2    80   LBS

Case: 5

Now lets move to product level setting where you wants to ship separately but each box can have more than 1 qty.

 

Item A 
   Weight = 10 lbs 
   Qty = 4 
   Box / Pack Size: 2 
   Ship Separately: Yes

Item B 
   Weight = 20 lbs 
   Qty = 6
   Box / Pack Size: 2 
   Ship Separately: No

UPS / FedEx Packages: Dimensions will use if set at product level.

  Box #   Weight    Width    Height    Length   Unit
    1    20   LBS
    2    20   LBS
    3    120   LBS
Exit mobile version