Hello, thanks for your answer.
The thing is, this function is only returning some “hardcoded” array and it is not dependent on the product add-on options:
public function get_available_addon_types() {
return array( 'checkbox', 'radio', 'text', 'select' );
}
Basically what I need to achieve is what the method YITH_WAPO_Type::getAllowedGroupTypes( $product_id )
did, so I want to pass the product_id and retrieve information which “Options block” is assigned to it. Is it possible?