Files
magdev af532b56eb Release version 1.1.7 - Enhanced user experience features
Added three new customer-facing features to improve product page interaction
and tier pricing functionality.

Features:
- Optional text labels for tier pricing (similar to package labels)
- Clickable tier pricing table rows to auto-populate quantity field
- Add to Cart button auto-disables when quantity is 0 or less

Enhanced User Experience:
- Tier pricing rows now clickable with cursor pointer and hover animation
- Clicking tier row sets quantity and smoothly scrolls to quantity field
- Add to Cart button shows disabled state with reduced opacity
- Tier labels display below quantity in italic gray text

Technical Changes:
- Added optional 'label' field to tier pricing admin meta box
- Updated tier save logic to include label field (sanitized)
- Enhanced tier pricing frontend template to display labels
- Added click handler for tier pricing rows in frontend.js
- Added updateAddToCartButton() function to manage button state
- CSS: .wc-tpp-tier-label styling for tier labels
- CSS: Clickable cursor and hover transform for tier rows
- CSS: Disabled button styling (.single_add_to_cart_button:disabled)

Updated Files:
- templates/admin/tier-row.twig (added label field)
- includes/class-wc-tpp-product-meta.php (save label, template update)
- templates/frontend/tier-pricing-table.twig (display labels)
- assets/js/frontend.js (tier row clicks, button disable logic)
- assets/css/frontend.css (tier label style, clickable rows, disabled button)
- wc-tier-and-package-prices.php (version 1.1.7)
- composer.json (version 1.1.7)
- CHANGELOG.md (v1.1.7 section)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-22 00:15:48 +01:00
..
2025-12-21 05:14:19 +01:00
2025-12-21 05:14:19 +01:00
2025-12-21 19:36:35 +01:00

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

  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)

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

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.