=== NexusRMS Integration for WooCommerce ===
Contributors: nexusrms
Tags: rental, equipment, woocommerce, booking, availability
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Official NexusRMS integration for WooCommerce - sync equipment, check availability, and process rental orders seamlessly.

== Description ==

**NexusRMS Integration** is the official WordPress plugin for connecting your WooCommerce store to [NexusRMS](https://nexusrms.io), the premier rental management system for equipment rental businesses.

= Key Features =

**Equipment Sync**
* Automatically sync equipment from NexusRMS to WooCommerce products
* Keep prices, descriptions, and images up-to-date
* Category synchronization with full hierarchy support

**Real-Time Availability**
* Check equipment availability before booking
* Display availability badges on product pages
* Calendar widget for date selection (Pro)

**Order Integration**
* Automatically create web requests in NexusRMS from WooCommerce orders
* Status synchronization via webhooks
* Full rental period tracking

**Flexible Display Options**
* Equipment grid shortcode for custom layouts
* Availability widget shortcode
* Gutenberg blocks (coming soon)

= Shortcodes =

**Equipment Grid**
`[nexusrms_equipment columns="3" limit="12" category="lighting" show_price="yes"]`

**Availability Widget**
`[nexusrms_availability equipment_id="abc123" show_calendar="yes"]`

= Pro Features =

Upgrade to Pro or Enterprise for:

* **Automatic Sync** - Equipment syncs automatically on schedule
* **Unlimited Availability Checks** - No daily limits
* **Order Sync** - WooCommerce orders automatically create NexusRMS web requests
* **Calendar Widget** - Visual availability calendar
* **Multiple Domains** - Use on 3-10 websites
* **Priority Support** - Get help when you need it

[View Pricing](https://nexusrms.io/wordpress-plugin/pricing)

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/nexusrms-integration/`, or install directly through WordPress plugins screen.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Navigate to NexusRMS > License and enter your license key.
4. Configure settings under NexusRMS > Settings.
5. Run an initial sync from NexusRMS > Sync.

= Requirements =

* WordPress 6.0 or higher
* WooCommerce 8.0 or higher
* PHP 8.0 or higher
* A NexusRMS account

== Frequently Asked Questions ==

= Do I need a NexusRMS account? =

Yes, this plugin connects to your NexusRMS account. You can sign up for free at [nexusrms.io](https://nexusrms.io).

= Is there a free version? =

Yes! The free version includes:
* Equipment display grid
* 50 availability checks per day
* Manual equipment sync
* 1 domain

= How often does equipment sync? =

Free: Manual sync only
Pro: Hourly automatic sync
Enterprise: 15-minute automatic sync

= Can customers book equipment directly? =

Yes! When a customer places a WooCommerce order with rental products, the order is automatically sent to NexusRMS as a web request for approval by your staff.

= What happens after an order is placed? =

1. Customer completes WooCommerce checkout
2. Order is sent to NexusRMS as a web request
3. Your staff reviews and approves/rejects the request
4. Status is synced back to WooCommerce via webhook
5. Once approved, a project is created in NexusRMS

= Does it work with variable products? =

Currently, the plugin creates simple products from NexusRMS equipment. Variable product support is planned for a future release.

== Screenshots ==

1. Dashboard showing sync status and features
2. Equipment grid on frontend
3. Availability checker on product page
4. License activation screen
5. Sync management page
6. Rental checkout fields

== Changelog ==

= 1.0.0 =
* Initial release
* Equipment sync from NexusRMS to WooCommerce
* Category synchronization
* Real-time availability checking
* WooCommerce order to NexusRMS web request
* Webhook status synchronization
* Equipment grid shortcode
* Availability widget shortcode
* Admin dashboard and settings

== Upgrade Notice ==

= 1.0.0 =
Initial release of NexusRMS Integration for WooCommerce.
