You've already forked wc-tier-and-package-prices
Release version 1.2.7 - Fix v1.2.6 regressions (both issues still not working)
Fixed both critical issues that were not resolved in v1.2.6: 1. Variable Product Forms Still Not Showing (Critical) - v1.2.6 used wrong hook (woocommerce_product_options_pricing) - That hook only fires for simple products, not variable products - Changed to woocommerce_product_options_general_product_data - This hook fires for all product types after general tab - Forms now appear correctly for variable product parents 2. Table Headers Still Visible When Empty (Critical) - CSS :has() pseudo-class wasn't working reliably - Implemented JavaScript + CSS class approach instead - Added updateTableHeaders() function that toggles has-rows class - Headers hide by default, show only when table has rows - Function called on page load and after all add/remove operations - Works across all browsers without modern CSS requirements Changed files: - includes/class-wc-tpp-product-meta.php - Fixed WooCommerce hook - assets/css/admin.css - Class-based header visibility - assets/js/admin.js - Added updateTableHeaders() and parent handlers 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
1
releases/wc-tier-and-package-prices-1.2.7.zip.md5
Normal file
1
releases/wc-tier-and-package-prices-1.2.7.zip.md5
Normal file
@@ -0,0 +1 @@
|
||||
b52aec2e42c894a1949b5e5898105cf1 wc-tier-and-package-prices-1.2.7.zip
|
||||
Reference in New Issue
Block a user