View Categories

Incorrect Calculation: Shipping or Tax Included-Amount Left Shows Wrong Value

Table of Contents

Problem Description #

The plugin reports the wrong amount left for free shipping. Examples: it includes flat shipping or taxes in the calculation, or shows negative values when it shouldn’t.

Common symptoms

  • Display shows e.g., $60.63 left when the correct expected value is $50.01.
  • The bar shows negative amounts (e.g., -£5).
  • Wrong free-shipping minimum being used.

Cause

  • Calculation settings (cart total method) may include/exclude shipping and/or taxes. Some advanced shipping features are only in Pro and can change calculations. Misconfigured “exclude shipping” or using the wrong cart total method causes the discrepancy. WordPress.org

Solution (step-by-step)

  1. Open Calculation settings: Admin → Free Shipping Bar → General → Calculation.
  2. Set calculation method:

    • If you want a simple cart-subtotal-based countdown, set Cart total method = Cart total (or Subtotal, as appropriate).
  3. Exclude shipping from calculation (if shipping was included): Enable Exclude shipping from cart total calculation. Save and test. This prevents shipping costs or shipping flat rates from affecting the amount left. WordPress.org
  4. Check tax inclusion: If you want taxes excluded, check WooCommerce tax settings and whether plugin offers an option to exclude taxes. If not, use Cart total vs Order total to influence inclusion.
  5. Check multiple shipping zones / methods: If you have different free-shipping thresholds per shipping method or zone, confirm plugin’s “Shipping methods” (Pro) settings or the zone used for calculation. For per-method minima you may need Pro or another approach. WordPress.org
  6. If negative amounts show: Ensure the free-shipping threshold value is set correctly (Admin → WooCommerce → Shipping → Free shipping method → Minimum order amount) and check plugin’s configured minimum — sometimes conflicting settings create negative outputs.
  7. Test with simple cart: Add one known-priced product and verify the calculation. If the number still wrong, enable WP_DEBUG and check for custom filters or third-party shipping filters altering totals.

Prerequisites

  • Plugin latest version; some calculation options are Pro-only. WordPress.org

Additional Notes

  • If you use custom shipping plugins (table rate, conditional shipping), confirm their interaction — plugin may need specific settings or Pro features to calculate per-method minima.

 

 

Free Shipping Bar: Amount Left for Free Shipping for WooCommerce