You've already forked wc-tier-and-package-prices
Added comprehensive WooCommerce Blocks support for quantity restrictions and improved "View Options" button styling to match standard WooCommerce Add to Cart buttons. Features: - WooCommerce Blocks cart/mini-cart quantity restriction support - Store API integration for block-based carts - Improved "View Options" button styling with WooCommerce standards - Enhanced hover effects and transitions Technical Changes: - Added woocommerce_store_api_product_quantity_editable filter - Added block_quantity_editable() method in WC_TPP_Cart class - Enhanced CSS for .wc-block-components-quantity-selector targeting - Updated button styling: padding (0.618em × 1em), font-weight (700) - Added transition effects for smooth hover states Fixed: - WooCommerce blocks cart quantity selector now properly hidden - WooCommerce blocks mini-cart quantity selector visibility - "View Options" button now matches Add to Cart button appearance Updated Files: - includes/class-wc-tpp-cart.php (WooCommerce Blocks support) - assets/css/frontend.css (enhanced button styling) - wc-tier-and-package-prices.php (version 1.1.4) - composer.json (version 1.1.4) - CHANGELOG.md (v1.1.4 section) - All translation files (.pot, .po, .mo) updated to version 1.1.4 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
23 lines
541 B
JSON
23 lines
541 B
JSON
{
|
|
"name": "magdev/wc-tier-package-prices",
|
|
"description": "WooCommerce plugin for tier pricing and package prices with Twig templates",
|
|
"version": "1.1.4",
|
|
"type": "wordpress-plugin",
|
|
"license": "GPL-2.0-or-later",
|
|
"authors": [
|
|
{
|
|
"name": "Marco Graetsch",
|
|
"homepage": "https://src.bundespruefstelle.ch/magdev"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": ">=7.4",
|
|
"twig/twig": "^3.0"
|
|
},
|
|
"autoload": {
|
|
"classmap": [
|
|
"includes/"
|
|
]
|
|
}
|
|
}
|