woocommerce/templates/cart/cart-empty.php

18 lines
500 B
PHP
Raw Normal View History

<?php
/**
2012-08-14 18:05:45 +00:00
* Empty cart page
*
* @author WooThemes
* @package WooCommerce/Templates
2013-02-10 16:05:40 +00:00
* @version 2.0.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
?>
2013-06-28 09:10:13 +00:00
<p class="cart-empty"><?php _e( 'Your cart is currently empty.', 'woocommerce' ) ?></p>
<?php do_action('woocommerce_cart_is_empty'); ?>
2013-06-28 09:10:13 +00:00
<p class="return-to-shop"><a class="button" href="<?php echo get_permalink(woocommerce_get_page_id('shop')); ?>"><?php _e( '&larr; Return To Shop', 'woocommerce' ) ?></a></p>