Files
magdev d55ada7924 Release version 1.1.3 - Cart quantity visibility fix
Fixed persistent cart quantity input visibility issues for products with
package quantity restrictions. Enhanced implementation ensures quantity
inputs are properly hidden in both main cart and mini-cart/sidebar.

Fixes:
- Cart quantity inputs now properly hidden with increased filter priority
- Mini-cart quantity inputs correctly replaced with read-only text
- Added fallback CSS injection to handle theme/plugin conflicts
- Enhanced DOM targeting with data attributes and multiple CSS selectors

Technical Changes:
- Increased filter priority to 999 for woocommerce_cart_item_quantity
- Added woocommerce_widget_cart_item_quantity filter for mini-cart support
- Added add_cart_quantity_css() method for dynamic CSS injection
- Added maybe_hide_mini_cart_quantity_input() method
- Enhanced quantity spans with data-product-id attribute
- Added wc-tpp-restricted-qty CSS class
- Implemented sibling (+) and general sibling (~) CSS selectors

Updated Files:
- includes/class-wc-tpp-cart.php (enhanced with mini-cart support)
- wc-tier-and-package-prices.php (version 1.1.3)
- composer.json (version 1.1.3)
- CHANGELOG.md (v1.1.3 section)
- All translation files (.pot, .po, .mo) updated to version 1.1.3

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-21 19:19:18 +01:00
..
2025-12-21 05:14:19 +01:00
2025-12-21 05:14:19 +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.