Exchange Theme Templates: super-widget-cart/loops/applied-coupons.php

From IThemes Codex
Jump to: navigation, search

This is the default template for the super-widget-cart applied-coupons loop. *

Contents

Theme Location

theme/exchange/super-widget-cart/loops/applied-coupons.php

Action Hooks

Theme API

Default Code

<?php
/**
 * This is the default template for the 
 * super-widget-cart applied-coupons loop.
 *
 * @since 1.1.0
 * @version 1.1.0
 * @package IT_Exchange
 * 
 * WARNING: Do not edit this file directly. To use
 * this template in a theme, copy over this file
 * to the exchange/super-widget-cart/loops directory
 * located in your theme.
*/
?>

<?php do_action( 'it_exchange_super_widget_cart_before_applied_coupons_loop' ); ?>
<ul class="applied-coupons">
	<?php do_action( 'it_exchange_super_widget_cart_begin_applied_coupons_loop' ); ?>
	<?php while( it_exchange( 'coupons', 'applied', array( 'type' => 'cart' ) ) ) : ?>
		<li class="coupon">
			<?php it_exchange( 'coupons', 'code' ); ?> – <?php it_exchange( 'coupons', 'discount-label' ); ?> <?php it_exchange( 'coupons', 'remove', array( 'type' => 'cart' ) ); ?>
		</li>
	<?php endwhile; ?>
	<?php do_action( 'it_exchange_super_widget_cart_end_applied_coupons_loop' ); ?>
</ul>
<?php do_action( 'it_exchange_super_widget_cart_after_applied_coupons_loop' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox