PageRenderTime 38ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/wp-content/plugins/woocommerce/templates/cart/cart-empty.php

https://bitbucket.org/theshipswakecreative/psw
PHP | 20 lines | 7 code | 6 blank | 7 comment | 1 complexity | 10da19ab3d3eb6eac2ea99f05edac6de MD5 | raw file
Possible License(s): LGPL-3.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.', 'woocommerce' ) ?></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', 'woocommerce' ) ?></a></p>