By default, order-level costs such as shipping, fulfillment, and payment processing fees stay on each order rather than on individual products. You can opt in per cost group to spread those order costs across each order's items so contribution margin breaks down by product, variant, SKU, vendor, product type, or product map category.
Turn on product allocation with Claude or ChatGPT
You can configure how each cost group allocates order costs directly in Claude or ChatGPT. Each group can use its own rule:
- Keep with each order (default): Order-level costs stay on the order and appear in the unallocated row when splitting by product.
- Spread by item sales: Each line item takes a share of the order's costs based on its net sales after discounts and before tax and refunds. Free orders fall back to splitting by units.
- Spread by item units: Each line item takes a share of the order's costs based on its quantity.
When you change a group's setting, Reportslayer automatically recalculates historical orders for that group in the background. You can switch back to keeping costs with each order at any time.
Example prompts you can use:
- "Show my current cost groups and how each one allocates order costs to products."
- "Spread our Fulfilment cost group to items by item units and our Payment fees group by item sales."
- "Rank our top 20 products by contribution margin in dollars over the last 30 days."
- "Compare contribution margin by product category for the last 90 days."
Turn on product allocation in the app
- Open Costs in Reportslayer.
- Select the tab for a cost group that contains order-level costs, such as Fulfilment or Payment fees.
- Change Order costs by product to Spread by item sales or Spread by item units.
Editors can change this setting per group. Amazon marketplace groups already track costs at the item level and do not need order allocation.
How shipping income, refunds, and overheads behave
- Shipping customers paid: When you enable product allocation on the contribution-margin group that holds your Shipping line, Reportslayer also moves the shipping customers paid from each order onto its items using the same sales or units share. It appears as a Shipping customers paid line that nets to zero across your store, keeping overall totals unchanged while offsetting fulfillment costs per product so product contribution margin is not understated.
- Refund costs: Order-level costs tied to a refund spread across the specific items returned in that refund.
- Ad spend and monthly costs: Costs that do not belong to an individual order (such as ad spend, retainers, or monthly software) stay unallocated in the no-product row.
- Product profit stays unchanged: Direct product profit continues to count only item-level costs like COGS and per-item fees.
- Ranking products: Compare products using contribution margin in dollars. When broken down by product, contribution margin % divides by product net sales alone and does not include allocated shipping income in the denominator.