=== List Orders with Backorders for WooCommerce ===
Contributors: thehowarde
Author: Howard Ehrenberg
Author URI: https://www.howardehrenberg.com
Donate link: https://www.duckdiverllc.com/woocommerce-list-backorders-plugin/
Tags: Woocommerce, Backorders, Admin Functions
Requires at least: 4.6
Tested up to: 5.9
Stable tag: 2.3.2
WC requires at least: 2.0
WC tested up to: 6.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

A Wordpress Plugin to List Orders with Backordered items on them. This helps the store manager with a list of orders that need items to complete fulfillment.  This is not a stock list report, but only a report of order that are not shipped because of backorders.

This plugin will add an admin menu item to the WooCommerce Admin Item to "Backordered Items" for easy viewing of orders with backorders, and the ordered-items that are backordered.

== Description ==

While WooCommerce makes it easy to allow for customers to backorder items, there is no mechanism for retailers to keep track of what orders actually have backordered items on them.

This plugin will automatically detect backordered items for orders that are placed though WooCommerce.

You can also modify the order meta (by editing the order) to update the Backordered quantity, or manually add "Backordered" as a Meta Key and the quantity as the Meta Value.  This plugin will only detect orders whose status is pending, processing, or on-hold.  Completed orders will automatically remove themselves from the list.

Version 2.0 Includes jQuery DataTables to allow easy manipulation of the output of the backordered items list, and allows for export to PDF, XLS, or CSV files.

Report Title is in `Ymd_backorder_list` Format.  This can be filtered in your functions.php with filter 'dd_list_backorders_report_title'

for example:

`add_filter('dd_list_backorders_report_title', function(){return 'this_is_the_title';});`


== Requirements ==

This plugin requires the use of WooCommerce.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/list-backorders-woocommerce` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.

== Screenshots ==

1. This is the main list view when clicking on the WooCommerce > Backordered Items admin menu item.
2. This is the edit order on WooCommerce > Orders > Edit Order.  You can modify the order item meta by clicking on this pencil.
3. Once you've accessed the order item meta, use the "META KEY" = "Backordered" (or your local translation for "Backordered") based on the official WooCommerce translations, and the "META VALUE" = Number of items backordered.

== Changelog ==

= 2.2 =
Added SKU to Report

= 2.1 =
Added report title "yyyymmdd_backorder_list" and filter 'dd_list_backorders_report_title'

= 2.0.2 =
Verified for WC 4.x

= 2.0 =
Move to OOP version of plugin.
Added DataTables to reporting.

= 1.2 =
Use WooCommerce translations for better localization
= 1.1.2 =
Add additional Localization
= 1.1 =
Added some localization for "Backordered"
= 1.0.3 =
*Update the description
*Modify Permissions
= 1.0.2 =
* File Location error fixed
= 1.0.1 =
* Minor Change for naming convention
= 1.0 =
* Initial Release Version
