Easy Profit Calculator docs

Costs & rules

Set product cost rules

Fill in product cost for many products at once with a rule that matches by vendor, SKU, tag, type, or title.

Updated June 30, 2026

A product cost rule fills in the cost for many products at once, instead of typing each one. It is useful when a whole vendor, product type, or SKU group shares the same cost or the same markup. A rule only sets the cost where Shopify has no Cost per item for that product - a real Shopify cost always wins.

Steps

  1. Open Cost rules, then Product costs (/app/costs/product-costs).
  2. Click Add rule.
  3. Give the rule a name you will recognise later.
  4. Set a priority from 1 to 999. Lower numbers run first when more than one rule matches the same product.
  5. Under "Match by", choose Vendor, SKU starts with, Product tag, Product type, or Title contains, then enter the value to match.
  6. Choose a cost type: Fixed amount (a set cost per item) or Percentage of selling price (for example 40 means the cost is 40% of the price).
  7. Enter the amount or percentage, then click Add rule.
  8. On the rule's page you can later set it to Active or Inactive, or delete it.

What you should see

The new rule appears in the Rules list with its match, its cost, and its priority. Your orders recalculate, and matching products that had no Shopify Cost per item now use the rule's cost, so their profit becomes realistic.

Tip

To set the cost for one single product, use "Edit costs manually" instead, which opens the products report. Cost rules are best when you want to cover a group of products in one go.