Title: Wrong Flat Rate Box Selected
Last modified: May 29, 2019

---

# Wrong Flat Rate Box Selected

 *  Resolved [mothermayapple](https://wordpress.org/support/users/mothermayapple/)
 * (@mothermayapple)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/wrong-flat-rate-box-selected/)
 * I am trying to use WooCommerce Services with USPS flat rate shipping. The boxes
   I commonly use are small and medium flat rate. I sell soap in my online shop.
   The dimensions of a bar of soap are 3.5″ (L) x 2.5″ (W) x 1″ (H). I can fit easily
   4 bars of soap in a small flat rate box. However, when I use these dimensions,
   the API selects a medium flat rate box. The problem seems to be with the height.
   If I set the height to 0.8″ then I get the small flat rate box. Compare these
   two products:
    Set to 1″ (H): [https://mayapplesoaps.com/product/sunshine/](https://mayapplesoaps.com/product/sunshine/)
   Set to 0.8″ (H): [https://mayapplesoaps.com/product/basil-lime/](https://mayapplesoaps.com/product/basil-lime/)
 * As a workaround, I changed all soap in my shop to 0.8″ (H) but this creates other
   problems. The calculator thinks 6 bars of soap fit in a small flat rate box, 
   when in fact they don’t fit. Also, I would prefer to show the correct dimensions
   so that my customers knows what they are receiving. Why does the API choose the
   wrong box when the height is set above 0.8″? The inner dimensions of a small 
   flat rate box are 8 5/8″ (L) x 5 3/8″ (W) x 1 5/8″ (H). It easily fits a bar 
   of soap 1″ (H). How do I fix this?
 * Amanda Frayer
    MayappleSoaps.com
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwrong-flat-rate-box-selected%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Allen Snook](https://wordpress.org/support/users/allendav/)
 * (@allendav)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/wrong-flat-rate-box-selected/#post-11585915)
 * Hi Amanda!
 * I was able to reproduce this situation on a test site. Unfortunately it appears
   to be a weakness in our automatic packing algorithm in that it doesn’t “see” 
   that the 4 soaps can fit in the smaller box.
 * I’ve opened an issue for us to try to come up with a fix or better workaround
   for you, but I don’t have an ETA on when we will be able to do so.
 *  [Fernando a11n](https://wordpress.org/support/users/fhaps/)
 * (@fhaps)
 * Automattic Happiness Engineer
 * [6 years, 10 months ago](https://wordpress.org/support/topic/wrong-flat-rate-box-selected/#post-11636319)
 * As confirmed by Allen above, the reported issue has been confirmed and logged
   internally.
 * We don’t have an estimated release date for a fix, but please keep an eye out
   for future updates.
 * I’m closing this thread for now, but if you come across any new issues, please
   feel free to open another one.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Wrong Flat Rate Box Selected’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-services/assets/icon-256x256.png?rev=3234419)
 * [WooCommerce Tax (formerly WooCommerce Shipping & Tax)](https://wordpress.org/plugins/woocommerce-services/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-services/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-services/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-services/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-services/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-services/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Fernando a11n](https://wordpress.org/support/users/fhaps/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/wrong-flat-rate-box-selected/#post-11636319)
 * Status: resolved