WOOCS - WooCommerce Currency Switcher

YITH WooCommerce Product Add-Ons

The plugin link: https://wordpress.org/plugins/yith-woocommerce-product-add-ons/

//In file: \wp-content\plugins\yith-woocommerce-product-add-ons\includes\class.yith-wapo-frontend.php

//in function printOptions insert next code: (see image #1)
if (class_exists('WOOCS')) {
    global $WOOCS;
    $price_calculated = $WOOCS->woocs_exchange_value(floatval($price_calculated));
}

//in function get_item_data insert next code: (see image #2)
if (class_exists('WOOCS')) {
    global $WOOCS;
    $single_type_options['price'] = $WOOCS->woocs_exchange_value(floatval($single_type_options['price']));
}


//function order_item_meta insert next code: (see image #3)
if (class_exists('WOOCS')) {
    global $WOOCS;
    $single_type_options['price'] = $WOOCS->woocs_exchange_value(floatval($single_type_options['price']));
}


p.s. Works, but without menu basket!