You've already forked wc-tier-and-package-prices
Fixed critical class redeclaration error for WC_Tier_Package_Prices affecting version 1.1.11. This completes all redeclaration protection by protecting the main plugin class. Fixes: - Class redeclaration error for WC_Tier_Package_Prices - Fatal error "Cannot redeclare class WC_Tier_Package_Prices" when plugin file loaded multiple times - Plugin activation failures caused by class redeclaration Technical Changes: - Wrapped WC_Tier_Package_Prices class declaration in class_exists() check - Completes comprehensive redeclaration protection for all plugin components - All functions, constants, and classes now safely guarded against redeclaration - Plugin now fully protected from all redeclaration scenarios Protected Components: - Functions: wc_tpp_woocommerce_missing_notice(), wc_tpp_init() - Constants: WC_TPP_VERSION, WC_TPP_PLUGIN_DIR, WC_TPP_PLUGIN_URL, WC_TPP_PLUGIN_BASENAME - Classes: WC_Tier_Package_Prices Updated Files: - wc-tier-and-package-prices.php (version 1.1.12, class protection) - composer.json (version 1.1.12) - CHANGELOG.md (v1.1.12 section) - All translation files compiled (.mo files) 🤖 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.