You've already forked wc-licensed-product
Fix licensed variable products not showing variations (v0.5.10)
- Re-load product via wc_get_product() to ensure correct class instance - Removed overly strict type check that prevented variations from displaying - Now mirrors WooCommerce's standard woocommerce_variable_add_to_cart() Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.5.10] - 2026-01-27
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed licensed variable products not showing variations even when attributes are defined
|
||||
- Re-load product via `wc_get_product()` to ensure correct class instance is used
|
||||
- Removed overly strict type check that was preventing variations from displaying
|
||||
- Now mirrors WooCommerce's standard `woocommerce_variable_add_to_cart()` implementation
|
||||
|
||||
## [0.5.9] - 2026-01-27
|
||||
|
||||
### Fixed
|
||||
|
||||
Reference in New Issue
Block a user