Follow this guide to merge ProfitMetrics cost exports and Shopify Product exports to update cost prices in ProfitMetrics for Shopify Websites
Step 2: Export from ProfitMetrics
Step 3: Add Exports to Google Sheet
Step 4: Prepare sheet and Complete vlookup
Updating cost prices in ProfitMetrics for Shopify is best done directly in Shopify, but sometimes, a CSV with cost prices may need to be manually uploaded.
This can become complicated because Shopify doesn't use variant ID as the primary Product identifier.
Step 1: Export from Shopify
If you already have Matrixify app installed, you can follow this guide to export from Shopify with costs and variant IDs.
If you don't have Matrixify and don't want to install it, please follow the steps below to manually sync exports between Shopify and ProfitMetrics.
- Login to https://admin.shopify.com
- Click Products, then "Export":
- Select "All Products"
- Select "Plain CSV file"
- Click "Export Products" and save the CSV file.
Step 2: Export from ProfitMetrics
- Log in to https://my.profitmetrics.io/
- Click Products
- Click Cost Prices
- Click all checkboxes: Include titles, Include external_sku, and Include sales price. If you want to update only products with no cost price, leave 'Only those with missing purchase price' checked. If you want to change existing product costs as well, uncheck that box.
- Click Submit
- A CSV file will be downloaded to your computer
Step 3: Add Exports to Google Sheet
Next we will import both exported csv files into different tabs in a Google sheet- Open a new tab and go to https://sheets.new
- Click "File" > "Import"
- Click "Upload"
- Browse or drag and drop your Shopify Export file to the "Browse" area:
- Select "Replace Spreadsheet"
- Click "Import Data"
- Right click "Sheet 1" at the bottom of the sheet and click "Rename"
- Set name to "Shopify Export"
- Click + to add another tab, then follow the step above to rename that to ProfitMetrics.
- Repeat steps 2-6 to import your ProfitMetrics csv
Step 4: Prepare sheet and Complete vlookup
- Go to Shopify Export tab and move column 'Variant SKU' to Column 1
- Go to ProfitMetrics tab. Select cell G1 and enter the name "Variant SKU"
- Go to cell G2 and enter this formula:
=VLOOKUP(D2, 'Shopify Export'!A:B, 2,false)
- Select cell G2 and copy it (cmd+c or ctrl+c)
- Highlight the remaining cells in column G and paste the formula (cmd+v or ctrl+v)
- Add costs to price_buy manually, or perform a vlookup based on suppliers csv to add price_buy/cost information.
- When you are done, columns A and B are the only columns necessary to import costs into ProfitMetrics > Products > Cost Prices.