# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [1.0.4] - 2024-12-19 ### Added - **WooCommerce Subscriptions Support**: Added dedicated product handler for simple subscription products - **Sold Individually Support**: Complete implementation of WooCommerce "Sold individually" product setting - **Variable Product Variations**: Enhanced support for "Sold individually" setting on both parent and individual variation levels - **Quantity Limiting**: Automatic quantity field limiting to 1 for products marked as "Sold individually" - **Visual Feedback**: Clear indicators and tooltips for sold individually products - **Validation System**: Comprehensive validation rules for sold individually products ### Enhanced - **Product Handlers**: Extended all product handlers (simple, variable, subscription) to include sold individually information - **Frontend UI**: Updated React components to respect sold individually settings with proper visual feedback - **Validation System**: Added centralized validation rules for sold individually products - **Variable Products**: Fixed support for both parent-level and variation-level sold individually settings - **User Experience**: Improved quantity field behavior and user feedback for sold individually products ### Fixed - **Variable Product Variations**: Fixed issue where variable product variations weren't respecting sold individually settings - **Parent vs Variation Logic**: Properly implemented OR logic for parent and variation sold individually settings - **Frontend Data Flow**: Ensured sold individually information is properly passed from backend to frontend - **Validation Messages**: Added appropriate validation messages for different product types ### Technical Improvements - **Code Standards**: All new code follows WordPress Coding Standards and Plugin Handbook guidelines - **Documentation**: Enhanced code documentation with proper PHPDoc comments - **Internationalization**: Added proper translation strings for all new features - **CSS Styling**: Added dedicated styles for sold individually product indicators - **Error Handling**: Improved error handling and user feedback throughout the system ## [1.0.3] - 2024-12-18 ### Enhanced - **UX with streamlined variation error display** - **Added modal for invalid variations with scrollable content** - **Fixed "Edit Product" links to open correct WordPress admin pages** - **Moved all inline styles to external CSS classes** - **Implemented CSS variables for consistent theming** - **Added URL encoding options (Decoded/Encoded) with real-time display** - **Improved layout with inline URL encoding options on desktop** - **Enhanced error handling and user feedback** ### Technical - **Updated WordPress Coding Standards compliance** - **Improved code documentation and comment consistency** - **Standardized all code comments with proper punctuation** - **Extracted inline styles from React components to CSS classes** - **Improved maintainability and theme consistency** ## [1.0.2.3] - 2024-12-17 ### Refactored - **Inline styles to CSS classes for better maintainability** - **Moved all ProductSelect component styling from inline styles to CSS file** - **Replaced hard-coded colors with CSS custom properties (variables)** - **Improved theme consistency and support for WordPress admin color schemes** - **Enhanced code organization and separation of concerns** - **Better performance by reducing inline style calculations** - **Future-proof styling that adapts to WordPress theme changes** ## [1.0.2.2] - 2024-12-16 ### Enhanced - **Variation error handling and UX improvements** - **Streamlined invalid variation display - removed redundancy from main list** - **Added grouped "View Invalid Variations" button for better organization** - **Improved error messages with specific guidance for variation configuration issues** - **Fixed "Edit Product" button to open correct WordPress admin URL in new tab** - **Added scrollable modal for viewing multiple invalid variations** - **Better user experience for handling variable products with "Any" attributes** ## [1.0.2.1] - 2024-12-15 ### Added - **Incremental update for continued development** - **Improved .gitignore configuration** - **Ready for WordPress.org submission** ## [1.0.2] - 2024-12-14 ### Fixed - **WordPress.org compliant version** - **Fixed all plugin review issues** - **Updated class/function names to use unique lwwc_ prefix** - **Removed WordPress.org directory assets** - **Updated JavaScript variable names to prevent conflicts** ## [1.0.0] - 2024-12-13 ### Added - **Initial release** - **Basic add-to-cart and checkout link generation** - **Support for simple and variable WooCommerce products** - **Multi-product and multi-coupon support** - **URL encoding options** - **WordPress admin interface integration**