---
title: "Free Shipping Bar Not Showing in the WooCommerce Cart Block or Mini-Cart"
description: "Show the amount left for free shipping with the Cart, Checkout or Mini-Cart blocks using the shortcode or the classic cart."
url: "https://wpfactory.com/docs/plugin-cart-block-issue/"
updated: "2026-10-05"
category: Troubleshooting
tags:
  - Free Shipping Bar
---

# Free Shipping Bar Not Showing in the WooCommerce Cart Block or Mini-Cart

If [Free Shipping Bar: Amount Left for Free Shipping for WooCommerce](https://wpfactory.com/item/amount-left-free-shipping-woocommerce/) shows on a classic cart page but not with the WooCommerce Cart block, Checkout block or Mini-Cart block, those blocks skip the classic hooks the plugin prints on. Add the `[alg_wc_left_to_free_shipping]` shortcode next to the block, or switch the page back to the classic cart.

## Symptoms

- The text or progress bar appears on a cart page built with the `[woocommerce_cart]` shortcode, but not on a cart page that uses the Cart block.
- Nothing appears on a Checkout block page even though the **Checkout** section is enabled.
- Nothing appears in a block theme's Mini-Cart block or in a page builder's cart widget.

## Why it happens

The **Cart**, **Checkout** and **Mini-cart** sections under **WPFactory > Left for Free Shipping** (also reachable at **WooCommerce > Settings > Amount Left for Free Shipping**) print the text on classic WooCommerce template hooks, for example `woocommerce_after_cart_totals`, `woocommerce_checkout_after_order_review` and `woocommerce_after_mini_cart`. The Cart, Checkout and Mini-Cart blocks are rendered with JavaScript and do not run those hooks, so there is nowhere for the text to go. Changing the **Position** setting does not help, because every position in the list is a classic hook.

## Fix 1: Place the shortcode next to the block (free)

1. Edit your cart page in **Pages**.
2. Add a **Shortcode** block above or below the Cart block and enter `[alg_wc_left_to_free_shipping]`.
3. Update the page and check it with a product in the cart.

The shortcode shows the amount calculated when the page loads. The Cart block updates totals without the classic cart events, so the text may keep the old amount until the page reloads. With **Enable AJAX** (Pro, **Advanced > AJAX Options**) the shortcode refreshes on standard WooCommerce cart events; if your blocks do not fire them, the text still updates on reload. For shortcode attributes and the widget, see [Free Shipping Shortcodes and Widget in WooCommerce](https://wpfactory.com/docs/free-shipping-progress/).

## Fix 2: Switch the page to the classic cart or checkout

If you need the built-in positions, live updates on quantity changes and the in-table options, use the classic templates:

1. Edit the cart page and replace the Cart block with a Shortcode block containing `[woocommerce_cart]`. For checkout, use `[woocommerce_checkout]` in place of the Checkout block.
2. Update the page, then configure the **Cart** and **Checkout** sections as described in [Display Free Shipping Info on the WooCommerce Cart Page](https://wpfactory.com/docs/control-free-shipping-info/) and [Display Free Shipping Info on the WooCommerce Checkout](https://wpfactory.com/docs/guide-to-free-shipping/).

The **Checkout** and **Mini-cart** sections are Pro. The **Cart** section is free.

## Fix 3: Mini-carts, widgets and page builders

- **Classic mini-cart widget:** enable the **Mini-cart** section (Pro) and pick a **Position** such as **After mini cart** (default) or **Before mini cart buttons**. See [Show Free Shipping Info in the WooCommerce Mini Cart](https://wpfactory.com/docs/free-shipping-upgrade/).
- **Mini-Cart block or a page builder cart:** these usually skip the classic mini-cart hooks. Place the shortcode in a Shortcode or text widget near the cart instead, or use the **Amount Left for Free Shipping** widget. See [Add the Amount Left for Free Shipping Widget](https://wpfactory.com/docs/woocommerce-amount-left-free-shipping-widget/).
- **Site-wide banner:** the **Store notice** section (Pro) shows the message on every page without depending on cart templates. See [Default and Site-Wide Free Shipping Notices in WooCommerce](https://wpfactory.com/docs/store-notices-options/).

## Confirm the fix

Open the cart page in a private window with a product in the cart. You should see the default text "[amount] left for free shipping", or your custom content. If you see the raw shortcode text, check the spelling of `[alg_wc_left_to_free_shipping]` and that the plugin is active.

Need a hand? Our team answers every ticket on the [Amount Left for Free Shipping support forum](https://wpfactory.com/support/item/amount-left-free-shipping-woocommerce/). Include your theme name and whether the cart page uses blocks.

Related articles

- [Free Shipping Bar Text Doesn’t Update When the Cart Changes](https://wpfactory.com/docs/bar-text-not-updating/)
- [Mini-Cart and Add to Cart Free Shipping Notices in WooCommerce](https://wpfactory.com/docs/mini-cart-notice/)
- [General and Cart Options for the WooCommerce Free Shipping Bar](https://wpfactory.com/docs/cart-settings/)
- [Free Shipping Bar Troubleshooting Checklist](https://wpfactory.com/docs/troubleshooting-checklist/)
- [Free Shipping Bar Breaks After a WordPress or WooCommerce Update](https://wpfactory.com/docs/plugin-breaks-after-update/)

 

[![Free Shipping Bar: Amount Left for Free Shipping for WooCommerce](https://wpfactory.com/wp-content/uploads/Free-Shipping-Over-Amount-Bar-for-WooCommerce.webp)](https://wpfactory.com/item/amount-left-free-shipping-woocommerce/)
