You've already forked wc-tier-and-package-prices
Release version 1.1.20 - Fix WooCommerce Blocks fatal error
## Fixed - Fatal error in WooCommerce Blocks: "Cannot use object of type WC_Product_Simple as array" - Error occurred in class-wc-tpp-cart.php:233 in block_quantity_editable() method ## Technical Details - Filter woocommerce_store_api_product_quantity_editable passes WC_Product object as second parameter, not cart item array - Updated method signature from block_quantity_editable($editable, $cart_item) to block_quantity_editable($editable, $product) - Changed parameter access from $cart_item['id'] to $product->get_id() - Added proper product object validation with is_a($product, 'WC_Product') ## Added - CLAUDE.md - Comprehensive AI context document for future development - Complete project architecture documentation - Historical bug context and solutions - Development guidelines and testing checklists ## Release - Version bumped to 1.1.20 - Release package created with MD5 and SHA256 checksums 🤖 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.1.20.zip.sha256
Normal file
1
releases/wc-tier-and-package-prices-1.1.20.zip.sha256
Normal file
@@ -0,0 +1 @@
|
||||
953859241d15d76ec4783c72bac851ddd69e5a1f7b119ee4f9ebd30c7fabed17 wc-tier-and-package-prices-1.1.20.zip
|
||||
Reference in New Issue
Block a user