Back to blog
5 min read Import Guides

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 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
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
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
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
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
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
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 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) 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.

Get the free plugin on WordPress.org.

Dmitriy
About author

Dmitriy

WordPress Developer with 15+ years of commercial experience. Elite Author on ThemeForest and creator of custom WordPress plugins. Passionate about clean code, performance optimization, and building useful tools for the WordPress community.

JOIN THE CONVERSATION

Comments 0

Have a question or a tip to share? Leave it below.

Leave a comment

Your email address will not be published. Required fields are marked *

We store your name, email and comment to show and moderate it; your email is never published. Spam protection is provided by Cloudflare Turnstile and profile pictures by Gravatar. See our Privacy Policy.


Try the plugin with no risks!

New users get 1 month with access to all premium features. Experience the most powerful WordPress data engine today.

Download Now
Get PRO for FREE