Tedasuke Food Tax Rate Scheduler for WooCommerce

Description

WooCommerce’s tax rate table has no date field. To change the rate of a tax class on a given day, someone has to edit the table at that moment, and edit it again when the period ends. This plugin does both at the times you set. It works with WooCommerce 9.0 or later.

It was made for Japanese stores that sell food. A bill that sets the consumption tax on food to 1% from April 1, 2027 to March 31, 2029 (Cabinet bill No. 1 of the 222nd Diet session) passed the House of Representatives on November 6, 2026 and is being discussed in the House of Councillors. As of November 29, 2026, it has not yet been enacted. The default settings follow this bill. The rate and the dates can be changed in the settings, so the plugin can still be used if the bill is amended.

How it works

  • When you save the settings, the plugin creates a dedicated tax class, “Tedasuke Food Tax Rate Scheduler (do not assign to products)”, and copies every row of the selected tax class into it with the new rate and the tax name you choose. Country, state, postcodes, cities, priority, compound and shipping are the same as in the original rows. When rows of the selected class are added, changed or removed, the copies are updated to match.
  • From the start time until the end time, WooCommerce uses the copied rows for all products in the selected class. Orders placed during the period record the ID, name and rate of the copied row, so the rate on the order matches the tax amount.
  • The switch takes effect at the exact time, without waiting for WP-Cron. From the end time, the original rows are used again. The original rows are never changed.
  • When you press “Recalculate” on an order that was placed earlier, the rate in effect when the order was created is used. An order from March that is recalculated in April keeps the 8% rate.
  • The switch works in the classic checkout, in the cart and checkout blocks, and for orders created in the admin. The plugin declares compatibility with High-Performance Order Storage (HPOS) and with the cart and checkout blocks.

Settings

Under WooCommerce > Food Tax Rate Scheduler:

  • Tax class to switch. By default, the “Reduced rate” class is selected. If WooCommerce was installed in Japanese, the class is named 「軽減税」 and is selected as well.
  • New rate. Default: 1%.
  • Tax name during the period, shown in the cart, on orders and in emails. Empty by default, which keeps the names of the rows. A name with the rate in it, such as 「消費税(軽減 1%)」, shows on each order that the new rate was used.
  • Start and end. Default: 2027-04-01 00:00 and 2029-04-01 00:00, interpreted in the site’s time zone. The regular rates apply again from the end time, so a period that ends on March 31 ends at 00:00 on April 1. If the time zone is neither Tokyo nor UTC+9, the screen shows a warning.

Nothing changes until you save the settings.

Stores that enter prices including tax

If “Prices entered with tax” is set to “Yes” in WooCommerce > Settings > Tax, the prices customers pay do not change when the rate is switched. Only the tax included in them changes. A product entered at 1,080 yen still costs 1,080 yen at 1%, and its tax goes from 80 yen to 11 yen.

The difference of 69 yen stays with the store, and for customers the rate goes down but the price does not. To lower the prices, you have to change the prices of the products in that class yourself at the start time, including variations and sale prices, and change them back at the end time. This plugin does not change prices. On such stores, the settings screen shows this note.

If prices are entered excluding tax, the prices including tax follow the new rate. A product entered at 1,000 yen costs 1,080 yen at 8% and 1,010 yen at 1%.

Please check

  • All products in the selected class get the new rate. If the class also holds products that should keep the regular rate, create another class with the regular rate rows and move them there.
  • The dedicated tax class appears in the tax class menu of products, but do not assign it to products. If a product has it, the settings screen lists the product. The plugin taxes it like the selected class, but if the plugin is deactivated, that product is taxed at the new rate at all times, even outside the period.
  • If the site uses a page cache, clear the cache right after the start time and right after the end time.
  • As a rule, the tax rate depends on the date the goods are delivered, not on the date of the order. WooCommerce calculates tax when an order is placed, and this plugin does not change orders that have already been placed.
  • Start of the period: an order received in March 2027 is calculated at 8% by this plugin, even if it is delivered in April. Among orders received in March and delivered from April 1, only those covered by the transitional measure for mail-order sales are taxed at 8%. The others are taxed at the new rate as a rule. Under the bill, the measure covers orders whose terms of sale were shown before January 1, 2027 and that were received before April 1, 2027. See the guidance of the National Tax Agency for the conditions.
  • End of the period: as of November 29, 2026, the bill has no transitional measure for mail-order sales received before April 1, 2029 and delivered after it. An order received in March 2029 and delivered in April 2029 is taxed at 8% as a rule, but this plugin calculates it at the new rate, because it is placed during the period.
  • The plugin only does what you set. Which rate applies, from when, and how prices are shown are for the store to decide. If you are unsure, ask a tax accountant.

