Home Forums WoodMart support forum Free Shipping Bar Problem

Free Shipping Bar Problem

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #369506

    prattsy
    Participant

    Hello,

    the displayed value does not match my entry of 50€.
    Also it is not the difference to 50€.

    Best Regards

    Attachments:
    You must be logged in to view attached files.
    #369541

    Hello,

    HTML structure does not allow solving it by custom CSS. Such modification requires complicated Woocommerce code customization which is not covered by our support.

    Best Regards

    #369542

    prattsy
    Participant

    Would it work with custom Shortcode?
    Only place span or div with CSS for 50€ color.

    #369662

    Artem Temos
    Keymaster

    Please, send us your FTP so we can check why it doesn’t work correctly on your side.

    #369760

    metuza
    Participant

    I have the same issue on my 3 sites. It was all ok before the lates theme update. It seems now to have the same calculation issue as the one fixed earlier with the patch. It uses item prices ex. tax.

    Brgds
    Rune

    #369762

    metuza
    Participant

    Ok, i have found the problem in file /wp-content/themes/woodmart/inc/integrations/woocommerce/modules/shipping-progress-bar/class-main.php on line 201. It uses taxes from shipping cost.

    I have replaced this line:
    $total = WC()->cart->get_subtotal() + WC()->cart->get_total_tax();

    With this line which also will work without taxes.
    $total = ( ‘incl’ == WC()->cart->get_tax_price_display_mode() ) ? WC()->cart->get_subtotal() + WC()->cart->get_subtotal_tax() : WC()->cart->get_subtotal();

    Brgds
    Rune

    #369785

    prattsy
    Participant

    Thanx for Info.
    Will check it.

    #369787

    prattsy
    Participant

    THANKYOU!

    #369790

    prattsy
    Participant

    I use woodmart Child Theme.
    Where must i place the class-main.php ?
    If i place it under
    /wp-content/themes/woodmart-child/inc/integrations/woocommerce/modules/shipping-progress-bar/class-main.php
    it not work.
    Want prevent next woodmart update.

    #369847

    Artem Temos
    Keymaster

    Hello,

    Thank you for your feedback. We have released a patch with a similar fix 369843. You can apply it via WoodMart -> Patcher.

    Kind Regards

Viewing 10 posts - 1 through 10 (of 10 total)