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
/** * @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' ); } }
Other tutorials & documentation
Boost your Flatsome shop further
Creating Responsive Image Blocks with Text in Flatsome Theme
Optimising your Product Category Page for WooCommerce
Free Shipping Calculator for Flatsome & WooCommerce
Black Friday ⚡ Limited offer 50%-Off
Get all Seb's Flatsome Designs
Enjoy instant access to our vast library of premium Flatsome templates. Save more than $600 today.
$960