function theme_commerce_cart_empty_block in Commerce Core 7
Themes an empty shopping cart block's contents.
1 theme call to theme_commerce_cart_empty_block()
- commerce_cart_block_view in modules/
cart/ commerce_cart.module - Implements hook_block_view().
File
- modules/
cart/ commerce_cart.module, line 824 - Implements the shopping cart system and add to cart features.
Code
function theme_commerce_cart_empty_block() {
return '<div class="cart-empty-block">' . t('Your shopping cart is empty.') . '</div>';
}