Free Shipping Bar Problem
-
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.
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
Would it work with custom Shortcode?
Only place span or div with CSS for 50€ color.
Please, send us your FTP so we can check why it doesn’t work correctly on your side.
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
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
Thanx for Info.
Will check it.
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.
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