Title: Quantity Based Shipping Class
Last modified: August 31, 2019

---

# Quantity Based Shipping Class

 *  Resolved [shopmaster](https://wordpress.org/support/users/serdarozbilen/)
 * (@serdarozbilen)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/quantity-based-shipping-class/)
 * Hello friends. Great plugin really. I was using Multiple Packages for WooCommerce
   plugin before find your plugin. Your plugin is king because it doen’t use vendor.:)
   
   Now I just want to ask about edit. I was using this to set free-shipping if quantity
   more than 100
 * if( $quantity>= 100 ) {
    $packages[ $n ][‘ship_via’] = array(‘free_shipping’);
 * How can I edit your code for this condition ? I hope it is possible.
 * So much thanks and regards
    }

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

 *  Plugin Author [oneteamsoftware](https://wordpress.org/support/users/oneteamsoftware/)
 * (@oneteamsoftware)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/quantity-based-shipping-class/#post-11887157)
 * Thanks a lot for using Shipping Packages.
 * Honestly I won’t suggest coding anything custom or hacking the plugin for free
   shipping as it might break future compatibility and the reason plugin does not
   do it is because you can get free shipping with other free plugins which should
   be a more straightforward and reliable way.
 * For example you can try our free Shipping Discount plugin: [https://wordpress.org/plugins/wc-shipping-discount/](https://wordpress.org/plugins/wc-shipping-discount/)
 * that will reduce shipping rate down to zero depending on the rules you will specify.
 * Or there is another free Advanced Free Shipping plugin:
    [https://en-ca.wordpress.org/plugins/woocommerce-advanced-free-shipping/](https://en-ca.wordpress.org/plugins/woocommerce-advanced-free-shipping/)
 * that actually does exactly what you need.
 * Then you will simply add it to Shipping Class restriction table and it will work
   with our Shipping Packages plugin.
 * Will it work for you?
 *  [gediweb](https://wordpress.org/support/users/gediweb/)
 * (@gediweb)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/quantity-based-shipping-class/#post-11953718)
 * A little confused. I installed the plugin, go to woocommerce > settings > shipping
   > shipping packages and see all your options. I see all my classes, and 3 columns
   of what I assume are shipping methods, but I dont know which one is which there
   are no headings on top. Please see my screenshot here: [https://snipboard.io/7eLstB.jpg](https://snipboard.io/7eLstB.jpg)
 *  Plugin Author [oneteamsoftware](https://wordpress.org/support/users/oneteamsoftware/)
 * (@oneteamsoftware)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/quantity-based-shipping-class/#post-11953867)
 * Hm, What other plugins do you have installed?
 * It might be that some plugin is using “woocommerce_shipping_method_title” filter
   and replaces titles with empty string.
 * I’m also wondering if your website is in English or other language?
 * You can contact us directly via contact form on [https://1teamsoftware.com/](https://1teamsoftware.com/)
   and we can do some debugging in order to find out what exactly can be wrong.
 *  Plugin Author [oneteamsoftware](https://wordpress.org/support/users/oneteamsoftware/)
 * (@oneteamsoftware)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/quantity-based-shipping-class/#post-11953877)
 * I will mark this issue are resolved for now as I didn’t receive any reply to 
   my question and there are not bugs reported.

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

The topic ‘Quantity Based Shipping Class’ is closed to new replies.

 * ![](https://ps.w.org/wc-shipping-packages/assets/icon-256x256.png?rev=2420489)
 * [Shipping Packages for WooCommerce - Dropship from multiple locations like AliExpress, eBay, Amazon, Etsy](https://wordpress.org/plugins/wc-shipping-packages/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-shipping-packages/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-shipping-packages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-shipping-packages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-shipping-packages/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [oneteamsoftware](https://wordpress.org/support/users/oneteamsoftware/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/quantity-based-shipping-class/#post-11953877)
 * Status: resolved