=== SkyNet Online Shipping for WooCommerce ===
Contributors: skynetza, skynet
Tags: woocommerce, shipping, skynet, rates, courier
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 1.0.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Live SkyNet shipping rates, automatic booking, waybill tracking, and PUDO pick-up points, built directly into your WooCommerce checkout.

== Description ==

SkyNet Online Shipping connects your WooCommerce store directly to SkyNet Online, SkyNet's ecommerce shipping platform. Customers see real, account-specific shipping rates at checkout, orders are booked automatically the moment payment succeeds, and waybill numbers and tracking updates sync straight back to WooCommerce - no manual courier admin required.

== About SkyNet ==

SkyNet Online is the world's largest independently owned courier network, with a footprint spanning more than 190 countries and a national network of 32 branches covering all of South Africa. That scale and reach, paired with deep e-commerce shipping experience, is why online retailers choose SkyNet to move their orders - locally and across borders.

== Features ==

* Live Road, Air, and Counter shipping rates at checkout, pulled from your SkyNet account.
* Automatic booking creation with SkyPoint Online on order placement.
* Waybill numbers and tracking status synced to the order automatically.
* Generate and download shipping labels directly from WooCommerce order admin.
* PUDO pick-up point selection at checkout, based on the customer's delivery address.
* Free-shipping rules by order value or per product.
* Shipping Profiles and a Default Package ensure rates and bookings work even when product weight or dimensions are missing.
* Supports WooCommerce shipping classes for multi-location fulfilment routing.

== Installation ==

1. Upload and activate the plugin through the WordPress admin or install directly from the WordPress.org plugin directory.
2. Go to WooCommerce → Settings → Shipping → SkyNet Online and enter your SkyNet Online account credentials.
3. Choose which shipping modes (Road, Air, Counter) to display and configure any Shipping Profiles or a Default Package.
4. Save — live rates will now appear at checkout.

== Frequently Asked Questions ==

= Do I need a SkyNet account to use this plugin? =

Yes. Rates and bookings are tied to your authenticated SkyNet Online account.

= What happens if a product is missing weight or dimensions? =

The plugin falls back to a Shipping Profile or your account's Default Package, so checkout is never blocked.

= Can customers choose a pick-up point instead of home delivery? =

Yes, nearby SkyNet PUDO counters are shown at checkout based on the delivery address entered.

== Changelog ==

= 1.0.5 =
* Feature: Dedicated, full-width Suburb and Postal Code live search autocomplete dropdown at checkout with real-time rate recalculation.
* Fix: Fallback shipping rate now applies as a flat cart rate without quantity multiplication.
* Fix: Consolidated parcel packaging per product line item with aggregate weight for accurate live courier quoting and waybill creation.
* Enhancement: Sleek dark-themed dropdown UI with fixed pin indicator and right-aligned postal code badges.
* Fix: Dynamic PUDO address token deduplication to guarantee pinpoint South African map localization.

= 1.0.4 =
* Feature: Direct Settings-based default dimension fallback for unassigned products without database profile auto-creation.
* Enhancement: Decoupled custom Shipping Profiles from global WooCommerce shipping settings.

= 1.0.3 =
* Fix: Guaranteed immediate database profile sync upon saving shipping zone modal or options regardless of API authentication status.
* Fix: Improved multi-instance zone settings detection for automatic profile synchronization.

= 1.0.2 =
* Feature: Added automatic Default Box shipping profile auto-seeding upon installation.
* Feature: Added real-time two-way synchronization between WooCommerce shipping settings and database shipping profiles.
* Fix: Added WooCommerce native unit normalization (kg & cm) to prevent misconfigured store measurement units from inflating shipping quotes.
* Fix: Enhanced multi-tier fallback dimension engine for unassigned products.
* Fix: Cleaned up PHPCS comment strings in shipping profile management and report views.

= 1.0.1 =
* Fix: Modernized checkout shipping cards UI with responsive layout adapter for compact order review tables.
* Fix: Prevented duplicate native radio buttons from rendering inside custom shipping cards.
* Fix: Full-width PUDO counter selection button inside checkout card with smooth hover transitions.
* Fix: Prevented tax breakdown numbers from leaking into shipping rate titles.
* Fix: Enhanced PUDO address geocoding query to ensure South African map localization.

= 1.0.0 =
* Initial public release on WordPress.org.
