---
title: "Schedule WooCommerce Sale Prices with Start and End Dates from a Spreadsheet"
url: "https://wpimportexport.com/schedule-woocommerce-sale-prices-csv/"
description: "Write sale prices with start and end dates in a spreadsheet and import them into WooCommerce by SKU to schedule a sale for many products at once."
type: post
published: 2026-11-20T07:00:00+00:00
modified: 2026-11-14T10:46:04+00:00
categories: ["Import Guides", "Tutorials", "WooCommerce"]
tags: ["CSV import", "WooCommerce", "WordPress automation"]
docs_topics: ["Bulk updates and automation", "WooCommerce"]
---

# Schedule WooCommerce Sale Prices with Start and End Dates from a Spreadsheet

A sale such as Black Friday usually covers many products and has to start and stop at a set time. In WooCommerce you can schedule a sale price for each product in the product editor, but doing that for dozens of products takes a long time and is easy to get wrong. With [Import Export by RockStarLab](https://wordpress.org/plugins/import-export-by-rockstarlab/) you can write the sale prices and their dates in a spreadsheet and import them in one go. In the test, a sale for four products is scheduled, and we check the result in the product editor and on the shop page.

**PRO:** WooCommerce product import and export need Import Export PRO. **Free:** posts, pages, comments and media import and export.

## Short Answer

- Export **WooCommerce Products** with the columns SKU, Product Name, Regular Price and Sale Price.
- In the spreadsheet, fill in **Sale Price** and add two columns: **Sale Price Start Date** and **Sale Price End Date**. Write the end date with a time, for example `2026-11-30 23:59:59`.
- Import the file into **WooCommerce Products**, click **Auto Map**, and set **Check for Existing Items by Field** to **SKU** with **Update** for matches and **Skip** for new items.

## 1. Export the products and their prices

Go to **Export** and choose **WooCommerce Products**. On the filter step we added **Product Type** equals **simple** and **Status** equals **publish**, which matched 13 products. On the field step we chose SKU, Product Name, Regular Price and Sale Price and exported a CSV:

![Export WooCommerce Products field step with SKU, Product Name, Regular Price and Sale Price](https://wpimportexport.com/wp-content/uploads/2026/11/01-export-fields.webp)

_Export the SKU and the current prices._

The SKU is what the import uses to find each product again, so keep it as it is. The regular price is there so you can work out the discount; you don’t have to import it back.

## 2. Write the sale prices and dates

Keep the rows of the products that go on sale, fill in the sale price and add the two date columns. Our file had four products: the sunglasses were already on sale for the whole month, and three products got a Black Friday price from 27 to 30 November:

| SKU | Product Name | Sale Price | Sale Price Start Date | Sale Price End Date |
| --- | --- | --- | --- | --- |
| woo-sunglasses | Sunglasses | 72 | 2026-11-01 | 2026-11-30 23:59:59 |
| woo-hoodie-with-zipper | Hoodie with Zipper | 36 | 2026-11-27 | 2026-11-30 23:59:59 |
| woo-long-sleeve-tee | Long Sleeve Tee | 20 | 2026-11-27 | 2026-11-30 23:59:59 |
| woo-polo | Polo | 16 | 2026-11-27 | 2026-11-30 23:59:59 |

Write dates as `YYYY-MM-DD`. A date without a time means the start of that day, which is what you want for the start date. For the end date, add the time `23:59:59` so the sale runs through the last day. The dates use the time zone set in **Settings > General**.

## 3. Import the sale prices

Go to **Import**, choose **WooCommerce Products**, upload the CSV and click **Auto Map**. The four columns were mapped to `sku`, `sale_price`, `date_on_sale_from` and `date_on_sale_to`. Auto Map also mapped Product Name to the product title; we removed that row with the **×** button, so the titles were not touched:

![Import mapping: SKU to sku, Sale Price to sale_price, Sale Price Start Date to date_on_sale_from, Sale Price End Date to date_on_sale_to](https://wpimportexport.com/wp-content/uploads/2026/11/02-mapping-3-scaled.webp)

_Auto Map recognizes the sale date columns._

On the options step, set **Check for Existing Items by Field** to **SKU**, **If Match Found** to **Update** and **If No Match Found** to **Skip**. With Skip, a typo in a SKU doesn’t create an empty new product:

![Import options: check existing items by SKU, update matches, skip items without a match](https://wpimportexport.com/wp-content/uploads/2026/11/03-options-1.webp)

_Match products by SKU and skip unknown SKUs._

The import updated all four products in one second:

![Import Completed Successfully: 4 updated, 0 created, 0 failed](https://wpimportexport.com/wp-content/uploads/2026/11/04-result-3.webp)

_All four products were updated._

## 4. Check the result

Open one of the Black Friday products in the editor. The **Sale price** and the **Sale price dates** fields show the imported values, the same as if you had used the **Schedule** link by hand:

![WooCommerce product editor with regular price 45, sale price 36 and sale price dates 2026-11-27 to 2026-11-30](https://wpimportexport.com/wp-content/uploads/2026/11/05-editor-schedule.webp)

_The product editor shows the imported schedule._

The three Black Friday products kept their regular price on the shop page, because their sale starts later. WooCommerce switches the price to the sale price when the start date comes and back to the regular price after the end date, with its own scheduled task. The sunglasses, whose sale had already started, showed the sale price right after the import:

![Product page of Sunglasses showing $72.00 with the regular price $90.00 crossed out](https://wpimportexport.com/wp-content/uploads/2026/11/06-front-sale-price.webp)

_A sale that has already started shows right away._

One thing to know: a product that is on sale now stops showing the sale price if you import a start date in the future. In our test the Cap was on sale for $16; after we imported a sale for December, it showed the regular $18 until then.

## Before you import

The import changes the prices customers see. Check the SKUs and dates, and [back up the site](https://wpimportexport.com/how-to-create-a-wordpress-website-backup-and-restore-it/) before you update many products. Leave out the columns you don’t want to change, such as the regular price or the title. To end a sale early, import a new end date; to remove the schedule, edit the product and click **Cancel** under the sale dates.

## With an AI agent

An AI agent connected through the WordPress MCP Adapter (see [connecting Claude Code to WordPress](https://wpimportexport.com/connect-claude-code-to-wordpress-mcp/)) can run the same import:

```
Put the Cap (SKU woo-cap) on sale for $14 from 1 to 7 December.
```

In our run, the agent wrote a one-row CSV and uploaded it with `rsl-ie/upload-create`, `rsl-ie/upload-chunk` and `rsl-ie/upload-complete`. It then called `rsl-ie-pro/import-prepare` and `rsl-ie-pro/import-start` for `woo_product`, with the columns mapped to `sku`, `sale_price`, `date_on_sale_from` and `date_on_sale_to`, the unique field `sku`, **update** for matches and **skip** for new items. `rsl-ie/job-get` reported the job as completed with 1 product updated. The Cap had the sale price 14 with the dates 2026-12-01 00:00:00 to 2026-12-07 23:59:59 and kept its regular price of 18 until the sale starts.

## FAQ

### Which date format should I use?

`YYYY-MM-DD`, optionally with a time: `2026-11-30 23:59:59`. Add the time to the end date so the last day is included.

### When does the sale price appear on the shop?

If the start date has already passed, right after the import. If it is in the future, WooCommerce switches the price when the start date comes.

### Will the import change anything else?

Only the mapped columns are changed. In our test the product titles and regular prices stayed the same.

## Related Guides

- [How to Update WooCommerce Prices and Stock by SKU Using CSV](https://wpimportexport.com/how-to-update-woocommerce-prices-stock-by-sku-csv/)
- [How to Bulk Update WooCommerce Products](https://wpimportexport.com/how-to-bulk-update-woocommerce-products/)
- [How to Import WooCommerce Products from CSV or Excel](https://wpimportexport.com/how-to-import-woocommerce-products-from-csv-or-excel/)

Get the free plugin on [WordPress.org](https://wordpress.org/plugins/import-export-by-rockstarlab/).
