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

Request for compatibility code WOOCS LABS

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,

The following plugin is creating issues with the currency switcher plugin -

WooCommerce – Show only lowest prices in variable products

Here is the link to the Wordpress plugins directory for this plugin -

https://wordpress.org/plugins/show-only-lowest-prices-in-woocommerce-variable-products/

Now let me explain the issue -

This plugin removes the price range that is displayed by default by woocommerce to present the minimum price and maximum price for a variable product.

Instead of the price range, it only displays the minimum price of the product (the variation that is priced least) as the default price.

Now the problem is that if you have a product on sale (regular price and sale price are configured for the product variations) then if we change the currency usng the currency switcher plugin, the regular price is not displayed correctly. Only the sale price is displayed with correct calculation.

Please see the screenshot below for base currency (INR) outputs correct price -

But after changing the currency it outputs incorrect regular price. See screenshot below -

You can recreate the issue here - https://bit.ly/3rIJuGz

Hello

Paste your license key here - https://c2n.me/43SC6rb.png -> https://c2n.me/42HBIt7.png and  FTP+wp-admin access tp your test  site - https://c2n.me/42BAoj4.png

I'll add this to the adaptation queue

Required details have been submitted.

If you need anything else, please let me know.

Hello

I added this plugin to the adaptation queue.

Hello

In file  - \wp-content\plugins\show-only-lowest-prices-in-woocommerce-variable-products\show-lowest-woo-variable-prices.php - add  code - https://c2n.me/4azsRJG.png

if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->current_currency != $WOOCS->default_currency) {
$currencies = $WOOCS->get_currencies();
$prices[0] = $prices[0] / $currencies[$WOOCS->current_currency]['rate'];
if($prices[1]){
$prices[1] = $prices[1] / $currencies[$WOOCS->current_currency]['rate'];
}
}
}

I did  it. Please  do a  test

Thanks. It works like a charm.

In future updates, when I update this plugin, do I need to insert this code after the update is completed?

Hello

, do I need to insert this code after the update is completed? - Yes

But you can write to support this third-party plugin. Maybe they will include it in the next version.