How do I calculate sales rep commission on Shopify orders?
Last updated · by Ode Labs, who build Fizz Sales Reps
Multiply each order line's value after discounts (before tax and shipping) by the rep's rate, add up the lines for the orders that belong to that rep, and take commission back when lines are refunded, edited or cancelled. Shopify doesn't do this for you: it records the orders, but it has no commission field and no built-in way to say which rep an order belongs to. So you either do it in a spreadsheet at month end, or use an app that keeps a running ledger.
Does Shopify calculate commission?
No. Shopify's sales staff permissions let reps on Grow, Advanced and Plus place orders for the companies assigned to them, but the help page doesn't mention commission at all. It also warns against pointing reps at Analytics for their numbers, because "those pages contain sales data that isn't filtered for the company locations they're assigned to."
Which rules should I agree with reps first?
The five below. Most commission disputes are about a rule nobody wrote down, not about arithmetic.
- Which orders count. Orders the rep placed, clearly. What about the buyer's own online reorder a month later? Many brands credit it to the rep who owns the account; some keep certain buyers as "house accounts" that earn nothing.
- The basis. Commission on the line after discounts, before tax and shipping, is common and easy to defend. Also write down whether you pay on orders placed or orders paid.
- The rate. One rate for everyone, a rate per rep, or a rate per collection (say 10% on core lines, 5% on clearance). If a rep rate and a collection rate both apply, decide which wins.
- Refunds and cancellations. Commission comes back when an order is refunded or cancelled. Decide whether it comes back in the month of the refund or by reopening the original month. Reopening paid months causes the most arguments.
- Agencies. If an agency employs sub-reps, decide the agency's share of each sub-rep's commission.
How do I work it out in a spreadsheet?
Export the month's orders with line items and build one row per line. Shopify gives you the data; the spreadsheet does the rest.
- Mark the rep on each order. If reps send you orders, add a tag like
rep:danawhen you create the B2B draft order. For buyers' own orders, keep a sheet of company to rep. - Export the month's orders with line items, discounts and the company, plus refunds.
- One row per order line. Basis = quantity × price, minus the line's discounts and its share of any order discount.
- Look up the rep and rate from your company-to-rep sheet and rate table.
- Refunds as negative rows in the month they happen, so paid months stay closed.
- Pivot by rep for each statement, and save a copy of every month as sent.
A worked example
Dana sells 24 mugs at $8.75, 12 tea towels at $6.00 and 6 candles at $11.00 on her 10% rate.
| Line | Basis | Commission at 10% |
|---|---|---|
| 24 × mug | $210.00 | $21.00 |
| 12 × tea towel | $72.00 | $7.20 |
| 6 × candle | $66.00 | $6.60 |
| Order | $348.00 | $34.80 |
Shipping and tax on that order don't count. If six mugs come back and you refund them, the refunded basis is 6 × $8.75 = $52.50, so $5.25 comes back and Dana earns $29.55. The free commission calculator does this for any order, including order-level discounts and an agency's share.
Where does the tag method go wrong?
Tags drift, and exports double-count. A review of one commission app on the App Store describes exports where "there are lots of duplicate orders shown, and not assigned to the correct rep even though I've setup the tags for the rep on both the customer and orders" (Wildlife Tree, October 2021). Spot-check a few orders per rep against Shopify every month.
How do I handle refunds and order edits?
Record the difference each time an order changes, never a fresh total. Refunds are visible: Shopify's refund help says "You can partially refund an order", by quantity per line. Edits are easier to miss. Shopify's order editing help says: "When you edit an order, you can add or remove products, adjust item quantities, and update shipping fees." If your spreadsheet reads each order only once, it pays commission on the original amount.
What's the safe way to record a change?
Work out what each line should earn now, compare it with what you've already counted, and write only the difference as a new row. Done that way, a fully refunded or cancelled order nets to exactly zero, and you never edit a month you've already paid. It's tedious by hand, which is why it's the first thing to automate.
What if I've already paid that month?
Put the adjustment in the next open month. Rewriting a paid month means a rep's statement changes after they've been paid, which is where most disputes start.
Can an app do this for me?
Yes. Fizz Sales Reps is built around the rules above:
- Crediting: orders a rep places in the app are theirs. A setting credits each buyer's own online orders to the rep who owns that company location. You can credit or move any order by hand.
- Basis: each order line after all discounts, before tax and shipping.
- Rates: a default, a rate per rep, and rules per collection, optionally per rep. The most specific one applies: rep and collection, then collection, then the rep's rate, then the default.
- Edits, refunds and cancellations: when Shopify reports a change, the app works out what each line should earn now and records only the difference. A full refund nets to exactly zero. A catch-up on the dashboard re-checks recently changed orders in case a change was missed.
- Paid months stay closed: once you mark a month paid, later adjustments go into the next open month.
- Agencies: an agency can take a share of its sub-reps' commission, with a statement for each.
- Statements: per rep and per agency, per month, as CSV, with every line behind the total.
The app calculates; you pay your reps yourself and mark the month paid. Reps also get their own phone ordering app at each buyer's Shopify price, without admin access. It needs Shopify B2B companies and is free to install while it launches. It doesn't yet support different rates for opening orders and reorders, or tiers by sales volume.
What should I check at month end?
- Every company location has an owning rep.
- The month's refunds and edits are in.
- Three orders per rep match Shopify.
- Statements are sent, then the month is marked paid.
- Any dispute is noted with the rule that settled it, so next month's is shorter.
Related: How can sales reps place orders for wholesale customers on Shopify?