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

From IThemes Codex
Jump to: navigation, search

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

Contents

Theme Location

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

Action Hooks

Theme API

Default Code

<?php
/**
 * This is the default template for the 
 * super-widget-cart 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-cart/loops directory
 * located in your theme.
*/
?>

<?php do_action( 'it_exchange_super_widget_cart_before_discounts_loop' ); ?>
<?php do_action( 'it_exchange_super_widget_cart_begin_discounts_loop' ); ?>
<?php while( it_exchange( 'coupons', 'applied', array( 'type' => 'cart' ) ) ) : ?>
	<?php it_exchange( 'coupons', 'discount-label' ); ?> <?php _e( 'OFF', 'LION' ); ?> = <?php it_exchange( 'cart', 'total' ); ?>
<?php endwhile; ?>
<?php do_action( 'it_exchange_super_widget_cart_end_discounts_loop' ); ?>
<?php do_action( 'it_exchange_super_widget_cart_after_discounts_loop' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox