You've already forked wc-tier-and-package-prices
## 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>
11 KiB
11 KiB