Free Shipping Progress Bar Shows Incorrect Total After Coupon Is Applied
Hi BeTheme team,
I'm currently using BeTheme and I really like the built-in "Free shipping bar / progress" feature that shows the remaining amount required to reach free shipping.
However, I noticed a problem when using discount coupons in WooCommerce:
When a coupon is applied at checkout (e.g. a 50% discount), the cart total is reduced, but the progress bar still calculates the required amount based on the original subtotal (before discount). This causes the bar to show incorrect progress toward free shipping and may confuse customers.
Expected behavior:
The progress bar should reflect the actual amount the customer is paying after applying the coupon, since that is the final value used to determine whether free shipping applies.
Example:
- Product price: €60
- Free shipping over: €50
- Coupon: 50% discount
- Final total: €30
- ➡️ The progress bar incorrectly shows that I already qualify for free shipping, even though the total is only €30.
My question/request:
Can you please update the progress bar logic so it uses the discounted cart total (like WC()->cart->get_total()
or get_displayed_subtotal()
) instead of the original subtotal?
If this isn't possible yet, could you point me to the function or module responsible for this logic, so I can override it via a child theme?
Thank you for your help!
Best regards,
Paulina
Comments
Hi,
There is no option to achieve that at the moment. I have passed it on to the dev team, and we will implement a feature for that in the upcoming updates.
The function responsible for that is
function mfn_tell_free_delivery()
placed inbetheme/functions/theme-woocommerce.php
.Best regards