PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Wrong/exaggerated price on cart and checkout page

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

I am having troubles with a third-party plugin (YITH WooCommerce Product Add-ons & Extra Options Premium) and I have tried some of the recommended solutions but it doesn't seem to work, Please help

Hello

This is an incompatibility with a third party plugin

Do you read this - https://currency-switcher.com/woocs-labs

Yes I did and even tried to hire a dev from fiverr to implement the solution for YITH WooCommerce Product Add-ons & Extra Options Premium but it still didn't work, Would you mind trying? Also would you mind recommending a third party woocommerce product addons that you're show works with your plugin in a case that we are unable to make YITH WooCommerce Product Add-ons & Extra Options Premium work on the site. Thank you

Please drop me wp-admin+ftp access to your test site- https://share.pluginus.net/image/i20230222134241.png ->  https://share.pluginus.net/image/i20230222134615.png - I will check it

I have sent the login data over, please let me know if you're able to login successfully

Hello, were you able to login?

Hello

access is ok

I'll write to you as soon as we get the result

Hello

I added  in  file functions.php

 add_filter( 'yith_wapo_get_addon_price', function($price, $do, $price_method, $price_type, $index){
if (class_exists('WOOCS') && $price > 0 && 'percentage' !== $price_type && 'multiplied' !== $price_type) {
global $WOOCS;
$price = $WOOCS->woocs_exchange_value(floatval($price));
}
return $price;
 },99, 5 );
 add_filter( 'yith_wapo_get_addon_sale_price', function($price, $do, $price_method, $price_type, $index){
if (class_exists('WOOCS') && $price > 0 && 'percentage' !== $price_type && 'multiplied' !== $price_type) {
global $WOOCS;
$price = $WOOCS->woocs_exchange_value(floatval($price));
}
return $price;
 },99, 5 );
add_filter( 'yith_wapo_total_item_price', function($total_options_price){
if (class_exists('WOOCS') && $total_options_price) {
    global $WOOCS;
    if ($WOOCS->is_multiple_allowed) {
        $currrent = $WOOCS->current_currency;
        if ($currrent != $WOOCS->default_currency) {
            $currencies = $WOOCS->get_currencies();
            $rate = $currencies[$currrent]['rate'];
            $total_options_price = $total_options_price / $rate;
        }
    }
}
return $total_options_price;
} );
Please  do a test

Thank you very much, really appreciate your help.

Hello

Welcome;)