Sync Now feedback: Sync panel shows a visible in-progress notice, then a success, warning, or error summary with synced / skipped / error counts. JSON details remain in the panel log. Last successful sync time updates after a run when folders were updated.
Changed
Documentation: Manual, public mirror, and Content Uploader workbook updated for Sync Now status messages, Auto SKU, pro vs free attachment paths, and package archive/ hygiene.
Auto SKU from file path (default on): When a downloadable product file path is chosen or saved under free/ or pro/, the master variant SKU is set to the folder segment in that path (same value Full Auto expects). Updates the parent product form in the Files popup and persists on create/save file tasks.
Changed
Documentation: Configuration, quick-start, FAQ, and user guide describe Auto SKU from file path and when to use manual SKU entry.
onJ2StoreProductAfterSave: Accept Joomla AfterSaveEvent when the plugin is registered via SubscriberInterface (fixes fatal error saving J2Commerce products on Joomla 5/6, e.g. when changing master variant SKU).
Documentation: Shippable docs/manual/ and internal paste sources updated for Full Auto, retail sellable-only, internal-only packages, disk tree and {package}_{version}.zip naming, Auto versus Manual versus map overrides, Ignored versus unmapped Sync panel lists, cron force=1, and master SKU capitalization (case-insensitive pairing vs case-sensitive disk paths on Linux).
Release
Install/upgrade plg_system_rca_j2c_downfilessync_1.2.1.zip. No PHP behavior change from 1.2.0.
1.2.0 — 2026-11-02
Added
Retail sellable-only Auto mode (default on): Auto sync and unmapped warnings target storefront folders only — pkg_* package products and standalone extensions. Package-suite child folders on disk (com_*, mod_*, plg_* tied to an on-disk pkg_*) are treated as updater/feed paths and listed under Ignored folders, not unmapped errors.
Internal-only package list: Textarea default com_maxm_law — folders used for private updater/L2 only, excluded from J2Commerce sync warnings.
SKU-first map resolution: Maps built from downloadable master SKUs to {tier}/{sku}/ folders (not from scanning unrelated directories).
Changed
BeforeDownload resolves the correct map row when save paths match a folder prefix.
Product save hook syncs all map rows for that product ID when overrides create more than one folder (still one sellable line per product in normal use).
Release
Install/upgrade plg_system_rca_j2c_downfilessync_1.2.0.zip. Align J2Commerce master SKUs with sellable package folder names (pkg_rca_* for suites).
1.1.0 — 2026-11-01
Added
Full Auto sync mode (default): Scans free/ and pro/ package folders under the J2Commerce attachment root. Links each folder to a downloadable product whose master variant SKU matches the folder name (case-insensitive). No manual Product folder map required for normal operation.
Optional map overrides: In Auto mode, the map textarea still accepts pipe-separated lines to override folder, keep_prior, changelog, or label for specific product IDs.
Fail-soft sync: Cron and Sync Now continue when individual folders fail; JSON reports per-product results.
Change-only sync: Skips folders whose newest ZIP fingerprint is unchanged (cache under JPATH_CACHE/rca_j2c_downfilessync/). Cron URL accepts &force=1 to sync all mapped folders.
onJ2StoreProductAfterSave: When a downloadable product is saved, sync runs for that product if it resolves in the current map set.
Sync panel: Auto mode status, last sync time (UTC), unmapped folders (ZIP on disk, no matching SKU), downloadable products with no matching folder.
Changed
Manual map mode remains available via Sync mode → Manual (legacy) for sites that cannot use SKU = folder name.
Release
Install/upgrade plg_system_rca_j2c_downfilessync_1.1.0.zip. Schedule the existing cron URL every 5–15 minutes (or call it after L2 deploy) for hands-off updates.
1.0.2 — 2026-09-09
Fix: treat legacy J2Commerce save paths with a leading / (/free/…) as managed so Sync updates the true lowest-id row (DirectDownload files[0]) to the latest versioned ZIP
Normalize productfile save names to no leading slash on write
Clarify that a leading # or ; on a Product folder map line comments out / disables that line
1.0.1 — 2026-09-09
Visible How to use notes on Settings (Product folder map) and Advanced (Cron key)
Sync panel quick reminder + cron URL when a key is set
Clearer map default comments and field descriptions; USER_GUIDE expanded
1.0.0 — 2026-09-09
Initial release: RCA J2C DownfilesSync
Map J2Commerce products to free|pro/{package}/ folders
Sync Now (admin) + optional cron key via com_ajax
Primary #__j2store_productfiles row updated to latest {package}_{version}.zip (versioned download filename)
Prior version ZIPs registered as additional product files (keep_prior)