woocommerce/templates/shop/errors.php

11 lines
193 B
PHP
Raw Normal View History

2012-02-08 15:20:32 +00:00
<?php
/**
* Error messages
*/
if ( ! $errors ) return;
2012-02-08 15:20:32 +00:00
?>
<ul class="woocommerce_error">
<?php foreach ( $errors as $error ) : ?>
2012-02-08 15:20:32 +00:00
<li><?php echo $error; ?></li>
2012-02-08 15:55:02 +00:00
<?php endforeach; ?>
2012-02-08 15:20:32 +00:00
</ul>