How to add a handling fee to Shopify shipping rates, with a max cap and percentage rates

Updated · SMART Shipping Rates & Rules (E-TRADE PARTNER)

You can add a fixed or percentage handling fee to a shipping rate, clamp it with a minimum or maximum price, and calculate the rate as a percentage of the cart (or another calculation base). SMART Shipping Rates & Rules puts these controls on each rate under Rate type and Modify price, and the same Modify price fields exist on combined rates. The handling fee is added before the minimum and maximum, so Maximum price is the final cap. Calculated rates need Shopify Carrier Service. This is not a live carrier accessorial fee.

SMART Shipping Rates does this with zones, calculated rates, and delivery customizations.

Try it free
On this page
  1. When these controls matter
  2. What Shopify can and cannot do natively
  3. Rate type: Fixed amount vs Percentage
  4. Modify price fields
  5. Setup steps in SMART Shipping Rates & Rules
  6. Worked example: 8% of cart, $6 to $25, plus $2.50 handling
  7. Worked example: weight rate with a shipping cap
  8. Handling fee based on
  9. Tips
  10. Combined rates
  11. Frequently asked questions

Some stores need shipping to scale with order value (8% of the cart) without going below a floor or above a ceiling. Others need a packing fee on every calculated rate. Native Shopify can do a simple price or weight rate. It does not give you percentage math plus min, max, and a handling fee on the same calculated method.

SMART splits the job. Rate type decides whether the tier or increment is a fixed amount or a percentage of the calculation base. Modify price then applies Discount, Handling fee, and the Minimum price and Maximum price clamp, in that order.

When these controls matter

  • Percentage of cart: shipping should rise with order value, then stop at a cap.
  • Minimum price: a percentage rate should never return $1.20 on a tiny cart.
  • Maximum price: a percentage or weight rate should never exceed a published ceiling.
  • Handling fee: packing, materials, or a flat ops fee should sit on top of the calculated rate.

What Shopify can and cannot do natively

Native rates are usually a fixed price in a zone, sometimes with a weight or price condition. Percentage-of-cart shipping with a $6 floor and a $25 ceiling, plus a $2.50 handling fee, is app logic. SMART returns that as one calculated checkout price when Carrier Service is available.

ControlNative ShopifySMART label
Percentage of cart or weightLimitedRate type: Percentage
Floor on the calculated priceLimitedMinimum price
Ceiling on the calculated priceLimitedMaximum price
Fee added to the calculated priceLimitedHandling fee (fixed or %)
Same controls after blending ratesNoCombined rule, Modify price

Rate type: Fixed amount vs Percentage

On a calculated rate, choose a calculation base first (cart total, cart weight, quantity, and the other bases in Shipping rates and zones). Then set Rate type.

Rate typeWhat the Rate field meansExample
Fixed amountA money amount in shop currencyRange 0–5 kg, Rate 9.00
PercentageA percent of the calculation baseCart total, Rate 8 (meaning 8%)

In Range values (tiered rates), each range has its own Rate, so one tier can be 10% and the next 6% if you set it that way. In Base value with increment, Base rate stays in shop currency. Increment follows Rate type (money or %). With Percentage, every block charges that percent of the whole base again: on Cart total, Increment 5 per each 50 on a $100 cart adds $10 (5% of $100, twice), not $5. Use Range values for a plain percentage rate.

Modify price fields

These sit on the rate after the calculation. The same group exists on a combined rule after the blend (Sum, Cheapest, Most expensive, or Average).

FieldUI labelWhat it does
DiscountDiscount + Discount type + Discount based onSubtracts a fixed amount or a % of Cart amount or Shipping rate price. Optional Discount from threshold.
Minimum priceMinimum priceFloor clamp in shop currency. Empty means no floor.
Maximum priceMaximum priceCeiling clamp in shop currency. Empty means no ceiling.
Handling feeHandling fee + type + based onExtra fee added after the discount and before Minimum and Maximum price. Fixed amount or %. Based on Cart amount or Shipping rate price.

The order is: calculated price, then Discount, then Handling fee, then Minimum price and Maximum price, then Settings > Rate behavior rounding. The fee sits inside the cap. With Maximum price 25.00 and Handling fee 3.00, a rate that works out at 24.00 becomes 25.00, not 27.00. If the fee should come on top of a 25.00 ceiling, set Maximum price to 28.00.

