/wp-content/themes/lifeline/woocommerce/cart/cart-empty.php
PHP | 14 lines | 7 code | 0 blank | 7 comment | 1 complexity | 9db34ea1908a00cf29535aa9f5e030c4 MD5 | raw file
Possible License(s): GPL-3.0, MIT, BSD-3-Clause, LGPL-2.1, GPL-2.0, Apache-2.0
- <?php
- /**
- * Empty cart page
- *
- * @author WooThemes
- * @package WooCommerce/Templates
- * @version 2.0.0
- */
- if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
- wc_print_notices();
- ?>
- <p class="cart-empty"><?php _e( 'Your cart is currently empty.', SH_NAME ) ?></p>
- <?php do_action( 'woocommerce_cart_is_empty' ); ?>
- <p class="return-to-shop"><a class="button wc-backward" href="<?php echo apply_filters( 'woocommerce_return_to_shop_redirect', get_permalink( wc_get_page_id( 'shop' ) ) ); ?>"><?php _e( 'Return To Shop', SH_NAME ) ?></a></p>