woocommerce/templates/loop/no-products-found.php

24 lines
885 B
PHP
Raw Normal View History

2013-02-10 23:01:09 +00:00
<?php
/**
* Displayed when no products are found matching the current query.
*
2015-10-03 07:58:08 +00:00
* This template can be overridden by copying it to yourtheme/woocommerce/loop/no-products-found.php
2013-02-10 23:01:09 +00:00
*
* HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
* will need to copy the new files to your theme to maintain compatibility. We try to do this
* as little as possible, but it does happen. When this occurs the version of the template file will
* be bumped and the readme will list any important changes.
*
* @see http://docs.woothemes.com/document/template-structure/
2013-02-10 23:01:09 +00:00
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
2013-02-10 23:01:09 +00:00
?>
<p class="woocommerce-info"><?php _e( 'No products were found matching your selection.', 'woocommerce' ); ?></p>