Free Shipping Calculator for Flatsome & WooCommerce

Get more sales and show the Free Shipping Calculator in your shop cart with WooCommere and Flatsome.

Free Shipping Calculator for Flatsome Theme & WooCommerce" data-src="Free Shipping Calculator for Flatsome Theme & WooCommerce">

Get the best design for your Flatsome shop from $49

95% of the Flatsome shops get more conversion + sales with our designs

See our designs

Show a free shipping method message on checkout to encourage people to buy more product in your shop. Using the free snippet of Business Bloomer it’s easy and fast without using a plugin.

Snippet

This free code is locked. 

Sign Up / Login
/**
 * @snippet       $$$ remaining to Free Shipping @ WooCommerce Cart
 * @how-to        Get CustomizeWoo.com FREE
 * @author        Rodolfo Melogli
 * @compatible    WooCommerce 3.9
 * @donate $9     https://businessbloomer.com/bloomer-armada/
 */
 
add_action( 'woocommerce_before_cart', 'bbloomer_free_shipping_cart_notice' );
  
function bbloomer_free_shipping_cart_notice() {
  
   $min_amount = 50; //change this to your free shipping threshold
   
   $current = WC()->cart->subtotal;
  
   if ( $current < $min_amount ) {
      $added_text = 'Get free shipping if you order ' . wc_price( $min_amount - $current ) . ' more!';
      $return_to = wc_get_page_permalink( 'shop' );
      $notice = sprintf( '%s %s', esc_url( $return_to ), 'Continue Shopping', $added_text );
      wc_print_notice( $notice, 'notice' );
   }
  
}

Links

More popular tutorials

Discover more articles and tutorials to help you build better.

Look better. Sell Better. With our designs.

Beautifully designed and easy customizable Flatsome demos for your WooCommerce shop. Invest in your online future.

#1 WooCommerce Designs