From b1d31f48947e7a19e59c572d0e630c359d901a9b Mon Sep 17 00:00:00 2001 From: magdev Date: Tue, 23 Dec 2025 00:40:12 +0100 Subject: [PATCH] Update releases README.md to v1.1.20 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Updated latest release to version 1.1.20 (December 23, 2025) - Added "What's New in 1.1.20" section highlighting critical fixes - Updated all version references from 1.0.1 to 1.1.20 - Expanded core features list with new capabilities: - Tier labels with clickable rows - Package quantity restrictions - WooCommerce Blocks full support - HPOS compatibility - View Options catalog buttons - Updated package contents with complete file structure - Added all documentation files to contents list - Enhanced version history with 5 major releases - Updated system requirements table with "Tested Up To" column - Confirmed compatibility: WP 6.9.x, WC 10.x, PHP 8.x πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- releases/README.md | 125 ++++++++++++++++++++++++++++++--------------- 1 file changed, 85 insertions(+), 40 deletions(-) diff --git a/releases/README.md b/releases/README.md index bb9ec6d..a246d19 100644 --- a/releases/README.md +++ b/releases/README.md @@ -4,20 +4,28 @@ This directory contains production-ready releases of the WooCommerce Tier and Pa ## Latest Release -**Version 1.0.1** - December 21, 2025 +**Version 1.1.20** - December 23, 2025 + +### What's New in 1.1.20 +- πŸ”§ **CRITICAL FIX:** Resolved WooCommerce Blocks fatal error in mini-cart and cart blocks +- βœ… Full WooCommerce Blocks compatibility (cart, mini-cart, checkout) +- βœ… Fixed `woocommerce_store_api_product_quantity_editable` filter signature +- βœ… Tier labels for enhanced UX (v1.1.7) +- βœ… Package quantity restrictions (v1.1.0) +- βœ… Clickable tier rows with auto-fill +- βœ… Enhanced "View Options" buttons ### Quick Install ```bash # Download the package -wget https://your-domain.com/releases/wc-tier-and-package-prices-1.0.1.zip +wget https://your-domain.com/releases/wc-tier-and-package-prices-1.1.20.zip # Verify checksum (optional but recommended) -sha256sum wc-tier-and-package-prices-1.0.1.zip -# Should match: 92c1385d92527e77646e37f23c1bd1555a4290a5ec9314c0ee6ed896ded55e88 +sha256sum wc-tier-and-package-prices-1.1.20.zip # Install via WordPress admin or WP-CLI -wp plugin install wc-tier-and-package-prices-1.0.1.zip --activate +wp plugin install wc-tier-and-package-prices-1.1.20.zip --activate ``` ## Files in This Directory @@ -26,10 +34,10 @@ wp plugin install wc-tier-and-package-prices-1.0.1.zip --activate | File | Description | Size | |------|-------------|------| -| `wc-tier-and-package-prices-1.0.1.zip` | Production plugin package | 395 KB | -| `wc-tier-and-package-prices-1.0.1.zip.sha256` | SHA-256 checksum | - | -| `wc-tier-and-package-prices-1.0.1.zip.md5` | MD5 checksum | - | -| `RELEASE-INFO-1.0.1.md` | Detailed release information | - | +| `wc-tier-and-package-prices-1.1.20.zip` | Production plugin package | ~400 KB | +| `wc-tier-and-package-prices-1.1.20.zip.sha256` | SHA-256 checksum | - | +| `wc-tier-and-package-prices-1.1.20.zip.md5` | MD5 checksum | - | +| `RELEASE-INFO-1.1.20.md` | Detailed release information | - | ## Verification @@ -37,31 +45,23 @@ wp plugin install wc-tier-and-package-prices-1.0.1.zip --activate **Using SHA-256:** ```bash -sha256sum -c wc-tier-and-package-prices-1.0.1.zip.sha256 +sha256sum -c wc-tier-and-package-prices-1.1.20.zip.sha256 ``` **Using MD5:** ```bash -md5sum -c wc-tier-and-package-prices-1.0.1.zip.md5 +md5sum -c wc-tier-and-package-prices-1.1.20.zip.md5 ``` ### Expected Checksums -**SHA-256:** -``` -92c1385d92527e77646e37f23c1bd1555a4290a5ec9314c0ee6ed896ded55e88 -``` - -**MD5:** -``` -e6cfc9b88df9e7763be0cd56517ce8ab -``` +Checksums will be generated when the release package is created. ## Installation Methods ### Method 1: WordPress Admin (Recommended for most users) -1. Download `wc-tier-and-package-prices-1.0.1.zip` +1. Download `wc-tier-and-package-prices-1.1.20.zip` 2. Go to **WordPress Admin > Plugins > Add New** 3. Click **Upload Plugin** 4. Choose the downloaded ZIP file @@ -71,14 +71,14 @@ e6cfc9b88df9e7763be0cd56517ce8ab ### Method 2: WP-CLI (For developers) ```bash -wp plugin install /path/to/wc-tier-and-package-prices-1.0.1.zip --activate +wp plugin install /path/to/wc-tier-and-package-prices-1.1.20.zip --activate ``` ### Method 3: Manual Installation (Advanced) ```bash # Extract to wp-content/plugins/ -unzip wc-tier-and-package-prices-1.0.1.zip -d /path/to/wordpress/wp-content/plugins/ +unzip wc-tier-and-package-prices-1.1.20.zip -d /path/to/wordpress/wp-content/plugins/ # Set correct permissions chmod -R 755 /path/to/wordpress/wp-content/plugins/wc-tier-and-package-prices @@ -90,11 +90,15 @@ wp plugin activate wc-tier-and-package-prices ## What's Included ### Core Features -- βœ… Tier pricing (quantity-based discounts) -- βœ… Package pricing (fixed-price bundles) -- βœ… Twig template engine -- βœ… WooCommerce HPOS compatible -- βœ… Multilingual support +- βœ… Tier pricing with optional labels (quantity-based discounts) +- βœ… Package pricing with quantity restrictions (fixed-price bundles) +- βœ… Clickable tier rows with auto-quantity fill +- βœ… WooCommerce Blocks full support (cart, mini-cart, checkout) +- βœ… Twig template engine for secure templating +- βœ… WooCommerce HPOS (High-Performance Order Storage) compatible +- βœ… Quantity restriction enforcement +- βœ… "View Options" catalog buttons for restricted products +- βœ… Multilingual support (3 languages) ### Translations - πŸ‡ΊπŸ‡Έ English (US) @@ -105,7 +109,10 @@ wp plugin activate wc-tier-and-package-prices - βœ… Optimized autoloader - βœ… No development dependencies - βœ… Compiled Twig templates support -- βœ… Tested with WooCommerce 8.0 - 10.0 +- βœ… Tested with WooCommerce 8.0 - 10.x +- βœ… Tested with WordPress 6.0 - 6.9.x +- βœ… PHP 7.4+ compatible +- βœ… Block-based themes compatible ## Package Contents @@ -113,24 +120,40 @@ wp plugin activate wc-tier-and-package-prices wc-tier-and-package-prices/ β”œβ”€β”€ assets/ # CSS and JavaScript β”‚ β”œβ”€β”€ css/ +β”‚ β”‚ β”œβ”€β”€ admin.css +β”‚ β”‚ └── frontend.css β”‚ └── js/ +β”‚ β”œβ”€β”€ admin.js +β”‚ └── frontend.js β”œβ”€β”€ includes/ # PHP classes β”‚ β”œβ”€β”€ class-wc-tpp-admin.php +β”‚ β”œβ”€β”€ class-wc-tpp-settings.php β”‚ β”œβ”€β”€ class-wc-tpp-cart.php β”‚ β”œβ”€β”€ class-wc-tpp-frontend.php β”‚ β”œβ”€β”€ class-wc-tpp-product-meta.php β”‚ └── class-wc-tpp-template-loader.php β”œβ”€β”€ languages/ # Translation files -β”‚ β”œβ”€β”€ wc-tier-package-prices-de_CH_informal.* -β”‚ β”œβ”€β”€ wc-tier-package-prices-de_DE.* -β”‚ β”œβ”€β”€ wc-tier-package-prices-en_US.* +β”‚ β”œβ”€β”€ wc-tier-package-prices-de_CH_informal.po +β”‚ β”œβ”€β”€ wc-tier-package-prices-de_CH_informal.mo +β”‚ β”œβ”€β”€ wc-tier-package-prices-de_DE.po +β”‚ β”œβ”€β”€ wc-tier-package-prices-de_DE.mo +β”‚ β”œβ”€β”€ wc-tier-package-prices-en_US.po +β”‚ β”œβ”€β”€ wc-tier-package-prices-en_US.mo β”‚ └── wc-tier-package-prices.pot β”œβ”€β”€ templates/ # Twig templates β”‚ β”œβ”€β”€ admin/ +β”‚ β”‚ β”œβ”€β”€ tier-row.twig +β”‚ β”‚ └── package-row.twig β”‚ └── frontend/ +β”‚ β”œβ”€β”€ pricing-table.twig +β”‚ β”œβ”€β”€ tier-pricing-table.twig +β”‚ └── package-pricing-display.twig β”œβ”€β”€ vendor/ # Composer dependencies β”‚ └── twig/twig/ β”œβ”€β”€ CHANGELOG.md +β”œβ”€β”€ INSTALLATION.md +β”œβ”€β”€ QUICKSTART.md +β”œβ”€β”€ USAGE_EXAMPLES.md β”œβ”€β”€ README.md β”œβ”€β”€ composer.json └── wc-tier-and-package-prices.php @@ -138,21 +161,41 @@ wc-tier-and-package-prices/ ## System Requirements -| Requirement | Minimum Version | -|-------------|----------------| -| WordPress | 6.0+ | -| PHP | 7.4+ | -| WooCommerce | 8.0+ | -| MySQL | 5.6+ | +| Requirement | Minimum Version | Tested Up To | +|-------------|----------------|--------------| +| WordPress | 6.0+ | 6.9.x | +| PHP | 7.4+ | 8.x | +| WooCommerce | 8.0+ | 10.x | +| MySQL | 5.6+ | 8.x | ## Support -- **Documentation:** See main README.md -- **Issues:** https://src.bundespruefstelle.ch/wc-tier-package-prices/issues +- **Documentation:** See README.md, INSTALLATION.md, QUICKSTART.md, USAGE_EXAMPLES.md +- **Repository:** https://src.bundespruefstelle.ch/magdev/wc-tier-package-prices - **Author:** Marco Graetsch ## Version History +### 1.1.20 (2025-12-23) - Current Release +- **CRITICAL FIX:** WooCommerce Blocks fatal error resolved +- Fixed filter signature for `woocommerce_store_api_product_quantity_editable` +- Full compatibility with WooCommerce Store API and block-based cart/checkout +- Enhanced stability for block-based themes + +### 1.1.7 (2025-12-22) +- Added optional tier labels for enhanced UX +- Clickable tier rows with auto-quantity fill +- Add to Cart button auto-disable for invalid quantities + +### 1.1.4 (2025-12-22) +- WooCommerce Blocks support (cart, mini-cart, checkout) +- Enhanced "View Options" button styling + +### 1.1.0 (2025-12-21) +- Package quantity restrictions (global and per-product) +- Quantity field hiding for restricted products +- Server-side validation for package quantities + ### 1.0.1 (2025-12-21) - Added Twig template engine - Added Swiss German translation @@ -165,6 +208,8 @@ wc-tier-and-package-prices/ - Package pricing functionality - German and English translations +For complete version history, see [CHANGELOG.md](../CHANGELOG.md) + ## License GPL v2 or later - https://www.gnu.org/licenses/gpl-2.0.html