PageRenderTime 51ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/woocommerce/cart/cart-empty.php

https://github.com/nocturneDevs/yourBoutique
PHP | 18 lines | 6 code | 5 blank | 7 comment | 1 complexity | 9e7f453cb504840d7da1b0b6434d98e1 MD5 | raw file
  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. ?>
  11. <p><?php _e( 'Your cart is currently empty.', 'woocommerce' ) ?></p>
  12. <?php do_action('woocommerce_cart_is_empty'); ?>
  13. <p><a class="button" href="<?php echo get_permalink(woocommerce_get_page_id('shop')); ?>"><?php _e( '&larr; Return To Shop', 'woocommerce' ) ?></a></p>