=== Simple PreOrder + Delivery Times === Contributors: nas9286 Tags: woocommerce, preorder, delivery, date, time Requires at least: 5.0 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 1.1.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.txt Donate link: https://petruthit.com/ Lightweight WooCommerce extension to mark products as pre-order, set pre-order delivery datetime and estimated delivery datetime. == Description == Simple Pre-Order + Delivery Times for WooCommerce: * Mark products as Pre-Order * Set a Pre-Order Delivery Date & Time (datetime-local field) * Set an Estimated Delivery Date & Time for normal products * Show badges in the shop loop * Show a notice on single product pages * Add delivery information to cart items and order emails == Installation == 1. Upload the `simple-pre-order-delivery-times` folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' screen in WordPress. 3. Edit a product (Product data → General) and use the new fields: * Pre-Order Product (checkbox) * Pre-Order Delivery Date & Time (datetime-local) * Estimated Delivery Date & Time (datetime-local) 4. Save product. Visit shop/product to see badges and notices. Place a test order to see delivery info in the emails. == Screenshots == 1. Pre-Order badge displayed in the shop loop with Pre-Order and Delivery notices. 2. Pre-Order and Estimated Delivery times editable via quick edit in admin dashboard. 3. Pre-Order and Estimated Delivery times editable via product edit screen under main product meta. 4. Pre-Order notice displayed on the single product page. 5. Delivery information shown in the cart. == Frequently Asked Questions == = What format should I use for datetime fields? = The UI uses `datetime-local`. If your browser doesn't show a picker, enter `YYYY-MM-DDTHH:MM` (example: `2025-09-20T14:30`). The plugin will attempt to parse common formats too. = Does this disable checkout for preorder products? = No — by default checkout works normally. The plugin only displays labels/metadata. == Changelog == = 1.1.2 = * Fixed a nonce related error on product edit screen for admin = 1.1.1 = * Initial release: product meta fields, frontend badges/notices, cart meta and email output. == Upgrade Notice == = 1.0.0 = Initial release.