What this plugin does not do

  • It does not change product prices.
  • It does not change orders that have already been placed.
  • It does not add any notice about the rate change to the pages of the shop.

The plugin adds no script or stylesheet to the pages your visitors see, and it does not contact any external server.

If you deactivate or delete the plugin

  • If you deactivate it, the regular rates apply again at once, even during the period.
  • If you delete it, its settings are removed. The dedicated tax class and its rows are kept, because orders placed during the period refer to them. To remove the class after the period, open WooCommerce > Settings > Tax, remove it from the list of additional tax classes and save. Its rows are removed with it, and orders keep the tax name and rate they were placed with.

What has been tested

On local test sites (WordPress Playground, and WordPress with MariaDB): WordPress 6.5 with PHP 7.4 and WooCommerce 9.0.2, and WordPress 7.1 with WooCommerce 11.3.1 on PHP 8.3 and on PHP 8.5.

What has not been tested

  • Shared hosting.
  • Multisite and MySQL (MariaDB was tested).
  • How plugins for invoices and emails show the tax name.
  • Subscription renewals (WooCommerce Subscriptions).
  • Other plugins that change taxes or prices.

This plugin is not affiliated with or endorsed by WooCommerce or Automattic.

日本語での説明

WooCommerce の税率の表には日付の欄がありません。決まった日時に税区分の税率を変えるには、その時刻に誰かが表を書き換え、期間が終わったらまた書き換える必要があります。このプラグインは、その2つを、設定した時刻に行います。WooCommerce 9.0以降で使えます。

食料品を売っている日本の店のために作りました。飲食料品の消費税率を2027年4月1日から2029年3月31日まで1%にする法案(第222回国会 内閣提出 第1号)は、2026年11月6日に衆議院を通過し、参議院で審議されています。2026年11月29日の時点では、まだ成立していません。初期値はこの法案に合わせてあります。税率と日時は設定で変えられるので、法案が修正されても使えます。

しくみ

  • 設定を保存すると、専用の税区分を作り、選んだ税区分の行をすべて、新しい税率と、決めた税の名前で写します。区分の名前は「Tedasuke Food Tax Rate Scheduler (do not assign to products)」です。このプラグインの日本語訳が入っているサイトで保存したときは、「Tedasuke Food Tax Rate Scheduler 用 (商品には設定しないでください)」になります。
  • 写した行の国、都道府県、郵便番号、市区町村、優先度、複合、送料の設定は、元の行と同じです。選んだ税区分の行を足したり、変えたり、消したりすると、写しも作り直します。
  • 始まりの時刻から終わりの時刻の前まで、選んだ税区分のすべての商品に、写した行の税率がかかります。期間中に受けた注文には、写した行の ID・名前・税率が残るので、注文に出る税率と税額が食い違いません。
  • 予約の処理(WP-Cron)を待たずに、時刻ちょうどに切り替わります。終わりの時刻からは、元の行に戻ります。元の行は書き換えません。
  • 受けた注文で「再計算」を押したときは、注文を作った日時の税率で計算します。3月の注文を4月に再計算しても8%のままです。
  • 従来型の決済ページ、カート・決済のブロック、管理画面で作る注文のどれでも切り替わります。WooCommerce の HPOS(注文を専用の表に保存する仕組み)と、カート・決済のブロックに対応しています。

設定

「WooCommerce」「食料品の税率切り替えの予約」で設定します。

  • 切り替える税区分: 初期値は「軽減税」(英語で WooCommerce を入れたサイトでは Reduced rate)です。
  • 新しい税率: 初期値は1%です。
  • 期間中の税の名前: カート、注文、メールに出る名前です。初期値は空で、空のときは今の行の名前のままです。「消費税(軽減 1%)」のように税率を入れておくと、注文を見たときに、新しい税率で計算された注文だと分かります。
  • 始まりと終わり: 初期値は2027-04-01 00:00と2029-04-01 00:00で、サイトのタイムゾーンで解釈します。終わりの時刻から元の税率に戻るので、3月31日までの期間なら、4月1日の00:00を終わりにします。タイムゾーンが東京でも UTC+9 でもないときは、画面に注意が出ます。

設定を保存するまでは、何も変わりません。

値段を税込で入力している店

「WooCommerce」「設定」「税」の「税込価格」が「はい」になっている店では、税率を切り替えても、お客さんが払う値段は変わりません。変わるのは値段に含まれる税額だけです。1,080円で入力した商品は、1%になっても1,080円のままで、税額が80円から11円に変わります。

