# 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

```bash
# 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:**
```bash
sha256sum -c wc-tier-and-package-prices-1.0.1.zip.sha256
```

**Using MD5:**
```bash
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)

1. Download `wc-tier-and-package-prices-1.0.1.zip`
2. Go to **WordPress Admin > Plugins > Add New**
3. Click **Upload Plugin**
4. Choose the downloaded ZIP file
5. Click **Install Now**
6. Click **Activate Plugin**

### Method 2: WP-CLI (For developers)

```bash
wp plugin install /path/to/wc-tier-and-package-prices-1.0.1.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/

# 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.
