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 pleaseIf 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.
Quote from Dr. Saleem on December 31, 2020, 09:29Hi,
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 -
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 -

Quote from Dr. Saleem on December 31, 2020, 09:32You can recreate the issue here - https://bit.ly/3rIJuGz
You can recreate the issue here - https://bit.ly/3rIJuGz
Quote from Pablo Borysenco on December 31, 2020, 11:44Hello
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
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
Quote from Dr. Saleem on January 10, 2021, 07:54Required details have been submitted.
Required details have been submitted.
Quote from Dr. Saleem on January 11, 2021, 10:02If you need anything else, please let me know.
If you need anything else, please let me know.
Quote from Pablo Borysenco on January 11, 2021, 11:44Hello
I added this plugin to the adaptation queue.
Hello
I added this plugin to the adaptation queue.
Quote from Pablo Borysenco on January 15, 2021, 19:13Hello
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
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
Quote from Dr. Saleem on January 19, 2021, 08:52Thanks. It works like a charm.
Thanks. It works like a charm.
Quote from Dr. Saleem on January 19, 2021, 08:54In future updates, when I update this plugin, do I need to insert this code after the update is completed?
In future updates, when I update this plugin, do I need to insert this code after the update is completed?
Quote from Pablo Borysenco on January 19, 2021, 12:09Hello
, 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.
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.