Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Thomas Endersen

    (@thehinesgaphideaway)

    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.

    Hi there,

    Thanks for bring this our attention. We’re able to replicate issue and our dev team is working on it.

    This issue will be fixed in our next update.

    Thanks for again for your cooperation.

    Regards
    Owadud

    Thread Starter Thomas Endersen

    (@thehinesgaphideaway)

    Awesome! Thanks!

    Hi Thomas,

    We’ve released new update fixing the issue. Thanks for your support.

    Thread Starter Thomas Endersen

    (@thehinesgaphideaway)

    Thank you Owadud, I have tested and confirmed resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.