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

Incompatibility with Yith Product Add-ons & Extra Options

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.

Hi, I have been using your mutlivaluta plugin for a long time and I feel great.
Recently I added a new plugin of yith to edit the product page and give the opportunity to buy bundled products.
With the euro no problem and it works great, but when I change the currency on the site the prices are wrong. How can I remedy this mistake?

Regards

Hello

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

 

Hello,
I saw that you have already made a change to the code in order to make compatible the two plugins.

I notice, however, that it refers to an old version of the FOX plugin, especially prior to the recent Major Update.

Is it possible to ask you to double-check and update the code please?

Hello

if you find an incompatibility (as described in the article -  https://currency-switcher.com/woocs-labs ) - you can create a new adaptation request

please  add  wp-admin+ftp  access to your test site - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png

Describe in more detail what incompatibilities this plugin has.

And I'll add it to the adaptation queue

I try to explain better what the problem is:
the plugins together work well, I can see the prices in all currencies, but the calculations between them are wrong, for example if a price is discounted or if I decide to buy a combined product, its sum is wrong in all currencies other than euro.

I also tried to activate the setting"Individual fixed prices rules for each product(*)" in the"advanced" section and give a dollar price to two products. In this case the sum between the two prices does not happen, giving me as value the price of the first product.

this problem is only in the cart.

Hello

Ok!  Can  you  drop me  wp-admin+ftp access to your test  site? - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png

Hello, unfortunately, I cannot provide you with access to the site as I do not have a staging site for testing, and currently, the site is fully operational.

I take this opportunity to describe my problem in as much detail as possible. I start from a situation where your currency conversion plugin was already present in my e-commerce.

I installed the Yith Product Add-Ons and Extra Option plugin (Premium version) to be able to add related products directly to the cart from the product page as shown in the photo: [PHOTO1]. These products are WooCommerce products, called in the Yith plugin through product codes and categories, saving both information and original prices.

With the currency in euros (which is the base currency of the site), when the product is added to the cart, there is no error, whether the product is added individually or with the addition of new products; the prices are correct and do not cause any problems [PHOTO2].

When I change the currency, in this case too, on the product page, the prices are correctly displayed in the selected currency [PHOTO3], even if I decide to add the single reference product to the cart without adding additional products [PHOTO4].

However, if I decide to add new products to the cart in addition to the reference one, whether the prices have discounts set by the Yith plugin in question (Oud Veneziano - Refill 500ml Reed Diffuser with Sticks - Luxury Soap Body & Hands Oud Veneziano 250ml), or they have the original price (Tester Pack Home Fragrances - Gift Packaging - Greetings Card), or even if they are free [PHOTO5], the price (in the cart and at checkout) starts to have incorrect values [PHOTO6], without being able to understand well what is happening.

I also noticed that by activating the"Individual fixed prices rules for each product" setting and manually entering prices in the respective other currencies, the problem worsens significantly.

If I were to add a bundle of products to the cart with this setting activated, there is a bug that makes me purchase all the selected products at the price of the base product.

I hope I have been clear, and I hope you can resolve the issue as soon as possible, as my customers are used to purchasing products in their original currency. I had to deactivate your plugin to prevent this problem from occurring.

If I can't resolve this soon, I will be forced to look for a new compatible plugin.

Best Regards.

Hello

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

Hello

In file  - \wp-content\plugins\yith-woocommerce-advanced-product-options-premium\includes\class-yith-wapo-cart.php - add  code - https://share.pluginus.net/image/i20231208181218.png

if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$currrent = $WOOCS->current_currency;
if ($currrent != $WOOCS->default_currency) {
$currencies = $WOOCS->get_currencies();
$rate = $currencies[$currrent]['rate'];
$product_price = $product_price / $rate;
}
}
}

and  do a test

hello, thank your for your kind reply, unfortunately inside In file  - \wp-content\plugins\yith-woocommerce-advanced-product-options-premium\includes\class-yith-wapo-cart.php

I can not find the code you screenshoted me

instead I find these 3 references

maybe we have different versions of the plugin, mine is the latest

I post the entire plugin as a zip file if you need it

https://www.transferxl.com/download/08jGCnrTkBdZbX

 

also, inside of includes\yith-wapo-functions.php

I see the following

So.. In the product page calculations are done correctly, but sums get screwed up in the cart and checkout sections

Since it is a production website I had to switch off Fox for not getting weird prices and payments , but I would like to get back using it asap

If you need it I can provide access to the site, but beware it is a production site

Hello

Yes, it is possible that the version that is available to us is already outdated

Please  read  this - https://pluginus.net/support/topic/wrong-exaggerated-price-on-cart-and-checkout-page/

it worked! please contact yith themes to update their plugins : support@yithemes.com

Hello

Great! Welcome;)