=== OrderBridge – Multi-Channel Export for WooCommerce ===
Contributors: wijnbergdevelopments
Tags: woocommerce, orders, export, b2b, automation
Requires at least: 6.4
Tested up to: 7.0
Stable tag: 1.0.3
Requires PHP: 8.3
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt

Save time with automated multi-format WooCommerce order exports sent instantly to customers via email or cloud

== Description ==

OrderBridge – Multi-Channel Export for WooCommerce simplifies the process of generating and sharing order data. Store owners can set up automated exports with minimal configuration, allowing customers to receive order details effortlessly. Admins can also access exports directly from the WordPress dashboard.

> **See OrderBridge – Multi-Channel Export for WooCommerce in action:** [Try the live demo →](https://wordpress.org/plugins/orderbridge-for-woocommerce/?preview=1)

=== Key features ===

* Export sections/triggers
  - Automated email attachments: Automatically attach export files to WooCommerce emails such as 'Completed order', 'Processing order', or other status emails, ensuring customers receive their order data without manual intervention.
  - Admin downloads: Admins can generate and download export files directly from the order edit page in the WordPress dashboard for quick access.

* Customizable templates
  - Select columns from categories like:
    * Order Item: name, product_id, quantity, price, and more.
    * Product: status, description, short_description, sku, and more.
    * Additional categories: Order Item Meta, Order, Product Attributes, and Product Taxonomies.
  - Dynamic File Names: Use placeholders like {order_id}, {date}, {time} for clear, context-specific file names (e.g., "Order_123_20250717.csv").
  - Preview templates: easily preview templates with previous placed orders

=== Use case ===

Ideal for B2B customers needing detailed order summaries for accounting, inventory management, or integration with third-party systems. Automates exports, reducing manual work and empowering customers with easy access to their order data.

=== Pro features 🚀 ===

Enhance your store with advanced automation and integration capabilities:

* **Google Drive Integration**: Automatically upload exports to customers' Google Drive accounts
  - Set up automatic uploads on order events (processing, completed, etc.)
  - Customers manage their own folder structure through intuitive interface
  - Secure OAuth authentication for maximum data safety

* **Customer Downloads**: Allow customers to download order exports directly from their 'My Account' order list
  - Self-service approach reduces support tickets
  - Perfect for B2B customers who need regular access to order data

* **Additional File Formats**: Export to Excel (XLSX), ODS, XML, and JSON
  - Professional formats for accounting and ERP systems
  - XML/JSON for seamless API integrations

* **Advanced Template Options**:
  - Include specific product attributes (custom product meta data) with developer-friendly filters
  - Add custom fields via WordPress filters for unique data transformations or calculations
  - Unlimited customization possibilities for complex business needs

Perfect for businesses requiring advanced automation, multiple export channels, and professional file formats.

=== Why choose this plugin? ===

* Effortless automation: Set up exports once; the plugin handles the rest.
* Highly customizable: Tailor templates and file names to your workflows.
* B2B-Friendly: Simplifies data sharing for professional uses and system integrations.

For more details or to upgrade to Pro, visit [our website](https://products.wijnberg.dev).

=== Developer Information ===

This plugin uses build tools to compile JavaScript assets.

**Source code:**
- Source JS files: `/admin/js/` and `/public/js/`
- Compiled builds: `/build/`
- Build config: `webpack.config.js`
- Dependencies: `package.json`

**To build the assets:**
1. Install Node.js dependencies: `npm install`
2. For development: `npm run start`
3. For production: `npm run build`

All source code and build configuration files are included in this plugin package.

=== Requirements ===

* WooCommerce plugin installed and activated
* Pro only: PHP OpenSSL extension (required for Google Drive integration)

=== Configuration ===

Configure these plugin-specific settings:

1. **Main settings**
   - Go to: *WooCommerce > Settings > OrderBridge – Multi-Channel Export for WooCommerce*
   - Create a template with your preferred columns
   - Select which sections/triggers you want to use
   - Optional: preview the template

== Installation ==

1. Install the plugin through the WordPress plugins screen directly or Upload the plugin files to the `/wp-content/plugins/orderbridge-for-woocommerce` directory.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Configure your settings as described in the 'Configuration' section.

== Frequently Asked Questions ==

= Can I export orders automatically? =

Yes, you can set up automated email attachments for order exports triggered by WooCommerce order statuses.

= What file formats are supported? =

The free version supports CSV. The Pro version adds XLSX, ODS, XML, and JSON.

= Does this work with custom order fields and third-party WooCommerce plugins? =

Yes! OrderBridge can export custom order fields, product attributes, and order meta data added by other plugins. You can select these fields when creating your export templates. This makes it perfect for stores using custom checkout fields, product add-ons, or specialized WooCommerce extensions.

= Can I set up different export templates for different customer types? =

Absolutely! You can create multiple export templates with different column sets and file formats. For example, create a detailed template with pricing for internal use, and a simpler template without pricing for customers. Each template can be used across different delivery channels (email, downloads, Google Drive).

== Changelog ==

= 1.0.3 =
* Tested WordPress 7.0
* Tested WooCommerce 10.9.4
* Updated bundled Composer dependencies and development tooling
* Improved HPOS compatibility registration
* Improved Google Drive connection
* General code cleanup and improvements

= 1.0.2 =
* Tested WordPress 6.9
* Tested WooCommerce 10.3.6

= 1.0.1 =
* Improved menu structure

= 1.0.0 =
* Initial release

== Additional Information ==

For more information and other WordPress plugins, visit [Wijnberg Developments](https://products.wijnberg.dev/product-category/wordpress/plugins/).
