Fixed Added missing flush of the ecommerce object on the select_item event. 1.17 introduced a bug that caused item brand to be limited to a product attribute. Changed Tested up to WooCommerce 8.5. Minor refactoring.