=== Smart Price Sync for Homey & PriceLabs === Contributors: thor486 Tags: pricing, sync, real estate, booking, dynamic pricing Requires at least: 5.0 Tested up to: 6.9 Stable tag: 1.0.0 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Synchronizes PriceLabs dynamic pricing and availability data with the Homey WordPress theme listings. == Description == **Smart Price Sync** bridges the gap between the **Homey** WordPress theme and the **PriceLabs** dynamic pricing engine. Automatically update your listing prices and availability calendars without manual intervention. ### Features * **Base Price Sync:** Updates the nightly price in Homey based on PriceLabs data. * **Calendar Sync:** Updates daily rates for the next 365 days. * **Automated Scheduling:** Choose from Hourly, Twice Daily, or Daily sync intervals. * **Manual Sync:** Trigger an immediate update directly from the listing edit page. * **Freemium Model:** * **Free:** Link and sync **1 listing**. * **PRO:** Upgrade to sync **unlimited listings**. ### How it Works 1. Enter your PriceLabs API Key in the settings. 2. Add the PriceLabs Listing ID to your Homey Listing. 3. Select the listing in the "Active Listings" settings to enable sync. 4. The plugin handles the rest, fetching data in the background via WP Cron. == Installation == 1. Upload the plugin files to the `/wp-content/plugins/smart-price-sync` directory, or install the plugin through the WordPress plugins screen. 2. Activate the plugin through the 'Plugins' screen in WordPress. 3. Navigate to **Smart Price Sync** in the admin menu to configure your API Key. == Frequently Asked Questions == = Where do I find my PriceLabs Listing ID? = Open your PriceLabs calendar for a specific listing. The ID is often found in the URL (e.g., `.../calendar/12345___67890`) or displayed in the dashboard details. = Does this work with other themes? = No. This plugin is specifically built for the **Homey** theme and relies on its specific data structure (meta keys). = How often does it sync? = You can configure the sync interval in the settings page (Hourly, Twice Daily, or Daily). == Screenshots == 1. **General Settings:** API Key input and Sync Interval configuration. 2. **Activation:** Select which listings to sync (Free vs Pro). 3. **Listing Setup:** Enter the PriceLabs ID directly in the listing editor. == Changelog == = 1.0.0 = * Initial release. * Implemented remote license validation for PRO upgrade. * Added automatic and manual sync capabilities.