Closed bobbingwide closed 9 months ago
This was a typo in my most recent fix to cater for products where an optional_upgrade was defined but no options had been specified. Part of ab9db9a. I'd misspelled available_options
in the function formatAddonsArray()
.
This caused the Warnings to appear, and none of the optional upgrades were priced.
Fix delivered in v1.7.3
Warning: Undefined array key "single-single-addon-choose-from-wooden-oiled--painted-finishes:wooden" in C:\apache\htdocs\wordpress\wp-content\themes\vgc\woocommerce\inc\classes\calculate-price.php on line 135
Warning: Undefined array key "multi-single-addon-additional-staging--shelving-options:extra-staging" in C:\apache\htdocs\wordpress\wp-content\themes\vgc\woocommerce\inc\classes\calculate-price.php on line 92