You've already forked wc-tier-and-package-prices
128 lines
3.3 KiB
Markdown
128 lines
3.3 KiB
Markdown
|
|
# WooCommerce Tier and Package Prices - Release 1.0.1
|
||
|
|
|
||
|
|
**Release Date:** December 21, 2025
|
||
|
|
**Version:** 1.0.1
|
||
|
|
**Package Size:** 395 KB
|
||
|
|
**Git Tag:** v1.0.1
|
||
|
|
|
||
|
|
## Download
|
||
|
|
|
||
|
|
**File:** `wc-tier-and-package-prices-1.0.1.zip`
|
||
|
|
|
||
|
|
### Checksums
|
||
|
|
|
||
|
|
**SHA256:**
|
||
|
|
```
|
||
|
|
92c1385d92527e77646e37f23c1bd1555a4290a5ec9314c0ee6ed896ded55e88
|
||
|
|
```
|
||
|
|
|
||
|
|
**MD5:**
|
||
|
|
```
|
||
|
|
e6cfc9b88df9e7763be0cd56517ce8ab
|
||
|
|
```
|
||
|
|
|
||
|
|
## Installation
|
||
|
|
|
||
|
|
1. Download the ZIP file: `wc-tier-and-package-prices-1.0.1.zip`
|
||
|
|
2. Log in to your WordPress admin panel
|
||
|
|
3. Navigate to **Plugins > Add New > Upload Plugin**
|
||
|
|
4. Choose the downloaded ZIP file
|
||
|
|
5. Click **Install Now**
|
||
|
|
6. After installation, click **Activate Plugin**
|
||
|
|
|
||
|
|
### Requirements
|
||
|
|
|
||
|
|
- **WordPress:** 6.0 or higher
|
||
|
|
- **PHP:** 7.4 or higher
|
||
|
|
- **WooCommerce:** 8.0 or higher
|
||
|
|
|
||
|
|
## What's New in 1.0.1
|
||
|
|
|
||
|
|
### New Features
|
||
|
|
- ✅ **Twig Template Engine** - Modern template system with automatic escaping
|
||
|
|
- ✅ **Swiss German Translation** - Added de_CH_informal translation
|
||
|
|
- ✅ **Template Caching** - Improved performance with compiled templates
|
||
|
|
- ✅ **Composer Integration** - Professional dependency management
|
||
|
|
|
||
|
|
### Improvements
|
||
|
|
- 🔄 Migrated all templates from PHP to Twig format
|
||
|
|
- 🔒 Enhanced security with automatic HTML escaping
|
||
|
|
- 📁 Better template organization (admin/ and frontend/ directories)
|
||
|
|
- 🎨 Cleaner separation of logic and presentation
|
||
|
|
|
||
|
|
### Technical Changes
|
||
|
|
- Added Twig v3.22.2 dependency
|
||
|
|
- Created WC_TPP_Template_Loader class for centralized rendering
|
||
|
|
- Integrated WordPress functions (__(), wc_price(), etc.) into Twig
|
||
|
|
- Optimized autoloader for production
|
||
|
|
- Removed legacy PHP templates
|
||
|
|
|
||
|
|
## Package Contents
|
||
|
|
|
||
|
|
The installation package includes:
|
||
|
|
|
||
|
|
### Core Files
|
||
|
|
- `wc-tier-and-package-prices.php` - Main plugin file
|
||
|
|
- `composer.json` - Dependency configuration
|
||
|
|
- `CHANGELOG.md` - Full version history
|
||
|
|
- `README.md` - Plugin documentation
|
||
|
|
|
||
|
|
### Directories
|
||
|
|
- `includes/` - PHP class files
|
||
|
|
- `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`
|
||
|
|
- `templates/` - Twig template files
|
||
|
|
- `admin/` - Admin interface templates
|
||
|
|
- `frontend/` - Customer-facing templates
|
||
|
|
- `languages/` - Translation files
|
||
|
|
- de_CH_informal (Swiss German, Informal)
|
||
|
|
- de_DE (German, Germany)
|
||
|
|
- en_US (English, US)
|
||
|
|
- `assets/` - CSS and JavaScript files
|
||
|
|
- `vendor/` - Composer dependencies (Twig)
|
||
|
|
|
||
|
|
## Translations Included
|
||
|
|
|
||
|
|
1. **English (US)** - en_US ✅
|
||
|
|
2. **German (Germany)** - de_DE ✅
|
||
|
|
3. **German (Switzerland, Informal)** - de_CH_informal ✅ NEW!
|
||
|
|
|
||
|
|
## Features
|
||
|
|
|
||
|
|
### Tier Pricing
|
||
|
|
- Quantity-based discount tiers
|
||
|
|
- Automatic price calculation
|
||
|
|
- Volume discount display
|
||
|
|
|
||
|
|
### Package Pricing
|
||
|
|
- Fixed-price bundles
|
||
|
|
- Custom package labels
|
||
|
|
- Multiple package options per product
|
||
|
|
|
||
|
|
### Admin Features
|
||
|
|
- Easy-to-use product meta boxes
|
||
|
|
- Configurable display positions
|
||
|
|
- Settings page for global options
|
||
|
|
|
||
|
|
### Frontend Features
|
||
|
|
- Beautiful pricing tables
|
||
|
|
- Real-time cart updates
|
||
|
|
- Responsive design
|
||
|
|
|
||
|
|
## Support
|
||
|
|
|
||
|
|
- **Documentation:** See README.md and USAGE_EXAMPLES.md
|
||
|
|
- **Issues:** https://src.bundespruefstelle.ch/wc-tier-package-prices/issues
|
||
|
|
- **Author:** Marco Graetsch
|
||
|
|
|
||
|
|
## License
|
||
|
|
|
||
|
|
GPL v2 or later - https://www.gnu.org/licenses/gpl-2.0.html
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
**Note:** This is a production-ready package with optimized autoloader and no development dependencies.
|