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

Total in product page with "YITH product-add-one"

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see blue-green button on the right side) and press Save button.
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.

Hello,
I have some problems with calculating the total on the product page (with "YITH product-add-one").
For everything else the WOOCS - Woocommerce Currency Switcher works perfectly, GREAT!!!
I have seen the page https://currency-switcher.com/yith-woocommerce-product-add-ons/ but, probably, the code is not updated for the current version of "product-add-one" because I can’t find where to apply step 2 .. If that’s the problem.

Can you help me?
Thank you very much.

PS screenshot is here: https://prnt.sc/1rdmlgj

Hello

Thank you for the signal, last time it was reviewed 2 years ago. I created task according to https://currency-switcher.com/woocs-labs/, but this can take 2 weeks to resolve according to its turn in the queue

Hi Pablo, thanks for the quick answer.
Okay, I hope that’s possible.
So I’m waiting for news

Thank you so much
Paolo

Hello Paolo

It looks like the free version is not available right now - https://c2n.me/4dm2zi7.png

So  please drop  me  wp-admin+FTP  access  to your test  site - https://share.stackovergo.com/image/i20210618130558.png -> https://share.stackovergo.com/image/i20210618130637.png

Hello, Thank you for your answer.

You can find the free version on this page:
https://yithemes.com/themes/plugins/yith-woocommerce-product-add-ons/
by clicking on "GET THE FREE VERSION".

Thank you very very much

Hello

Ok! Thank you!

Hello

In  file  - wp-content\plugins\yith-woocommerce-product-add-ons\includes\yith-wapo-functions.php - add  code - https://share.stackovergo.com/image/i20210924205826.png

if ( class_exists( 'WOOCS' ) ) {
global $WOOCS;
$currencies = $WOOCS->get_currencies();
$currency_rate = $currencies[ $WOOCS->current_currency ]['rate'];
}

And  in  file - \wp-content\plugins\yith-woocommerce-product-add-ons\includes\class-yith-wapo-cart.php - delete  this  code - https://share.stackovergo.com/image/i20210924205956.png

Hello,
Thank you very very much for your reply.

I’m sorry for the delay.
I have applied the modifications indicated.
Something has gone right, something not ;)

Now, in the total, the price of the options is correct but in the individual options is wrong.
and the final total remains in € with the symbol in $.
You can see the difference between the first screenshot
Thanks again for your time
Paolo

Hello Paolo

I will  check  it

But you should do tests with a clean install (no third-party plugins) and a free version of the plugin

Ok Pablo, I will try.

thanks ;)

Yes thank you. I need this to exclude the possibility of conflict with another plugin, and perhaps the paid and free versions of the plugin have different code

There are no such errors on my site, but I will check again

Ciao,
I disabled everything, including the template (https://prntscr.com/1u85350) but problem remains.

https://prntscr.com/1u852lu

Hello Paolo

Ok!  I will write to you as soon as I get the result

Hello

unfortunately I can't get this error - https://share.stackovergo.com/video/v20211001180101.mp4

everything works correctly

Good morning Pablo,
This video shows only operation in €, but I guess it works with all currencies. Even to me in € it works but not in $.
However I will make other attempts to understand if the two plugins can live together on my website and I will let you know.

Thank you for all your time and patience.
Paolo

Hello Paolo

It doesn't matter what currency. The main thing is that it is not the base currency.

Test - https://c2n.me/4dzcNxy