Title: Multiple Packages &amp; Shipping Classes
Last modified: August 31, 2016

---

# Multiple Packages & Shipping Classes

 *  [csquared89](https://wordpress.org/support/users/csquared89/)
 * (@csquared89)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/multiple-packages-shipping-classes/)
 * I have a question which relates to this article by Mike:
 * [http://mikejolley.com/2013/12/12/manipulating-shipping-packages-woocommerce-2-1/](http://mikejolley.com/2013/12/12/manipulating-shipping-packages-woocommerce-2-1/)
 * I am trying to make it so that my orders that ship to Canada are a grouped flat
   rate in Shipping Classes 1-4, yet to keep Shipping Class 5 as shipping costs 
   per item since my Shipping Class 5 products are bulky products and would end 
   up in costing me money if they were a part of the flat rate.
 * I have tried using the plugin called Multiple Packages for WooCommerce by Bolder
   Elements and while it has solved many of problems for shipping, I am unable to
   get it to solve this one problem.
 * How would I go about making my request happen? Also, if the answer is part of
   the article by Mike… where do I put that code at, in functions.php or some part
   of WC?
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/multiple-packages-shipping-classes/#post-7099264)
 * My code would need to be adapted for your purposes, and would go either inside
   a custom plugin or within theme functions.php.
 * Sounds like you need to loop over the items in the package, and if in class 5,
   append to a new package. Definitely possible; I’ve done something similar before.

Viewing 1 replies (of 1 total)

The topic ‘Multiple Packages & Shipping Classes’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/multiple-packages-shipping-classes/#post-7099264)
 * Status: not resolved