=== TikTok Affiliate by Volade ===
Contributors: volade
Tags: tiktok, affiliate, commission, tiktok shop, creator
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later

TikTok Shop affiliate links, click tracking and commission ledger. Shortcodes [tta_link] and [tta_links]. Optional WooCommerce order bridge.

== Description ==

TikTok Affiliate by Volade helps creators track TikTok Shop affiliate performance without heavy catalog sync.

* Links — store TikTok Shop affiliate URLs with click tracking via short redirect or query param
* Ledger — commission entries (pending/confirmed/paid), manual entry + CSV/JSON import lite
* Mapping — product/campaign ↔ affiliate link
* Optional WC hook — if WooCommerce is active, map order/SKU → ledger (no hard WC require)
* Dashboard KPIs — clicks, pending commissions, paid total
* 4 presets + JSON export + Site Health + REST `tta/v1` + WP-CLI `wp tta`

Works without a Volade account. Connect for REST automation. V+ for CSV import automation and auto-sync.

== Installation ==

1. Upload the ZIP via Plugins → Add New → Upload
2. Activate TikTok Affiliate by Volade
3. Open Volade → TikTok Affiliate (or Tools → TikTok Affiliate)
4. Add affiliate links — embed `[tta_link id="…"]` or `[tta_links]`

== Frequently Asked Questions ==

= Does this sync TikTok Shop catalog? =

No. This plugin focuses on affiliate links and commission tracking only — not catalog sync.

= Is WooCommerce required? =

No. WooCommerce integration is optional for SKU mapping and auto-ledger on completed orders.

== Changelog ==

= 1.0.0 =
* Initial release — links, ledger, mapping, WC bridge, presets, export, REST and WP-CLI.