差額の69円は店の取り分になり、お客さんから見ると、税率が下がったのに値段は下がりません。値段を下げるには、その税区分の商品の値段を、バリエーションとセール価格も含めて、始まりの時刻に合わせて自分で付け替え、終わりの時刻にまた戻す必要があります。このプラグインは値段を変えません。こうした店では、設定の画面にもこのことが出ます。

税抜で入力している店では、税込の値段は新しい税率に合わせて変わります。1,000円で入力した商品は、8%のときは1,080円、1%になると1,010円です。

確かめてほしいこと

  • 選んだ税区分の商品は、すべて新しい税率になります。元の税率のままにしたい商品が同じ税区分に入っているときは、元の税率の行を持つ税区分を別に作り、そこへ移してください。
  • 専用の税区分は商品の税区分の選択肢にも出ますが、商品には設定しないでください。設定されている商品があると、設定の画面に商品の名前が出ます。そうした商品にも選んだ税区分と同じ税率がかかりますが、このプラグインを無効化すると、期間に関係なく、ずっと新しい税率がかかります。
  • ページのキャッシュを使っているサイトでは、始まりの時刻と終わりの時刻の直後に、キャッシュを消してください。
  • 税率は、原則として、注文の日ではなく商品を引き渡した日で決まります。WooCommerce は注文を受けたときに税を計算し、このプラグインは受けた注文を変えません。
  • 期間の始まりの側: 2027年3月中に受けた注文は、4月に届けるものでも、このプラグインでは8%で計算されます。3月に受けて4月以降に届ける注文のうち、8%になるのは、通信販売の経過措置の条件を満たす注文だけで、それ以外は原則として新しい税率になります。法案では、2027年1月1日より前に販売の条件を示し、2027年4月1日より前に申込みを受けたものが対象です。条件は国税庁の案内で確かめてください。
  • 期間の終わりの側: 2026年11月29日の時点の法案には、2029年4月1日をまたぐ通信販売の注文の経過措置がありません。2029年3月中に受けて4月以降に届ける注文は、原則として8%になりますが、期間中に受けた注文なので、このプラグインは新しい税率で計算します。
  • このプラグインは、設定したとおりに動くだけです。どの税率を、いつから当てはめるか、値段をどう表示するかは、店で決めてください。迷ったときは税理士に相談してください。

しないこと

  • 商品の値段は変えません。
  • 受けた注文は変えません。
  • 店のページに、税率が変わることの案内などは足しません。

訪問者が見るページに、スクリプトもスタイルシートも足しません。外部との通信もありません。

無効化・削除したとき

  • 無効化すると、期間中でもすぐに元の税率に戻ります。
  • 削除すると、設定は消えます。専用の税区分とその行は残ります(期間中に受けた注文が、その行を指しているため)。期間が終わったあとで区分を消すには、「WooCommerce」「設定」「税」で、追加の税区分の一覧から専用の税区分を消して保存します。税率の行も一緒に消え、注文には、受けたときの税の名前と税率が残ります。

確かめたこと

手元の試験環境(WordPress Playground と、MariaDB を使う WordPress)で、WordPress 6.5・PHP 7.4・WooCommerce 9.0.2 と、WordPress 7.1・PHP 8.3と8.5・WooCommerce 11.3.1 の組み合わせを確かめました。

確かめていないこと

  • レンタルサーバーでの動作。
  • マルチサイト、MySQL(試したのは MariaDB です)。
  • 請求書やメールのプラグインで、税の名前がどう出るか。
  • 定期購入(WooCommerce Subscriptions)の更新の注文。
  • 税や値段を変えるほかのプラグインとの組み合わせ。

このプラグインは、WooCommerce と Automattic とは関係がなく、公認も受けていません。

Installation

  1. Install and activate WooCommerce (9.0 or later).
  2. Install and activate this plugin.
  3. Open WooCommerce > Food Tax Rate Scheduler, check the settings and click “Save settings”.

FAQ

Can I change the rate and the dates?

Yes. The rate, the tax name, the start and the end can be changed in the settings. If the bill is amended or other dates are decided, change them and save again. The copied rows are updated when you save.

Does it change my product prices?

No. If you enter prices including tax, the prices stay the same and only the tax included in them changes. See “Stores that enter prices including tax” above.

What happens to orders placed before the start time?

They keep the rate they were placed with, even when they are recalculated after the start time.

What is removed when I delete the plugin?

The settings. The dedicated tax class and its rows are kept, because orders placed during the period refer to them.

Does it send anything to an outside server?

No.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Tedasuke Food Tax Rate Scheduler for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • First release.