PageRenderTime 39ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/wp-content/themes/lifeline/woocommerce/cart/cart-empty.php

https://bitbucket.org/acipriani/madeinapulia.com
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
  1. <?php
  2. /**
  3. * Empty cart page
  4. *
  5. * @author WooThemes
  6. * @package WooCommerce/Templates
  7. * @version 2.0.0
  8. */
  9. if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
  10. wc_print_notices();
  11. ?>
  12. <p class="cart-empty"><?php _e( 'Your cart is currently empty.', SH_NAME ) ?></p>
  13. <?php do_action( 'woocommerce_cart_is_empty' ); ?>
  14. <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>