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 in betheme/functions/theme-woocommerce.php.


    Best regards

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.