woocommerce/templates/cart/cart-empty.php

23 lines
580 B
PHP
Raw Normal View History

<?php
/**
2012-08-14 18:05:45 +00:00
* Empty cart page
*
2015-06-19 20:29:37 +00:00
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
wc_print_notices();
?>
2013-06-28 09:10:13 +00:00
<p class="cart-empty"><?php _e( 'Your cart is currently empty.', 'woocommerce' ) ?></p>
2014-01-15 05:53:37 +00:00
<?php do_action( 'woocommerce_cart_is_empty' ); ?>
2015-06-19 20:29:37 +00:00
<p class="return-to-shop"><a class="button wc-backward" href="<?php echo esc_url( apply_filters( 'woocommerce_return_to_shop_redirect', wc_get_page_permalink( 'shop' ) ) ); ?>"><?php _e( 'Return To Shop', 'woocommerce' ) ?></a></p>