diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fac4c7..915ef7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.5.8] - 2026-01-27 + +### Fixed + +- **CRITICAL:** Fixed critical error on frontend product pages for licensed variable products +- Variable product add-to-cart template now passes required variables (`available_variations`, `attributes`, `selected_attributes`) +- Variants tab no longer disappears when saving attributes on licensed variable products +- Added WooCommerce AJAX event listeners to maintain tab visibility during attribute operations + +### Changed + +- Improved JavaScript event handling for licensed-variable product type in admin +- Added listeners for `woocommerce_variations_loaded`, `woocommerce_variations_added`, `woocommerce_variations_saved` events +- Added AJAX complete handler for attribute save operations + ## [0.5.7] - 2026-01-27 ### Changed diff --git a/src/Product/LicensedProductType.php b/src/Product/LicensedProductType.php index a9db7c2..124c91c 100644 --- a/src/Product/LicensedProductType.php +++ b/src/Product/LicensedProductType.php @@ -201,19 +201,21 @@ final class LicensedProductType