Special Bundle Offer! All-in-one Pack (Script + Android + iOS + Installation) Buy Now

How to add some content into empty cart page in woocommerce ???

By blog

If you want to add any content into Empty cart page to inform something to your clients or vendors. You can use this code as well you want.,

Put this code into functions.php.,


add_action( ‘woocommerce_cart_is_empty’, ‘bbloomer_add_content_empty_cart’ );

function bbloomer_add_content_empty_cart() {
echo ‘Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. ‘;


Tagged under: