WooCommerce: Configure Box DimensionsBesty
There is a lot of confusion around on how to properly configure box sizes for various shipping methods including USPS. In reality, this is not as difficult as it seems to be if there is a basic understanding of how packaging works. This article is an attempt to explain the basic concept with few examples. Below example is explained taking USPS use case, but it is relevant even for UPS too.
What is outer and inner length? Simple. Taking an example of an order for a single product, Inner length is the dimension of the product and Outer Length is dimension of the package.
Btw, the product dimensions can be updated at admin –> products –> edit individual product –> Product Data.
Notice by default weight measurement unit is set as “Kg” and dimension as “cm”. This can be changed to “lbs” and “mm” at Woocommerce –> Settings –> Product.
We are coming back to our topic. In case of light weighted products like envelop, inner and outer dimensions will be the same. But, when there is some filling made to protect the product as like glass, electronic items, etc, the product (inner) dimension and package (outer) dimension will differ.
For example, suppose a product has an inner dimension of 20x2x1 and need to have a light filling while packing, the outer box size can be 22x4x3. Now, what if some one buys 10 number of it as part of single order? Obviously, we need to consider shipping it as part of one single package. So, the outer box size should be 22x4x30. Notice only height changes as length and width remains same (think about deck of cards).
Likewise, we need to define each logical box inner and outer sizes according to the packing style being followed for different products with different quantity.
Also, in case of heavy packing, Box Weight needs to be added in the corresponding field. This is the weight of the package and it will be added with the product weight to determine the shipping rates. And if the total weight which is sum of combined product and box weight, exceeds the entry in Max Weight, this box will not be the right one and so, another box will be chosen.
USPS Settings are located at WooCommerce –> Settings –> Shippings –> USPS. Few key configuration elements are explained here.
Parcel Packing Method.
By setting Parcel Packing Method drop down to default, each product item from the order will be considered as separate package. Shipping cost will be calculated for each single quantity of the products in the cart.
Rest of the options are self explanatory. Box dimensions must be defined as explained above to make it work.
Flat Rate Boxes.
Flat rate boxes and envelops are hard coded in the USPS plugin code itself. There are number of per-defined box sizes and corresponding rates which will be picked up automatically according to your product dimensions and order quantities. This makes job easier, but it may not be suitable for all businesses.
I think a use case may help to get more clarity. Here is one.
case 1: “Red Bag” single quantity. Product dimension 7x 11x .75 weight 20.
case 2: “Red bag” quantity 20.
In first case, the best fit found is this predefined box (d29).
“length” => “12.5”,
“width” => “9.5”,
“height” => “1”,
“weight” => “70”,
“online price” => “5.70”
In second case, it will getting packed to two predefined boxes (d22a, d17b).
“length” => “23.69”,
“width” => “11.75”,
“height” => “3”,
“weight” => “70”,
“online price” => “15.80”
“length” => “11”,
“width” => “8.5”,
“height” => “5.5”,
“weight” => “70”,
“online price” => “11.30”
So, 15.80 + 11.30 = 27.10
There are a number of services listed, where we can enable desired services. For more details on services provided by USPS, go through below link.
Tip of the Day.
While testing, if you face the issue of updated product dimensions and rates have no impact on the cart page, you can try disabling shipping rate caching.
You can go to wooCommerce –> System Status –> Tools, and enable Shipping Debug Mode by checking it on.
All the best 🙂