=== YITH Pre-Order for WooCommerce ===

Contributors: yithemes
Tags: yith, pre-order, preorder, pre order, woocommerce
Requires at least: 6.7
Tested up to: 6.9
Stable tag: 3.12.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Let your customers buy products before they are released and generate cash flow in advance to cover costs.

== Description ==

With YITH Pre-Order for WooCommerce you can enable a pre-sales system in your shop, increase your customers' interest in soon-to-be-released products and get cash flow in advance to cover the costs of production/promotion.

== How does it work? ==

With this free plugin, you can easily manage the pre-sale of your products and create a marketing strategy similar to that used by large e-commerce stores such as Amazon, Apple, Nike, and Nintendo. You’ll be able to change the "Add to cart" button label to "Pre-order", set a release date for your products, and send an email notification to your customers when the products they pre-ordered become available in your store.

**Do you want to offer an incentive to push customers to pre-order products?** The winning strategy is to offer a special discount on the price of your products only to those who pre-order them (e.g. "Get $50 off only if you pre-order the new smartphone now!").

= Free version options =

* Select in which products to enable the pre-order mode
* Disable pre-order mode manually or automatically if you select a release/availability date (and time)
* Customize the label and colors of the "Add to cart" button in the "Frequently Bought Together" section
* Set a fixed price for products in pre-order mode (e.g. $100 when pre-order mode is enabled, $120 when it is disabled)
* Apply a discount (or the opposite, increase the product price) when customers purchase a pre-order product
* Charge the product price the moment the customer places the pre-order
* Receive an email as admin when a customer pre-orders a product
* Send an email to customers when they pre-order a product

