You've already forked wc-tier-and-package-prices
Fixed critical plugin activation error that was preventing the plugin from being activated on WordPress 6.9.x and WooCommerce 10.x. The issue was introduced in v1.1.3 when admin classes were still being instantiated immediately at file include time, before WooCommerce was loaded. While v1.1.6 fixed this for Frontend and Cart classes, the Admin and Product Meta classes were missed. Critical Fix: - Removed immediate instantiation from WC_TPP_Admin class - Removed immediate instantiation from WC_TPP_Product_Meta class - Both classes now instantiated via woocommerce_loaded hook - Ensures all WooCommerce hooks are available before registration Technical Changes: - Removed "new WC_TPP_Admin();" from class-wc-tpp-admin.php - Removed "new WC_TPP_Product_Meta();" from class-wc-tpp-product-meta.php - Added both classes to init_classes() method in main plugin file - All four main classes now follow consistent initialization pattern Impact: - Plugin now activates correctly on all WordPress/WooCommerce versions - Resolves fatal errors during plugin activation - Last working version was v1.1.2, now fixed in v1.1.8 Updated Files: - includes/class-wc-tpp-admin.php (removed auto-instantiation) - includes/class-wc-tpp-product-meta.php (removed auto-instantiation) - wc-tier-and-package-prices.php (version 1.1.8, init_classes updated) - composer.json (version 1.1.8) - CHANGELOG.md (v1.1.8 section added) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
WooCommerce Tier and Package Prices - Releases
This directory contains production-ready releases of the WooCommerce Tier and Package Prices plugin.
Latest Release
Version 1.0.1 - December 21, 2025
Quick Install
# Download the package
wget https://your-domain.com/releases/wc-tier-and-package-prices-1.0.1.zip
# Verify checksum (optional but recommended)
sha256sum wc-tier-and-package-prices-1.0.1.zip
# Should match: 92c1385d92527e77646e37f23c1bd1555a4290a5ec9314c0ee6ed896ded55e88
# Install via WordPress admin or WP-CLI
wp plugin install wc-tier-and-package-prices-1.0.1.zip --activate
Files in This Directory
Release Packages
| 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 | - |
Verification
Verify Package Integrity
Using SHA-256:
sha256sum -c wc-tier-and-package-prices-1.0.1.zip.sha256
Using MD5:
md5sum -c wc-tier-and-package-prices-1.0.1.zip.md5
Expected Checksums
SHA-256:
92c1385d92527e77646e37f23c1bd1555a4290a5ec9314c0ee6ed896ded55e88
MD5:
e6cfc9b88df9e7763be0cd56517ce8ab
Installation Methods
Method 1: WordPress Admin (Recommended for most users)
- Download
wc-tier-and-package-prices-1.0.1.zip - Go to WordPress Admin > Plugins > Add New
- Click Upload Plugin
- Choose the downloaded ZIP file
- Click Install Now
- Click Activate Plugin
Method 2: WP-CLI (For developers)
wp plugin install /path/to/wc-tier-and-package-prices-1.0.1.zip --activate
Method 3: Manual Installation (Advanced)
# Extract to wp-content/plugins/
unzip wc-tier-and-package-prices-1.0.1.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
# Activate via WordPress admin or WP-CLI
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
Translations
- 🇺🇸 English (US)
- 🇩🇪 German (Germany)
- 🇨🇭 German (Switzerland, Informal)
Production Ready
- ✅ Optimized autoloader
- ✅ No development dependencies
- ✅ Compiled Twig templates support
- ✅ Tested with WooCommerce 8.0 - 10.0
Package Contents
wc-tier-and-package-prices/
├── assets/ # CSS and JavaScript
│ ├── css/
│ └── js/
├── includes/ # PHP classes
│ ├── class-wc-tpp-admin.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.pot
├── templates/ # Twig templates
│ ├── admin/
│ └── frontend/
├── vendor/ # Composer dependencies
│ └── twig/twig/
├── CHANGELOG.md
├── README.md
├── composer.json
└── wc-tier-and-package-prices.php
System Requirements
| Requirement | Minimum Version |
|---|---|
| WordPress | 6.0+ |
| PHP | 7.4+ |
| WooCommerce | 8.0+ |
| MySQL | 5.6+ |
Support
- Documentation: See main README.md
- Issues: https://src.bundespruefstelle.ch/wc-tier-package-prices/issues
- Author: Marco Graetsch
Version History
1.0.1 (2025-12-21)
- Added Twig template engine
- Added Swiss German translation
- Improved template organization
- Enhanced security with auto-escaping
1.0.0 (2025-12-21)
- Initial release
- Tier pricing functionality
- Package pricing functionality
- German and English translations
License
GPL v2 or later - https://www.gnu.org/licenses/gpl-2.0.html
Note: All packages are production-ready with optimized autoloaders and no development dependencies included.