*** Simple Role Based Pricing Changelog *** 2026-04-03 - version 1.2.1 * Fix: Some console logs were badly commented. 2026-04-02 - version 1.2.0 * Performance: Cleaned up all debug logs and console.log for production use. * Fix: Added explicit WooCommerce activation check. * Fix: Declared full High-Performance Order Storage (HPOS) compatibility. * Fix: UI Overhaul - Removed custom background styles to match WooCommerce Native UI. 2026-03-13 - version 1.1.9 * Made Specific Categories fully free and usable without Pro restrictions. 2026-03-10 - version 1.1.8 * Improvement: Switched to modern WooCommerce pricing flow using native get_price filters for item prices, subtotals, and totals (no artificial coupon needed on WC >= 3.2). * Fix: Correct category handling for variable products (now uses $product->get_category_ids() instead of wp_get_post_terms on variation ID). * Added: Automatic cart recalculation on user login to apply role-based prices if user logs in after adding items to cart. * Added: Explicit set_price() calls on woocommerce_before_calculate_totals hook for maximum reliability. * Changed: Coupon 'simproba_role_discount' is no longer created or applied on WooCommerce >= 3.2 → cleaner checkout display (no mystery discount line). * Tweak: Refactored pricing logic into a reusable method to reduce duplication and improve maintainability. * Note: Fully backward compatible – coupon logic remains active only for very old WooCommerce versions (< 3.2). 2025-11-01 - version 1.1.7 * Changed: Long time deprecated ${var} by {$var} , stopping all related php 8+ warnings by the way 2025-08-31 - version 1.1.6 * Added / Fixed: Discount wasn't applied at checkout. At all. So coupon method was applied for clearness. 2025-08-29 - version 1.1.4 * Added: Pro version indicator for "Specific Categories" option in the Apply To selector with a modern inline notification. 2025-08-26 - version 1.1.3 * Fixed: Css overstep beyond role-pricing tab + overthrow main woocommerce aspect with first rule 2025-08-23 - version 1.1.2 * Fixed: Table name interpolation is to be ignored. 2025-08-23 - version 1.1.1 * Fixed: Added missing translators comments in product-fields.php for internationalization. * Fixed: Corrected SQL queries in multiple files to properly use $wpdb->prepare() without backticks. * Fixed: Enhanced sanitization for $_POST categories input in admin-settings.php. * Fixed: Replaced all %s strings that define tables names in prepared request by identifier %i. 2025-08-22 - version 1.1.0 * Fixed: Addressed security issues from QIT tests (data sanitization, SQL queries, nonces). * Fixed: Corrected WordPress.org Plugin Check violations (internationalization, WP_Filesystem). * Fixed: Corrected SQL syntax errors in database queries. * Fixed: Improved log file permission handling. 2025-08-21 - version 1.0.9 * Added: changelog.txt file for WooCommerce Marketplace submission. * Tweak: Ensured compliance with WooCommerce submission requirements. 2025-07-01 - version 1.0.8 * Added: Changelog section to readme.txt for WooCommerce Marketplace submission. * Tweak: Updated documentation for clarity. 2025-07-01 - version 1.0.7 * Fixed: Improved compatibility with WooCommerce 9.0. * Added: Support for variable product pricing per user role. * Tweak: Optimized debug logging for better performance. 2025-06-13 - version 1.0.6 * Added: Category restriction option for role-based pricing. * Fixed: Bug in Quick Edit pricing for specific user roles. 2025-05-25 - version 1.0.5 * Added: Crash Handling. * Fixed: This plugin won't crash anymore if the required packages are not installed but simply warn the user. 2025-05-25 - version 1.0.4 * Added: Dynamic Translation. 2025-05-24 - version 1.0.3 * Added: Translation. 2025-05-24 - version 1.0.2 * Fixed: Better Category Handling. 2025-05-21 - version 1.0.1 * Added: New Style. 2024-05-21 - version 1.0.0 * Added: First version.