From c036a37602ee8b16a564c078db664edeabe4a8e3 Mon Sep 17 00:00:00 2001 From: magdev Date: Thu, 1 Jan 2026 02:06:42 +0100 Subject: [PATCH] Bump version to 1.1.14 - debug logging release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ wc-composable-product.php | 4 ++-- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8be3539..e61be74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,34 @@ 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.14] - 2025-12-31 + +### Added + +- **DEBUG**: Comprehensive debug logging to troubleshoot product retrieval issues +- Error log output shows selection criteria, query arguments, and results +- Logs each product/variation being added to help identify filtering issues +- Enable by setting WP_DEBUG to true in wp-config.php + +### Technical + +- Modified file: includes/Product_Type.php (added error_log statements throughout get_available_products()) +- Logs criteria array (categories, tags, SKUs) +- Logs WP_Query arguments before execution +- Logs number of posts found by query +- Logs each variable product's variation count +- Logs each variation/simple product being added with name +- Logs total products available at end +- All logging wrapped in WP_DEBUG checks (no performance impact in production) + +### Notes + +- This is a debug release to help diagnose why products aren't showing +- No functional changes from v1.1.13 +- User should enable WP_DEBUG and check debug.log or error.log +- Log output will show exactly where products are being filtered out +- All translation files remain at 100% completion (57/57 strings) + ## [1.1.13] - 2025-12-31 ### Fixed diff --git a/wc-composable-product.php b/wc-composable-product.php index 7c83286..ed36751 100644 --- a/wc-composable-product.php +++ b/wc-composable-product.php @@ -4,7 +4,7 @@ * Plugin Name: WooCommerce Composable Products * Plugin URI: https://src.bundespruefstelle.ch/magdev/wc-composable-product * Description: Create composable products where customers select a limited number of items from a configurable set - * Version: 1.1.13 + * Version: 1.1.14 * Author: Marco Graetsch * Author URI: https://src.bundespruefstelle.ch/magdev * License: GPL v3 or later @@ -20,7 +20,7 @@ defined('ABSPATH') || exit; // Define plugin constants -define('WC_COMPOSABLE_PRODUCT_VERSION', '1.1.13'); +define('WC_COMPOSABLE_PRODUCT_VERSION', '1.1.14'); define('WC_COMPOSABLE_PRODUCT_FILE', __FILE__); define('WC_COMPOSABLE_PRODUCT_PATH', plugin_dir_path(__FILE__)); define('WC_COMPOSABLE_PRODUCT_URL', plugin_dir_url(__FILE__));