- 57 unit tests covering ProductType, StockManager, CartHandler, Plugin,
Admin/ProductData, Admin/Settings using Brain Monkey + Mockery
- WooCommerce class stubs for testing without WP installation
- PHP lint and test jobs in release workflow (test gate blocks release)
- PSR-4 namespace change: WC_Composable_Product -> Magdev\WcComposableProduct
- PascalCase filenames for all classes under includes/
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Condense CLAUDE.md from ~1960 to ~160 lines keeping only essential
architecture and lessons learned. Merge INSTALL.md into README.md
and IMPLEMENTATION.md into CLAUDE.md, then delete the source files.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
CI/CD workflow now compiles .mo files during release, so they
no longer need to be tracked in git.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fix three critical bugs that persisted through v1.1.11-v1.1.14:
- Product selection always empty: meta_query checked _product_type in
postmeta, but WooCommerce uses the product_type taxonomy. Replaced
with correct tax_query using NOT IN operator.
- Cart price always 0.00: composable_price_calculated flag persisted
in session, preventing recalculation on page loads. Removed flag;
static variable already handles per-request dedup.
- Admin tabs both visible on load: JS now triggers WooCommerce native
tab click instead of manually toggling panel visibility.
Add Gitea CI/CD release workflow triggered on v* tags.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Removed exclusion of releases/ directory and *.zip files to enable
version-controlled release packages with checksums.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Implemented custom WooCommerce product type allowing customers to build their own
product bundles by selecting from predefined sets of products.
Features:
- Custom "Composable Product" type with admin interface
- Product selection by category, tag, or SKU
- Configurable selection limits (global and per-product)
- Dual pricing modes: fixed price or sum of selected products
- Modern responsive frontend with Twig templates
- AJAX add-to-cart functionality
- Full internationalization support (.pot file)
- WooCommerce settings integration
- Comprehensive documentation
Technical implementation:
- PHP 8.3+ with PSR-4 autoloading
- Twig 3.0 templating engine via Composer
- Vanilla JavaScript with jQuery for frontend interactions
- WordPress and WooCommerce hooks for seamless integration
- Security: input sanitization, validation, and output escaping
- Translation-ready with text domain 'wc-composable-product'
Documentation:
- README.md: Project overview and features
- INSTALL.md: Installation and usage guide
- IMPLEMENTATION.md: Technical architecture
- CHANGELOG.md: Version history
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>