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

Double counted price for variation products.

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.

Hello, my trying to apply this code to revome price range for variation products - https://businessbloomer.com/disable-variable-product-price-range-woocommerce/
But currency switcher is not working corectly, all prices are double counted . Also i've tried both modes: 'Is multiple allowed' -> as Yes or No. When No is checked, all works correct. Theme - Flatsome. Could you help me please?

Hello

What snippet do you use?

PHP Snippet 2: Change WooCommerce Variable Product Price Range $$$-$$$ to “From: $$$min_reg_price $$$min_sale_price”

Hello

Paste this  code  here - https://c2n.me/42ZcmQf.png

if (class_exists('WOOCS')) {
    global $WOOCS;
    if ($WOOCS->is_multiple_allowed) {
        $currencies = $WOOCS->get_currencies();
        $conversion_rate = $currencies[$WOOCS->current_currency]['rate'];
        $min_var_reg_price = $min_var_reg_price / $conversion_rate;
        $min_var_sale_price = $min_var_sale_price / $conversion_rate;
        $max_var_reg_price = $max_var_reg_price / $conversion_rate;
        $max_var_sale_price= $max_var_sale_price / $conversion_rate;
    }
}