From 58f5329bc4177577c4bdda11072b319de780f469 Mon Sep 17 00:00:00 2001 From: magdev Date: Wed, 31 Dec 2025 22:38:42 +0100 Subject: [PATCH] Bump version to 1.1.10 - Fix admin and frontend critical bugs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two critical bug fixes after v1.1.9 release: 1. Admin tabs both visible on initial page load 2. Frontend product selector showing no products 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- CHANGELOG.md | 35 +++++++++++++++++++++++++++++++++++ wc-composable-product.php | 4 ++-- 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b75cd32..78940c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,41 @@ 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.1.10] - 2025-12-31 + +### Fixed + +- **CRITICAL**: Admin panel - Both General and Composable tabs visible simultaneously on initial page load +- **CRITICAL**: Frontend - No products showing in product selector, only cart button and pricing visible +- Empty product grid now shows helpful message instead of blank space + +### Changed + +- Added explicit `display: none` to `#composable_product_data` panel for proper initial hiding +- Panel now only shows when `body.product-type-composable` class is present +- Added empty state message in product selector template when no products are configured +- Cleared Twig cache to ensure template changes take effect + +### Added + +- Empty state message: "No products available for selection. Please configure the product criteria in the admin panel." +- Translations for empty state message in all 6 supported locales (de_DE, de_DE_informal, de_CH, de_CH_informal, fr_CH, it_CH) +- Recompiled .mo translation files + +### Technical + +- Modified files: assets/css/admin.css (lines 7-16), templates/product-selector.twig (lines 12-15) +- Root cause (admin): Panel lacked explicit CSS hiding rule, relied only on `hidden` class +- Root cause (frontend): No feedback when products array is empty +- Solution: CSS specificity + empty state conditional in Twig template + +### Notes + +- This release fixes two critical bugs discovered immediately after v1.1.9 +- Admin interface now correctly hides composable panel until product type is selected +- Frontend provides clear user feedback when product selection is unavailable +- All translation files now 100% complete (57/57 strings) + ## [1.1.9] - 2025-12-31 ### Fixed diff --git a/wc-composable-product.php b/wc-composable-product.php index e1adece..9b3a2b8 100644 --- a/wc-composable-product.php +++ b/wc-composable-product.php @@ -3,7 +3,7 @@ * Plugin Name: WooCommerce Composable Products * Plugin URI: https://github.com/magdev/wc-composable-product * Description: Create composable products where customers select a limited number of items from a configurable set - * Version: 1.1.9 + * Version: 1.1.10 * Author: Marco Graetsch * Author URI: https://example.com * License: GPL v3 or later @@ -19,7 +19,7 @@ defined('ABSPATH') || exit; // Define plugin constants -define('WC_COMPOSABLE_PRODUCT_VERSION', '1.1.9'); +define('WC_COMPOSABLE_PRODUCT_VERSION', '1.1.10'); define('WC_COMPOSABLE_PRODUCT_FILE', __FILE__); define('WC_COMPOSABLE_PRODUCT_PATH', plugin_dir_path(__FILE__)); define('WC_COMPOSABLE_PRODUCT_URL', plugin_dir_url(__FILE__));