Hi I have the same issue and managed to find the issue. I am running code snippets plugin and one specific snippet is doing this issue.
the following snippet looks like
function edit_price_display($price, $product) {
$min_price = $product->get_variation_price('min');
$max_price = $product->get_variation_price('max');
$min_price_excl_tax = $min_price / 1.2;
$max_price_excl_tax = $max_price / 1.2;
$min_price_excl_tax = number_format($min_price_excl_tax, 2, ",", ".");
$min_price = number_format($min_price, 2, ",", ".");
$max_price_excl_tax = number_format($max_price_excl_tax, 2, ",", ".");
$max_price = number_format($max_price, 2, ",", ".");
if($min_price == $max_price){
$display_price = '<span class="price">';
$display_price .= '<span class="amount">' . $min_price .' €<small class="woocommerce-price-suffix"> s DPH</small></span>';
$display_price .= '<br>';
$display_price .= '<span class="amount amount-excl">' . $min_price_excl_tax .' €<small class="woocommerce-price-suffix"> bez DPH</small></span>';
$display_price .= '</span>';
}else{
$display_price = '<span class="price">';
$display_price .= '<span class="amount">' . $min_price .' €<small class="woocommerce-price-suffix"> - </small>' . $max_price .' €<small class="woocommerce-price-suffix"> s DPH</small></span>';
$display_price .= '<br>';
$display_price .= '<span class="amount amount-excl">' . $min_price_excl_tax .' €<small class="woocommerce-price-suffix"> - </small>' . $max_price_excl_tax .' €<small class="woocommerce-price-suffix"> bez DPH</small></span>';
$display_price .= '</span>';
}
echo $display_price;
}
//add_filter('woocommerce_price_html', 'edit_price_display', 10, 2);
add_filter('woocommerce_variable_price_html', 'edit_price_display', 10, 2);
and even if I enable it only in the front end the stock manager will not work
I am running
WordPress 5.1.10 with Butique theme
Woocommerce 3.5.7
Woocommerce stock manager 2.6.0