View Categories

Display Free Shipping Info on the WooCommerce Cart Page

The Cart section of the Free Shipping Bar: Amount Left for Free Shipping for WooCommerce shows the amount left for free shipping on the cart page. This is the section most stores enable first, and it is fully free.

Go to WPFactory > Left for Free Shipping (also reachable at WooCommerce > Settings > Amount Left for Free Shipping) and open the Cart section.

Cart section settings for Amount Left for Free Shipping

Cart options #

Label Option ID Default Free/Pro
Enable section alg_wc_left_to_free_shipping_info_enabled_cart No Free
Content alg_wc_left_to_free_shipping_info_content_cart %amount_left_for_free_shipping% left for free shipping Free
Position alg_wc_left_to_free_shipping_info_position_cart After cart totals Free
Position order (priority) alg_wc_left_to_free_shipping_info_priority_cart 10 Free
Custom style alg_wc_left_to_free_shipping_cart_custom_style_enabled No Pro

The Position dropdown offers the full set of WooCommerce cart hooks, from Before cart through After cart totals to the in-table positions such as Cart totals: After order total (in table). Use Position order (priority) to move the message up or down within the position you chose.

Wrapper options for in-table positions #

Some positions sit inside a table and need HTML row tags around the content. The Wrap method option (alg_wc_left_to_free_shipping_cart_wrap_method) controls this:

  • Smart: wraps automatically only for the in-table positions.
  • Ignore (default): never wraps.
  • Force: always wraps using your template.

When wrapping is applied, the Wrap template (alg_wc_left_to_free_shipping_cart_wrap_template) is used. The default is <tr><th></th><td>{content}</td></tr>, which suits table positions.

Custom style (Pro) #

On the Cart section, enabling Custom style lets you set the text color (alg_wc_left_to_free_shipping_cart_custom_color) and font size (alg_wc_left_to_free_shipping_cart_font_size). The Custom style toggle here is a Pro feature; the color and size fields still appear so you can preview them.

Get more control #

The cart display is free. Amount Left for Free Shipping Pro adds mini-cart and checkout sections, an “add to cart” notice, a site-wide store notice, and AJAX updates. See what Pro unlocks.

 

Free Shipping Bar: Amount Left for Free Shipping for WooCommerce