Costs and profit
Import and export product costs with CSV
On Settings › Costs › Product costs, press Export CSV, fill the cost column in a spreadsheet, and paste the rows into Import costs from CSV at the bottom of the page.
Before you start
- Variants in ROASaurus (from the Shopify sync, your connector or your orders).
- A spreadsheet program: Excel, Numbers or Google Sheets.
Steps
Export what you have
Press Export CSV above the table. The file
product-costs.csvhas the columnssku,variant_id,product,variant,shopify_cost,cost,handling,effective_from,countryandbundles, one row per variant and cost entry.Fill in the costs
Open the file and fill
cost(andhandlingif you use it). Keepskuorvariant_idto identify the variant. Leaveeffective_fromempty to apply a cost to every order, or give a date as YYYY-MM-DD.Keep only the columns you import
The import reads
skuorvariant_id,cost, and optionallyhandling,effective_from,countryandbundles. Other columns are ignored. The first row must be the header. Comma, semicolon or tab separated all work.Import
Copy the rows, header included, into the box under Import costs from CSV and press Import.
You should see: "Imported 120 costs." If rows were skipped, the message names the first five and why.
Example
sku,cost,handling,effective_from,country,bundles TSHIRT-RED-M,4.20,0.50,,,2=7.80 4=14 TSHIRT-RED-M,5.10,0.50,2026-09-01,, MUG-01,2.00,,,GB IE,
The T-shirt costs 4.20 until 31 August and 5.10 from 1 September; the mug costs 2.00 for orders to the UK and Ireland (a zone), and its cost without a zone applies elsewhere.
Starting from your webshop's export
- Shopify: Products › Export gives a CSV with
Variant SKUandCost per item. On Shopify you rarely need it: the cost per item is read automatically. Fill it in Shopify, or rename the columns toskuandcostand import here. - WooCommerce: Products › Export with the SKU column, then add a
costcolumn with your prices. - Another tool's cost export: match its SKU column to yours with a lookup in your spreadsheet and keep
skuandcost.
Common problems
"Skipped …: no variant with that SKU"
variant_id from the export.Nothing was imported
sku or variant_id and cost.Decimal commas
Next step
Imported new prices? Check which orders they apply to.
Update costs on past ordersStill stuck? Email us.