Setup steps in SMART Shipping Rates & Rules

  1. Open Shipping rates. If the Carrier Calculated Shipping banner shows, your store can't use app-calculated rates yet, and saving a new zone fails until CCS is on.
  2. Open the zone (or click Create shipping zone), then edit the rate or click Add shipping rate. Set Calculation based on (Cart total for percentage-of-order shipping).
  3. Choose Range values or Base value with increment.
  4. Set Rate type to Percentage if the Rate should be a percent of that base, or Fixed amount for a money rate.
  5. Open Modify price. Set Minimum price and Maximum price if you need a floor or ceiling.
  6. Set Handling fee. Choose shop currency or %, then Handling fee based on: Cart amount or Shipping rate price.
  7. If several tagged rates should become one method, add shipping tags and repeat Modify price on a rule in Shipping rates > Combined rates.
  8. On Shipping rates, click Test checkout and run a small cart, a mid cart, and a cart that should hit the cap. Then confirm in real checkout.

Common mistake: percentage without a floor or ceiling

8% of a $12 cart is under $1. 8% of a $400 cart is $32. If that is not what you advertise, set Minimum price and Maximum price on the same rate. Rounding in Settings > Rate behavior is most visible on percentage results. Test a cart that does not land on a round number.

Worked example: 8% of cart, $6 to $25, plus $2.50 handling

A gift store wants shipping to follow order value, add $2.50 for packing on every calculated Standard method, never fall below $6, and never exceed $25 including the packing fee.

  1. Calculation based on: Cart total. Rate type: Percentage. One range from 0 with Maximum empty, Rate 8.
  2. Minimum price: 6. Maximum price: 25.
  3. Handling fee: 2.50, type shop currency. With a fixed fee, Handling fee based on doesn't change the amount.
  4. $40 cart: 3.20 + 2.50 = 5.70, lifted to $6.00. $200 cart: 16.00 + 2.50 = $18.50. $500 cart: 40.00 + 2.50 = 42.50, capped at $25.00.
  5. To charge the fee on top of a $25 ceiling instead, set Maximum price to 27.50.

Worked example: weight rate with a shipping cap

A parts store charges $4 per kg after the first kilogram, but never more than $40 for Standard inside the metro zone.

  1. Calculation based on: Cart weight. Mode: Base value with increment. Rate type: Fixed amount.
  2. Base rate 8. Increment 4. Per each 1 (kg). Skip increment for 1. Rounding type Round up, so 2.3 kg pays two increments.
  3. Maximum price: 40. Leave Minimum price empty unless you also need a floor.
  4. A 3 kg cart pays 8 + 2 × 4 = $16. A 12 kg cart works out at $52 and is capped at $40. Maximum price is always the last step, before Settings rounding.

Handling fee based on

Handling fee typeBased onResult
Fixed amountEitherAdds that money amount. Based on does not change a fixed fee.
PercentageCart amountAdds that percent of the cart
PercentageShipping rate priceAdds that percent of the shipping price already calculated

A 10% handling fee based on Shipping rate price on a $12 rate adds $1.20. The same 10% based on Cart amount on a $200 cart adds $20. Pick the base that matches the fee you actually pay.

Tips

  • Name the method in plain language (Standard delivery) and keep the math in Modify price, not in the title.
  • Set Rounding in Settings > Rate behavior if percentage rates should end in .00, .50, or .99. Rounding runs after the cap.
  • Use cart-total rates when the story is thresholds ($8 under $50, $0 over $150) rather than a straight percentage.
  • Use combined rates when a base rate and a remote surcharge should share one cap or one handling fee after the blend.
  • Remote geography is a zone problem, not a handling-fee problem. See UK Highlands, Australia remote, and NZ rural.

Clamp shipping the way your margins actually work

7-day free trial. Free on development stores.

Try the app free

Combined rates

A combined rule (Shipping rates > Combined rates) can apply Discount, Handling fee, Minimum price, and Maximum price to the blended result, in the same order. If you cap each component and also cap the blend, the customer sees the combined-rate cap last. Test a cart that triggers two tagged rates so you know which clamp wins.

Frequently asked questions

›Can Shopify charge shipping as a percentage of the cart?

Not as a flexible calculated percentage with clamps. In SMART, set the calculation base to cart total, Rate type to Percentage, then use Minimum price and Maximum price if you need a floor and ceiling. Carrier Service is required.

›Where do I set a maximum shipping price?

On the calculated rate, open Modify price and fill Maximum price in shop currency. Combined rules have the same field for the blended result.

›Is the handling fee added before or after the max cap?

Before. SMART adds the handling fee, then applies Minimum price and Maximum price, so Maximum price is the final cap (Settings rounding runs after it). To charge the fee on top of a $25 ceiling, set Maximum price to 25 plus the fee.

›Can the handling fee be a percentage?

Yes. Handling fee type can be shop currency or %. Handling fee based on can be Cart amount or Shipping rate price.

›Do handling fees and caps need Carrier Service?

Yes, because they change a calculated rate SMART returns to checkout. Hiding an existing method does not use these fields.

Related articles