<?php
/**
 * This template show all cart rule notices
 * This template can be overridden by copying it to yourtheme/woocommerce/cart/ywdpd-cart-notices.php
 *
 * @package YITH\DynamicPricingAndDiscounts\Templates
 * @since   3.0.0
 * @version 1.0.0
 * @author  YITH <plugins@yithemes.com>
 *
 * @var array $notices
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
?>

<?php foreach ( $notices as $notice ) : ?>
	<div class="ywdpd-cart-notice-info" style="background: <?php echo esc_attr( $notice['background'] ); ?>">
		<?php echo wp_kses_post( $notice['notice'] ); ?>
	</div>
<?php endforeach; ?>
