Raise or lower all WooCommerce prices by a percentage
Drop your shop's product export, set the percentage, and download a file that WooCommerce's own importer applies to the same products. Free, with no sign-up. Your file stays on your computer.
Choose the change, then drop your product export
This tool needs JavaScript, which is switched off in this browser. It runs on this page only and sends nothing.
No export at hand? See what the tool does with one:
The samples are made up: seven example products of no real shop, with a T-shirt in three sizes and two sale prices. The button fetches the sample from this site and reads it here, as it would read your own file.
No file yet? Make it in your shop first, as the steps below show, or try the tool with a sample export.
Your new prices
Which prices change and how they are rounded is set at the end of the tool above. Change it there, or the percentage, and the new prices follow at once.
No price changes with these choices, so there is no file to import.
First, import a check file. If an earlier product import in your shop broke off half way, by a closed tab or a timeout, it left hidden marks on products. While they are there, WooCommerce can take a row of the file to import for the wrong product and set that product's price. The check file takes about a minute: it holds one row that matches no product, changes nothing in the shop, and an import that runs to its end takes such marks off.
- In your WordPress admin, go to Products → All Products and select Import at the top.
- Choose the check file, whose name is
woocommerce-import-check-file.csv. Tick Update existing products, and select Continue. - On the Column mapping screen, change nothing and select Run the importer.
- The screen must then say: Import complete! 1 product was skipped. That is the right answer: the shop is ready for the file to import. Import that file today, before any other product import.
If it says Failed to import 1 product, the box Update existing products was not ticked. Nothing in the shop changed: import the check file once more with the box ticked. If it says anything else, such as that a product was imported or updated, do not import the file: change the prices by hand in the shop.
The file to import, and the steps for it, appear here once this box is ticked.
Both files hold only the rows that change. Their columns are ID and the prices you chose, and in front a column named "Guard (do not import)": it holds one value, the same in every row, WooCommerce does not import it, and it changes nothing in the shop. Leave it in the file. If your export had no ID column, the columns are SKU and the prices. The second file has the same rows with the prices your export has now: import it the same way to put them back. If you do that on a later day, import the check file again first.
Import the file into WooCommerce
- Back up your shop first, and keep the export you dropped here. Download the old prices too: with that file you can put every price back.
- Try one product first. Open the file in a plain text editor, not a spreadsheet, keep the first line and one product's line, and save it under a new name. Import that, as the next steps say, and check that this product, and no other, has the new price. Then import the whole file.
- In your WordPress admin, go to Products → All Products and select Import at the top.
- Choose the file you downloaded, whose name starts with
woocommerce-prices-. Tick Update existing products: the box is empty at every import, also right after the check file. Then select Continue. - On the Column mapping screen, the file's first column,
Guard (do not import), stands at Do not import: leave it there. Check thatIDand the price columns are each matched to the field of the same name. If your export had no ID column, the file has no guard column, andSKUstands in place ofID. Then select Run the importer, and keep the page open until it has finished. - The screen must then say Import complete! and how many products updated: the number of rows in the file. That is the right answer. If it says that the products were skipped, or that a product was imported, the box Update existing products was not ticked: see what to do then. Otherwise open a few products, variations too, and check their prices.
How it works: Drop the product CSV file that your shop's own export makes, choose the percentage, the prices to change and how to round them, and check the new prices row by row. Then download a file that WooCommerce's own importer applies to the same products, variations included.
See it work in a shop: open a demo WooCommerce shop with our free plugin, in a new tab, in about 20 seconds. Raise a category's prices by a percentage, see every new price, save and undo, inside WordPress, with no file and nothing to install (what to try).
Want to change your shop's prices directly, with no file to export or import? The browser editor of Stockrows, our own tool, does that on a page of this site, in your browser: try it on a sample shop.
Your file stays on your computer. This page reads it in your browser and makes the new file there. The file is not uploaded, stored or counted: the page sends nothing of yours anywhere while you use it. Once the page has loaded, it works with your internet connection switched off. Only the sample button needs the connection, to fetch its made-up file from this site.
How to export the products from WooCommerce
- In your WordPress admin, go to Products → All Products and select Export at the top.
- Leave Which columns should be exported? empty to export all columns. Or choose at least ID, SKU, Name, Type, Regular price and Sale price.
- Leave Which product types should be exported? empty, so that variations come too. To change only some products, choose a category under Which product category should be exported?.
- Select Generate CSV. Your browser downloads a CSV file whose name starts with
wc-product-export-and the date. Drop it in the box above.
If your admin is in another language, the file's column names are in that language too. The tool reads the column names of WooCommerce's translations into more than 40 languages, and the file it makes uses the English names, which WooCommerce's importer matches in every language.
What the tool does with each row
- Variations
- Each variation has its own price, and the tool changes it like any other. The own row of a variable product has no price in the export, so it is left empty: nothing about it changes.
- Rounding
- The rounding goes the way of the change: up on a rise, down on a cut. So a rise never ends lower than the old price, and a cut never ends higher. 4.00 raised by 10% is 4.40, rounded to .99 it is 4.99. 13.50 lowered by 10% is 12.15, rounded to .99 it is 11.99.
- Sale prices
- A row whose sale price would end at or above its regular price is skipped and left out of the file, and the page says how many there are. That happens when you lower only the regular price, raise only the sale price, or round both onto the same amount. WooCommerce would not show such a product as on sale.
- Empty prices
- An empty price stays empty. A product with no sale price gets none, and a product with no price gets none. A price of 0 stays 0.
- Prices like 12,50
- The tool reads prices with a decimal point or a decimal comma, as your shop's export writes them, and quoted values with commas inside. A price written with the other mark from the rest of the file, such as 1,234 in a file of prices like 12.50, is skipped and counted: it could mean 1234 or a little over 1, and the tool does not guess. The file to import writes every price with a decimal point, such as
12.50: WooCommerce's importer reads a point as the decimal mark in every shop, whatever the shop's own decimal separator. - Dollars, euros and other currencies
- The tool is made for prices with two decimals, in cents. The new prices always have two decimals, or none with the whole-amount rounding. It does not suit a shop whose currency has no decimals, such as the yen, or three.
- Matching the products
- The file names each row by its ID, exactly as your shop has it, so that the importer updates the same products. No column of the file is matched to the SKU: with ID and SKU both in a file, WooCommerce's importer writes the file's SKU onto the product, which fails for two products that share a SKU, and puts back a SKU that you changed since the export. In one case the importer takes an ID for another product: in a shop that still holds the marks of a product import that broke off half way. That is why the page hands out the check file first. If your export has no ID column, the file names each row by its SKU instead; a row without a SKU, or whose SKU stands on more than one row, is then left out and counted. We tried these files in the Import screen of WooCommerce 11.3.1 in a test shop, also after an import that we broke off on purpose. It has no Type, Parent or Name column, and no other column: the importer changes only the columns the file has, so names, stock, descriptions and everything else stay as they are. With Update existing products ticked, a row that matches no product is skipped, not created. The file's first column,
Guard (do not import), is matched to nothing, and with the box ticked WooCommerce does not read it. It holds the same value in every row: a SKU from your export, or the wordimport-guardwhere the export has no SKU fit for it. It is there for an import without the tick: WooCommerce's importer then looks the row's first value up as a SKU, finds that product, and skips the row. Without that column it would make a new product for every row, named "Import placeholder for" and the ID. Where the value is no SKU of your shop, it still makes one such product, for the first row. We tried that too. A file by SKU has no such column. - Rows that stay out of the file
- Rows that are skipped, rows with no price to change, and rows whose price stays the same after rounding. The preview shows each one, and why.
Questions
The page says the file isn't a product export
The tool looks for the column names of WooCommerce's own product export. An order export, a customer list or another plugin's file has other columns. Make the file again under Products → All Products → Export. If you opened the export in Excel and saved it again, save it as CSV UTF-8. The tool also reads files that a spreadsheet saved with semicolons or tabs between the values.
My shop has thousands of products
The file is read in the background, so the page stays usable while it works, and shows how far it has got. A change of percentage or rounding shows at once, with no second read. The preview shows the first rows only, and the file holds every row that changes. If your host refuses a large file at the import, or the import stops, WooCommerce's documentation advises splitting the file into smaller ones.
Can I raise only one category?
Yes: export only that category (step 3 above), and drop that file. The tool changes every row of the file it gets.
The import says products were skipped, or imported
For the check file, "1 product was skipped" is the right answer. For the file to import, the right answer is "products updated", with the number of rows in the file. With the box Update existing products ticked, a row is skipped only if its product was deleted after the export or, in a file by SKU, has another SKU now. See what to check when an import does not update products.
If it says that all the products were skipped, or that a product was imported, the box Update existing products was not ticked. It is empty at every import. Without it WooCommerce updates nothing: it takes each row for a new product. If it only skipped rows, nothing in the shop changed: import the file again, with the box ticked. If it says "imported", it made a new product that your customers can see, with the price from the file. Its name starts with "Import placeholder for"; where the file went by SKU it has no name of its own, and in our English test shop it was "Product". To remove it, go to Products → All Products, find it by that name, it is the newest product of the shop, and move it to the Trash. Then import the file again, with the box ticked.
The file's first column, Guard (do not import), is there so that the importer skips the rows when the box is forgotten, and makes no products. Do not rely on it: one new product can still appear, so read what the screen says.
Can I do it without a file?
For simple products, WooCommerce's own bulk edit raises prices by a percentage, a page of products at a time, without variations. Our guide to raising all prices by a percentage shows that way and its limits, and the spreadsheet formula for doing what this tool does by hand.
When you change prices often
This tool makes a file for one change. Each next change means a new export, a new file and a new import, and the import itself shows you no preview.
Stockrows is our own tool for that, and besides its browser editor it comes as a Google Sheet: a menu in the sheet pulls your products straight from the shop and pushes the prices you change back to it, with no file to export or import. You write the new prices in the sheet, see every change in a preview before it is sent, and each push is kept in a log, with the old values on an undo sheet to put back. See how it works, or read the guide to updating prices from Google Sheets.
The order page has the plans and how to order.
The free trial starts in your browser, with no sheet and no Google account: a page of this site reads your products from the shop, and you save the prices and stock you change straight back to it. The Google Sheet is the second way, with the same trial.
See a bulk price change work first, with nothing to install. One button opens a throwaway WooCommerce shop in your own browser, on our free plugin's Change prices page: raise a category's prices by a percentage, see every new price, save, and undo. It opens in about 20 seconds. No sign-up, no keys.
It opens in a new tab on WordPress Playground, WordPress.org's sandbox. For your own shop, the buttons below.