Override the plugin class and function
thanks… I dont know if is this good way, but this code in the child theme functions.php is working for me: add_filter(‘woocommerce_product_class’, ‘myFunction’, 10, 4); function myFunction($classname, $product_type, $post_type, $product_id) { $classname=”SUB_WC_Product_my”; return $classname; } class SUB_WC_Product_my extends SUB_WC_Product { public function get_product_price( $context=”view” ) { return “AB”; } }