Advanced Quantity-based Shipping Rules

The Each Quantity Rule section allows you to set up shipping rates that apply per a defined number of items in the cart. Instead of a flat cost, you can configure WooCommerce to calculate shipping dynamically based on quantity.

For example:

  • Rule: 1,5,0 → means $1 shipping for every 5 items, starting from quantity 0.
  • If the customer orders 10 items, the shipping = $2.

This gives you a way to tie shipping costs directly to product quantities.


Why use the quantity rules?

  • Fair cost allocation: Customers pay proportionally for larger orders.
  • Protect margins: Cover packaging and handling costs for bulk quantities.
  • Flexibility: Define different rules per quantity step, rather than a flat rate for all.
  • Encourage bulk sales: You can keep per-quantity rates small to promote bigger purchases.

Example 1: Apply $1 charges for each 5 quantity from the 1st quantity

Screenshot 1: (Admin Settings)

Screenshot 2: (Cart page calculation)

Example 2: If the cart quantity is over 20, then wants to apply $5 for each additional quantity.

Screenshot 4: (Cart page calculation) 

Ready to See All Features in Actions?

Access our complete advanced features instance, allowing you to configure every feature with real checkout scenarios.


Expected outcome

When configured, WooCommerce will automatically calculate shipping based on the quantity steps you define. For example, if you set $1 for every 5 items, then:

  • Cart with 5 items = $1 shipping.
  • Cart with 10 items = $2 shipping.
  • Cart with 15 items = $3 shipping.

This ensures your shipping fees scale fairly with order size, giving customers transparent pricing while giving store owners better cost control.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.