# WooCommerce Tier and Package Prices - Release 1.0.2 **Release Date:** December 21, 2025 **Version:** 1.0.2 **Package Size:** 396 KB **Git Tag:** v1.0.2 ## Download **File:** `wc-tier-and-package-prices-1.0.2.zip` ### Checksums **SHA256:** ``` c1a5339da10b3625156b8fff4ec848e4a1318d6edc497bd5026cfe0a3ef39daa ``` **MD5:** ``` 830f443ce4b65e2ca9cfede3257bc4f5 ``` ## What's New in 1.0.2 ### Major Changes - βœ… **Settings Migrated to WooCommerce Settings Page** - Settings now appear as a dedicated tab: **WooCommerce > Settings > Tier & Package Prices** - Removed standalone submenu for better integration - Consistent UI with native WooCommerce settings ### Improvements - πŸ”„ Uses WooCommerce's native settings API (WC_Settings_Page) - 🎨 Better integration with WooCommerce admin interface - πŸ’Ύ Automatic settings persistence via WooCommerce - 🌍 Updated all translations with new settings strings ### New Features - ✨ WC_TPP_Settings class for proper WooCommerce integration - πŸ“ 9 new translatable strings in all languages - πŸ”§ Enhanced tooltips and descriptions for better UX ### Technical Changes - Implemented `woocommerce_get_settings_pages` filter hook - Uses `WC_Admin_Settings` for rendering and saving - Removed custom Twig settings template - Updated all translation files to version 1.0.2 ### Removed - ❌ Standalone settings submenu (WooCommerce > Tier & Package Prices) - ❌ Custom settings template (templates/admin/settings-page.twig) ## Installation 1. Download the ZIP file: `wc-tier-and-package-prices-1.0.2.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** 7. Go to **WooCommerce > Settings > Tier & Package Prices** to configure ### Upgrade from 1.0.1 This is a **minor update** with improved settings integration. No data migration needed. **Steps:** 1. Deactivate the current version 2. Upload and activate version 1.0.2 3. Your existing settings will be automatically preserved 4. Settings location changed: Now under **WooCommerce > Settings** tab ### Requirements - **WordPress:** 6.0 or higher - **PHP:** 7.4 or higher - **WooCommerce:** 8.0 or higher ## Translation Updates All translation files updated with new strings: ### New Translations (9 new strings) 1. "General" - Settings section 2. "Tier & Package Prices Settings" - Section title 3. "Configure tier pricing and package pricing options..." - Description 4. "Allow quantity-based pricing tiers..." - Tooltip 5. "Allow fixed-price packages..." - Tooltip 6. "Display the pricing table to customers..." - Tooltip 7. "Choose where to display the pricing table..." - Description 8. "Before Add to Cart Button" - Option 9. "After Add to Cart Button" - Option ### Languages Included - πŸ‡ΊπŸ‡Έ **English (US)** - en_US - Fully updated - πŸ‡©πŸ‡ͺ **German (Germany)** - de_DE - Fully updated (formal "Sie") - πŸ‡¨πŸ‡­ **German (Switzerland, Informal)** - de_CH_informal - Fully updated (informal "du") ## Package Contents The installation package includes: ### Core Files - `wc-tier-and-package-prices.php` (v1.0.2) - `composer.json` - Updated to 1.0.2 - `CHANGELOG.md` - Full version history ### New/Modified Files - `includes/class-wc-tpp-settings.php` ✨ NEW - `includes/class-wc-tpp-admin.php` - Updated - All translation files (.po/.mo) - Updated ### Complete Directory Structure ``` 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-settings.php ✨ NEW β”‚ └── class-wc-tpp-template-loader.php β”œβ”€β”€ languages/ # Translation files (all updated) β”‚ β”œβ”€β”€ wc-tier-package-prices-de_CH_informal.po/mo β”‚ β”œβ”€β”€ wc-tier-package-prices-de_DE.po/mo β”‚ β”œβ”€β”€ wc-tier-package-prices-en_US.po/mo β”‚ └── wc-tier-package-prices.pot β”œβ”€β”€ templates/ # Twig templates β”‚ β”œβ”€β”€ admin/ β”‚ β”‚ β”œβ”€β”€ package-row.twig β”‚ β”‚ └── tier-row.twig β”‚ └── frontend/ β”‚ β”œβ”€β”€ package-pricing-display.twig β”‚ β”œβ”€β”€ pricing-table.twig β”‚ └── tier-pricing-table.twig β”œβ”€β”€ vendor/ # Composer dependencies β”‚ └── twig/twig/ (v3.22.2) β”œβ”€β”€ CHANGELOG.md β”œβ”€β”€ README.md └── composer.json ``` ## Features (Complete List) ### 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 - βœ… **WooCommerce Settings integration** (NEW in 1.0.2) - βœ… Easy-to-use product meta boxes - βœ… Configurable display positions - βœ… Native WooCommerce UI ### Frontend Features - βœ… Beautiful pricing tables (Twig templates) - βœ… Real-time cart updates - βœ… Responsive design - βœ… 3 languages supported ## Migration Notes ### Settings Location Changed **Old Location:** WooCommerce > Tier & Package Prices **New Location:** WooCommerce > Settings > Tier & Package Prices All your existing settings are automatically preserved and will appear in the new location. ### Benefits of New Location 1. βœ… Better discoverability - users expect settings under Settings 2. βœ… Consistent with WooCommerce patterns 3. βœ… Native WooCommerce UI/UX 4. βœ… Better mobile support 5. βœ… Follows WordPress/WooCommerce best practices ## Support - **Documentation:** See README.md and USAGE_EXAMPLES.md - **Changelog:** See CHANGELOG.md for detailed changes - **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 --- **Production Ready:** This package includes optimized autoloader and no development dependencies.