/woocommerce/cart/cart-empty.php
PHP | 18 lines | 6 code | 5 blank | 7 comment | 1 complexity | 9e7f453cb504840d7da1b0b6434d98e1 MD5 | raw file
- <?php
- /**
- * Empty cart page
- *
- * @author WooThemes
- * @package WooCommerce/Templates
- * @version 2.0.0
- */
- if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
- ?>
- <p><?php _e( 'Your cart is currently empty.', 'woocommerce' ) ?></p>
- <?php do_action('woocommerce_cart_is_empty'); ?>
- <p><a class="button" href="<?php echo get_permalink(woocommerce_get_page_id('shop')); ?>"><?php _e( '← Return To Shop', 'woocommerce' ) ?></a></p>