Exchange Theme Templates: super-widget-checkout/loops/discounts.php

From IThemes Codex
Jump to: navigation, search

This is the default template for the super-widget-checkout discounts loop.

Contents

Theme Location

theme/exchange/super-widget-checkout/loops/discounts.php

Action Hooks

Theme API

Default Code

<?php
/**
 * This is the default template for the 
 * super-widget-checkout discounts 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-checkout/loops directory
 * located in your theme.
*/
?>
<?php do_action( 'it_exchange_super_widget_checkout_before_discounts_loop' ); ?>
<div class="cart-discount cart-totals-row">
	<?php do_action( 'it_exchange_super_widget_checkout_begin_discounts_loop' ); ?>
	<?php while( it_exchange( 'coupons', 'applied', array( 'type' => 'cart' ) ) ) : ?>
		<?php _e( 'Discount:', 'LION' ); ?> <?php it_exchange( 'coupons', 'discount-label' ); ?> <?php _e( 'OFF', 'LION' ); ?>
	<?php endwhile; ?>
	<?php do_action( 'it_exchange_super_widget_checkout_end_discounts_loop' ); ?>
</div>
<?php do_action( 'it_exchange_super_widget_checkout_after_discounts_loop' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox