Hello, this is the issue:
$price_html = $this->format_sale_price($rp, $sp, $is_wholesale_price_applied) . $product->get_price_suffix();
In class-wholesalex-dynamic-rules.php line 6742
It returns:
string(312) “<del aria-hidden=”true”><span class=”woocommerce-Price-amount amount”><bdi><span class=”woocommerce-Price-currencySymbol”>$</span>0.00</bdi></span></del> <ins>Wholesale Price:<span class=”woocommerce-Price-amount amount”><bdi><span class=”woocommerce-Price-currencySymbol”>$</span>0.00</bdi></span></ins>”
And the bug is at:
if ( ! empty( $sale_price ) && ! empty( $regular_price ) ) {
return ” . wc_price( floatval( $regular_price ) ) . ‘ ‘ . $sale_text . wc_price( floatval( $sale_price ) ) . ”;
}
line 2414
…Because $regular_price and $sale_price are in the form of a range as a string:
(sale) “$222.15 – $539.80” (low to high of variation)
(regular) “$233.84 – $568.21” (low to high of variation)
I’m applying a temp fix on my side since the bug looks ugly on our site.