Costs and profit

Import cost prices automatically from your platform

Updated

On WooCommerce, Magento, PrestaShop and Shopware 6, ROASaurus reads the cost price your webshop keeps once a day, with the store connection you already set up. For any platform, you can add a Google Shopping product feed with a cost element under Settings › Costs › Product costs › Cost feeds.

On Shopify the "cost per item" is read automatically. Other platforms keep cost prices in their own fields; ROASaurus reads them as the platform's cost per item. A cost you enter in ROASaurus (by hand, CSV, bulk edit) always wins and is never overwritten.

Before you start

  • A store connected through its connector with API credentials (see your platform under Store connections).
  • Cost prices filled in your webshop, or a product feed with a cost element.

Steps

  1. Check which field your platform uses

    • WooCommerce: the field set as Cost price field on the store's connection page, otherwise _cost_price, _wc_cog_cost, _alg_wc_cog_cost or cost_price on products and variations.
    • Magento / Adobe Commerce: the cost attribute; the integration needs the resource Catalog › Products.
    • PrestaShop: wholesale_price of products and combinations; the webservice key needs GET access to both.
    • Shopware 6: purchasePrices; the integration needs read access to products.
  2. Set the field (WooCommerce only)

    If your cost-of-goods plugin uses another meta key, open the store's Connection page, fill Cost price field with that key and save.

  3. Wait for the daily read, then check

    Costs are read once a day. Open Settings › Costs › Product costs the next day.

    You should see: The platform cost in the column where Shopify stores show their cost per item, and margins for those variants.

  4. Or add a product feed

    On Product costs, click Cost feeds and add the URL of a Google Shopping XML feed (RSS or Atom) under Add a feed. Each item's g:id is matched to a variant id, SKU or Google channel id, and g:cost_of_goods_sold gives the cost; you can name another cost element. Protected feeds take a user name and password, stored encrypted. The feed is read daily, or now with Read now.

Common problems

A cost from the platform does not show
A cost entered in ROASaurus for that variant wins. Remove it on Product costs to use the platform's cost.
Other platforms
Wix, Squarespace, BigCommerce and the other connectors keep costs by hand, CSV or a cost source. See CSV import.

Next step

Review your product costs

Still stuck? Email us.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.