=== BookPod Author Tools ===
Contributors: rachel
Tags: woocommerce, bookpod, print on demand, books, publishing
Requires at least: 5.8
Tested up to: 6.9
Stable tag: 2.2.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Connect your WooCommerce store to BookPod for automated book printing and fulfillment.

== Description ==

BookPod Author Tools allows authors and publishers to connect their WooCommerce store directly to the BookPod print-on-demand service.

With this plugin, you can:
* Upload book content (PDF) and cover files directly to BookPod.
* Automatically sync product metadata (prices, dimensions, paper type).
* Send orders automatically to BookPod for printing and shipping.
* Offer specific shipping methods (Home Delivery or Pickup Points) fully integrated with BookPod's logistics.

**Important:** This plugin is an integration tool for the BookPod service. A BookPod account is required to use this plugin.

== Service Description ==

This plugin relies on the **BookPod** service to function. It acts as a bridge between your WordPress site and BookPod's manufacturing and logistics systems.

* **Service Name:** BookPod
* **Service URL:** https://bookpod.co.il/
* **Data Sent:** When you create a book or an order is placed, the plugin sends product details (PDFs, metadata), order details (shipping address, customer name), and store credentials to BookPod's servers via API.
* **Terms of Use:** https://bookpod.co.il/%d7%aa%d7%a7%d7%a0%d7%95%d7%9f-%d7%90%d7%aa%d7%a8/
* **Privacy Policy:** https://bookpod.co.il/%d7%9e%d7%93%d7%99%d7%a0%d7%99%d7%95%d7%aa-%d7%a4%d7%a8%d7%98%d7%99%d7%95%d7%aa/
This plugin relies on the **BookPod** service to function. It acts as a bridge between your WordPress site and BookPod's manufacturing and logistics systems.

== Installation ==

1.  Upload the plugin files to the `/wp-content/plugins/bookpod-author-tools` directory, or install the plugin through the WordPress plugins screen directly.
2.  Activate the plugin through the 'Plugins' screen in WordPress.
3.  Go to the "BookPod Author Tools" settings page and enter your Store User ID and Token (provided by BookPod).
4.  Navigate to a WooCommerce product to link it or create a new book.

== Frequently Asked Questions ==

= Do I need a BookPod account? =
Yes, you must have an active publisher account with BookPod to use this plugin.

= Is this plugin compatible with the latest WooCommerce? =
Yes, the plugin is designed to work with the latest version of WooCommerce.

== Screenshots ==

1.  Plugin Settings Page - Enter your API credentials.
2.  Product Setup - Link a WooCommerce product to a BookPod book ID.
3.  Create Book - Upload PDF files and set print specifications.

== Changelog ==

= 2.2.0 =
* New: "Sync BookPod Products by Title" tool in settings. Scans unlinked products, matches them by title to your BookPod books, and links unique matches. Ambiguous or unmatched products are left untouched.
* Preview (dry-run) mode shows what would be linked without making changes.
* Title matching is per-user only and normalizes dashes, quotes, Hebrew niqqud, invisible characters, and HTML entities for accurate comparison.

= 2.1.9 =
* Always include book format in order items sent to BookPod API (print or epub).

= 1.0.0 =
* Initial release.