=== STS Shipment Tracking for WooCommerce ===
Contributors: piotrprach
Tags: woocommerce, tracking, shipping, orders, parcels
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add multiple parcels and custom carriers to orders, customer accounts and existing WooCommerce emails.

== Description ==

* Multiple parcels per order with any carrier name, tracking number, shipping date and optional http/https link.
* Inline fields on the WooCommerce order editor; no modal required.
* Quick add form for an order ID.
* Duplicate carrier-and-number pairs are ignored, preserving tracking-number leading zeroes.
* Tracking in signed-in owner order details and existing HTML/plain-text WooCommerce customer emails.
* Editable heading and message; does not replace the WooCommerce email template or order status.
* No advertising popups, review nags or external carrier API requests.
* WooCommerce CRUD/HPOS support and personal-data export/erasure integration.

Settings: WooCommerce > STS Tracking; order editor shipping section.

Optional paid add-on: https://simpletradesolutions.com/sts-shipment-tracking-pro-en/

The standalone Free plugin remains useful without an account, licence or subscription. No analytics, telemetry or remote code is loaded.

= Privacy and external services =

Tracking numbers, shipping dates and URLs are saved in private order metadata and shown only in the order owner view and transactional customer emails. No carrier API is called. The customer may choose to open the external tracking URL.

= Scope of version 1.0 =

* Carrier links open external carrier pages only when the customer follows a link; no delivery-status polling or live courier API.
* No label printing, package purchasing, delivery estimates or automatic status changes.
* Each uploaded CSV must be at most 10 MB for resource protection; split larger source files. No artificial row cap within the file.
* Imported tracking must use internal WooCommerce order IDs, not custom displayed order-number strings.
* No automatic migration of competitor tracking records.

== Installation ==

1. Install and activate WooCommerce 9.0 or newer.
2. Upload the sts-shipment-tracking folder to wp-content/plugins, or install the ZIP through Plugins > Add New.
3. Activate the plugin and open WooCommerce > STS Tracking; order editor shipping section.
4. Configure the store-specific fields and test with an order before adopting a live workflow.

== Frequently Asked Questions ==

= Are custom carriers paid features? =
No. The Free plugin accepts any carrier name and a complete http/https tracking URL. It has no license code or artificial parcel-count cap.

= Does adding tracking mark an order complete? =
No. You control order status separately. The plugin never changes it automatically, including during Pro CSV imports.

= Will customers receive duplicate completed-order emails? =
Free adds tracking to existing WooCommerce emails through a content hook and does not trigger another completed-order email. Pro can optionally send one separate parcel notification, which is a distinct message enabled by the store manager.

= Does it show real-time delivery status? =
No. The link takes the customer to the carrier's page. This release does not poll carriers or require third-party tracking accounts.

= Is the email body editable? =
The Free heading and extra message are editable in STS Tracking settings. Existing WooCommerce email templates remain in place.

= What happens when I deactivate or uninstall? =

Deactivation stops this plugin's scheduled work where applicable. Settings are retained by default. Enable the removal checkbox before uninstalling if you want settings removed. Core WooCommerce orders and products are never deleted. Invoice and parcel records remain with the order unless WooCommerce's personal-data erasure removes them. Export files can be deleted in the admin and expire while the plugin is active.

== Changelog ==

= 1.0.0 =
* First original STS release with English/Polish interfaces, HPOS order access and focused workflows.

== Upgrade Notice ==

= 1.0.0 =
Initial release. Review the documented workflow and limitations before use.