Want to see the plugin in action? Check out the [live demo >](https://plugins.yithemes.com/yith-woocommerce-pre-order-free/)


= Need more options? Go for the premium version! =

With the premium version, you can unlock advanced features and build an even more effective pre-sale strategy in your shop.
**With the premium version, you can:**

* Enable pre-order mode automatically on all unavailable/out-of-stock products
* Hide pre-order prices from unregistered users
* Allow only specific users or user roles to pre-order products
* Charge an extra fee for each pre-order (e.g. add a $5 fee to all orders that contain a pre-order product)
* Offer free shipping for products purchased in pre-order mode
* Allow customers to manually pay for the products when they become available in your shop (through the "Pay Later" option at checkout)
* Charge the product price automatically to your customers' credit cards upon release (only available if you use a supported payment gateway)
* Receive extra notifications as admin (when pre-order mode is enabled in an unavailable product, when a product release date is approaching, etc.)
* Send extra notifications to customers (when the product release date is changed, to remind them about the pending payment, etc.)
* Get regular plugin updates and access to the technical support area
... and more!

Try out the premium version [live demo >](https://plugins.yithemes.com/yith-woocommerce-pre-order/)

== Installation ==

**Important**: firstly, you have to download and activate the [WooCommerce](https://wordpress.org/plugins/woocommerce) plugin, which is mandatory for YITH Pre-Order for WooCommerce to be working.
If the WooCommerce plugin is active, you will just need to activate the plugin YITH Pre-Order for WooCommerce.

= Configuration =

YITH Pre-Order for WooCommerce will add a new tab called "Pre-Order" inside the YITH Plugins menu item. There you are able to configure all the plugin
settings.

1. Unzip the downloaded zip file.
2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
3. Activate `YITH Pre-Order for WooCommerce` from Plugins page.


== Frequently Asked Questions ==

= Is this plugin capable of capturing the order only when the product becomes available or does it charge the payment right away? =

In Pre-Order, the payments must be charged at the very moment the order is placed.

= I set a product with no stock as Pre-Order. Why can't it be purchased? =

You have to set a stock quantity for the product. That stock should be a quantity that you know you'll have at your disposal.

= Can I customize the "Add to cart" button text for Pre-Order products, in order to make my customers see the actual product status? =

Yes! In the plugin options you can enter your own text for the button.

= If I set a variable product as Pre-Order, will all variations be set as Pre-Order as well? =

No, you can choose which variations setting as Pre-Order separately.

= How can I report security bugs? =
You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. [Report a security vulnerability.](https://patchstack.com/database/vdp/yith-pre-order-for-woocommerce)


== Screenshots ==

1. General options.
2. Customization options.
3. Pre-order options on edit product page.
4. Product on pre-order and discount.
5. Shop page.
6. Pre-orders in My Account.
7. Pre-order details with availability date.
8. Pre-order confirmation email.


== Changelog ==
= 3.12.0 - Released on 02 December 2025 =

* New: support for WordPress 6.9
* New: support for WooCommerce 10.4
* Update: YITH plugin framework
* Update: compatibility for WooCommerce Email Preview

= 3.11.1 - Released on 29 October 2025 =

* Fix: fatal error on email sending

= 3.11.0 - Released on 23 October 2025 =

* New: support for WooCommerce 10.3
* Update: YITH plugin framework

= 3.10.0 - Released on 11 September 2025 =

* New: support for WooCommerce 10.2

= 3.9.0 - Released on 27 August 2025 =

* New: support for WooCommerce 10.1

= 3.8.0 - Released on 22 July 2025 =

* New: support for WooCommerce 10.0
* Update: YITH plugin framework

= 3.7.0 - Released on 17 June 2025 =

* New: support for WooCommerce 9.9

= 3.6.0 - Released on 15 April 2025 =

* New: support for WordPress 6.8
* Update: YITH plugin framework

= 3.5.0 - Released on 25 March 2025 =

* New: support for WooCommerce 9.8

= 3.4.0 - Released on 17 February 2025 =

* New: support for WooCommerce 9.7

= 3.3.0 - Released on 23 January 2025 =

* New: support for WooCommerce 9.6
* Update: YITH plugin framework

= 3.2.0 - Released on 17 December 2024 =

* New: support for WooCommerce 9.5
* Update: YITH plugin framework

= 3.1.0 - Released on 07 November 2024 =

* New: support for WordPress 6.7
* New: support for WooCommerce 9.4
* Update: YITH plugin framework
* Fix: pre-order confirmed and new pre-order emails were not being sent

= 3.0.0 - Released on 21 October 2024 =

* New: support for WooCommerce 9.3
* New: Plugin panel restyling
* Update: YITH plugin framework
* Tweak: Improved backend performance

= 2.27.0 - Released on 22 August 2024 =

* New: support for WooCommerce 9.2

= 2.26.0 - Released on 30 July 2024 =

* New: support for WordPress 6.6
* New: support for WooCommerce 9.1
* Update: YITH plugin framework

= 2.25.0 - Released on 27 June 2024 =

* New: support for WooCommerce 9.0
* Update: YITH plugin framework

= 2.24.0 - Released on 27 May 2024 =

* New: support for WooCommerce 8.9
* Update: YITH plugin framework
* Update: datetimepicker restyle

= 2.23.0 - Released on 19 April 2024 =

* New: support for WooCommerce 8.8
* Update: YITH plugin framework

= 2.22.0 - Released on 27 March 2024 =

* New: support for WordPress 6.5
* New: support for WooCommerce 8.7
* Update: YITH plugin framework

= 2.21.0 - Released on 27 February 2024 =

* New: support for WooCommerce 8.6
* Update: YITH plugin framework
* Fix: improved performance on frontend pages

= 2.20.0 - Released on 16 January 2024 =

* New: support for WooCommerce 8.5
* Update: YITH plugin framework

= 2.19.0 - Released on 28 December 2023 =

* New: support for WooCommerce 8.4
* Update: YITH plugin framework
* Fix: when Variations tab is initialised, every variation was marked with class "variation-needs-update"

= 2.18.0 - Released on 28 November 2023 =

* New: support for WordPress 6.4
* New: support for WooCommerce 8.3
* Update: YITH plugin framework

= 2.17.0 - Released on 26 October 2023 =

* New: support for WooCommerce 8.2
* Update: YITH plugin framework

= 2.16.0 - Released on 07 September 2023 =

* New: support for WooCommerce 8.1
* Update: YITH plugin framework

= 2.15.0 - Released on 22 August 2023 =

* New: support for WordPress 6.3
* New: support for WooCommerce 8.0
* Update: YITH plugin framework

= 2.14.0 - Released on 10 July 2023 =

* New: support for WooCommerce 7.9
* Update: YITH plugin framework

= 2.13.0 - Released on 22 June 2023 =

* New: support for WooCommerce 7.8
* Update: YITH plugin framework

= 2.12.0 - Released on 11 May 2023 =

* New: support for WooCommerce 7.7
* Update: YITH plugin framework

= 2.11.0 - Released on 18 April 2023 =

* New: support for WooCommerce 7.6
* New: support for PHP 8.1
* Update: YITH plugin framework

= 2.10.0 - Released on 21 March 2023 =

* New: support for WooCommerce 7.5
* New: support for WordPress 6.2
* Update: YITH plugin framework

= 2.9.0 - Released on 10 February 2023 =

* New: support for WooCommerce 7.4
* Update: YITH plugin framework
* Fix: crossed-out discounted price
* Dev: new filter "ywpo_price_decimals"

= 2.8.0 - Released on 05 January 2023 =

* New: support for WooCommerce 7.3
* Update: YITH plugin framework

= 2.7.0 - Released on 15 December 2022 =

* New: support for WooCommerce 7.2
* Update: YITH plugin framework
* Fix: avoid automatic pre-order products to be displayed as on Sale if there isn't a pre-order price set

= 2.6.0 - Released on 15 November 2022 =

* New: support for WordPress 6.1
* New: support for WooCommerce 7.1
* Update: YITH plugin framework
* Fix: patched security vulnerability

= 2.5.0 - Released on 04 October 2022 =

* New: support for WooCommerce 7.0
* Update: YITH plugin framework
* Fix: the pre-order item meta was not being created on translated products (WPML)

= 2.4.0 - Released on 13 September 2022 =

* New: support for WooCommerce 6.9
* Update: YITH plugin framework

= 2.3.0 - Released on 11 August 2022 =

* New: support for WooCommerce 6.8
* Update: YITH plugin framework
* Fix: wrong date format
* Dev: added "ywpo_wpml_enable_default_lang_sync"

= 2.2.0 - Released on 07 July 2022 =

* New: support for WooCommerce 6.7
* Update: YITH plugin framework
* Fix: Fatal error when refunding an order that contains a pre-order item

= 2.1.0 - Released on 09 June 2022 =

* New: support for WordPress 6.0
* New: support for WooCommerce 6.6
* Update: YITH plugin framework
* Fix: rounding price
* Fix: availability date display issues

= 2.0.0 - Released on 12 May 2022 =

* New: support for WooCommerce 6.5
* New: "Confirmed pre-order" email for customers
* New: "New pre-order" email for admin
* New: option to set availability date on pre-order products
* New: modify pre-order products' prices
* New: disable pre-order mode when the product becomes available
* New: option to hide the regular price or show it as strikethrough (if the pre-order price is in use)
* New: TinyMCE editor for availability date label
* New: show availability text in the Shop pages
* Update: YITH plugin framework
* Update: language files

= 1.12.0 - Released on 07 April 2022 =

* New: support for WooCommerce 6.4
* Update: YITH plugin framework

= 1.11.0 - Released on 03 March 2022 =

* New: support for WooCommerce 6.3
* Update: YITH plugin framework

= 1.10.0 - Released on 09 February 2022 =

* New: support for WooCommerce 6.2
* Update: YITH plugin framework

= 1.9.0 - Released on 27 January 2022 =

* New: support for WordPress 5.9
* Update: YITH plugin framework

= 1.8.0 - Released on 27 December 2021 =

* New: support for WooCommerce 6.1
* Update: YITH plugin framework

= 1.7.0 - Released on 14 December 2021 =

* New: support for WooCommerce 6.0
* Update: YITH plugin framework

= 1.6.0 - Released on 3 November 2021 =

* New: support for WooCommerce 5.9
* Update: YITH plugin framework

= 1.5.0 - Released on 20 October 2021 =

* New: support for WooCommerce 5.8
* Update: YITH plugin framework

= 1.4.1 - Released on 27 September 2021 =

* Update: YITH plugin framework
* Fix: debug info feature removed for all logged in users

= 1.4.0 - Released on 16 September 2021 =

* New: support for WooCommerce 5.7
* Update: YITH plugin framework

= 1.3.6 - Released on 24 August 2021 =

* New: support for WooCommerce 5.6
* Update: YITH plugin framework

= 1.3.5 - Released on 13 July 2021 =

* New: support for WordPress 5.8
* New: support for WooCommerce 5.5
* Update: YITH plugin framework

= 1.3.4 - Released on 10 June 2021 =

* New: support for WooCommerce 5.4
* Update: YITH plugin framework
* Fix: Fix: download links for variations weren't being hidden.

= 1.3.3 - Released on 14 May 2021 =

* New: support for WooCommerce 5.3
* Update: YITH plugin framework

= 1.3.2 - Released on 20 April 2021 =

* New: support for WooCommerce 5.2
* Update: YITH plugin framework

= 1.3.1 - Released on 12 March 2021 =

* New: support for WordPress 5.7
* New: support for WooCommerce 5.1
* Update: YITH plugin framework
* Fix: endpoint fix for YITH WooCommerce Customize My Account Page

= 1.3.0 - Released on 09 February 2021 =

* New: support for WooCommerce 5.0
* Update: YITH plugin framework
* Fix: My Pre-Orders responsive table

= 1.2.15 - Released on 21 January 2021 =

* Update: Plugin framework

= 1.2.14 - Released on 15 January 2021 =

* New: Support for WooCommerce 4.9
* Update: Plugin framework
* Dev: new action "yith_ywpo_clear_pre_order_product"

= 1.2.13 - Released on 07 December 2020 =

* New: Support for WordPress 5.6
* New: Support for WooCommerce 4.8
* Update: Plugin framework

= 1.2.12 - Released on 05 November 2020 =

* New: Support to WooCommerce 4.7
* Update: Plugin Core

= 1.2.11 - Released on 15 October 2020 =

* New: Support to WooCommerce 4.6
* Update: Plugin Core

= 1.2.10 - Released on 17 September 2020 =

* New: Support to WooCommerce 4.5
* New: Support for WordPress 5.5
* Update: Plugin Core

= 1.2.9 - Released on 21 May 2020 =

* New: Support to WooCommerce 4.2

= 1.2.8 - Released on 15 May 2020 =

* New: Support to WooCommerce 4.1
* Update: Plugin Core
* Dev: Added new filter "yith_ywpo_pre_order_product_label"
* Dev: Added new filter "yith_ywpo_pre_order_product_label_single_order_page"

= 1.2.7 - Released on 11 March 2020 =

* New: Support to WooCommerce 4.0
* New: Support for WordPress 5.4
* Update: Plugin Core

= 1.2.6 - Released on 02 January 2020 =

* New: Support to WooCommerce 3.9
* Update: Plugin Core

= 1.2.5 - Released on 12 December 2019 =

* Update: Plugin framework

= 1.2.4 - Released on 29 November 2019 =

* Update: Notice handler
* Update: Plugin framework

= 1.2.3 - Released on 29 November 2019 =

* Update: Plugin framework

= 1.2.2 - Released on 11 November 2019 =

* Update: Plugin framework

= 1.2.1 - Released on 30 October 2019 =

* New: Support for WordPress 5.3
* New: Support for WooCommerce 3.8
* Update: Plugin framework

= 1.2.0 - Released on 10 October 2019 =

* New: Support to WooCommerce 3.7
* Update: Plugin Core
* Update: Language files

= 1.1.9 - Released on 19 June 2019 =

* New: Support to WordPress 5.2.2
* Update: Language file
* Update: Plugin core
* Fix: text domain issue

= 1.1.8 - Released on 23 April 2019 =

* New: Support to WooCommerce 3.6.0
* Update: Language file
* Update: Plugin core

= 1.1.7 - Released on 19 February 2019 =

* Update: Language file
* Update: Plugin core

= 1.1.6 - Released on 31 December 2018 =

* New: Support to WordPress 5.0.2
* New: Support to WooCommerce 3.5.3
* Update: Language file
* Update: Plugin core

= 1.1.5 - Released on 23 October 2018 =

* New: Support to WooCommerce 3.5.0
* Update: Plugin Core
* Fix: WPML compatibility on Cart
* Fix: download links on complete orders

= 1.1.4 - Released on 31 January 2018 =

* New: Support to WC 3.3.0
* Update: Plugin core

= 1.1.3 - Released on 13 October 2017 =

* New: Support to WooCommerce 3.2.0
* Update: plugin-fw
* Fix: Now delete_post_meta() is called instead of yit_delete_prop() in clear_pre_order_product() method
* Dev: Download links features refactorized in one new class YITH_Pre_Order_Download_Links

= 1.1.2 - Released on 13 June 2017 =

* New: Added "Pre-Order product" text in Cart page
* Update: plugin-fw and .pot file
* Fix: Missing check for Pre-Order items when cart was cancelled

= 1.1.1 - Released on 24 April 2017 =

* New: Added Order notes notifying Pre-Order items which have been ordered
* Update: YITH Plugin Framework
* Fix: Fatal error due to huge amount of post meta

= 1.1.0 - Released on 14 March 2017 =

* New:  Support to WooCommerce 2.7.0-RC1
* Update: YITH Plugin Framework

= 1.0.3 - Released on 18 January 2017 =

* Fix: download link for Pre-Order product visible before sale date

= 1.0.2 - Released on 16 December 2016 =

* Updated: Plugin-fw files

= 1.0.1 - Released on 13 December 2016 =

* Bug fixes

= 1.0.0 - Released on 28 November 2016 =

* First release
