Exchange Theme Templates: content-checkout/elements/coupon-code.php

From IThemes Codex
Jump to: navigation, search

This is the default template part for the coupon code element in the coupons loop of the content-checkout template part.

Contents

Theme Location

theme/exchange/content-checkout/elements/coupon-code.php

Action Hooks

Theme API

Default Code

<?php
/**
 * This is the default template part for the
 * coupon code element in the coupons loop of the
 * content-checkout template part.
 *
 * @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/content-checkout/elements/
 * directory located in your theme.
*/
?>

<?php do_action( 'it_exchange_content_checkout_before_coupon_code_element' ); ?>
<div class="it-exchange-cart-coupon-code it-exchange-table-column">
	<?php do_action( 'it_exchange_content_checkout_begin_coupon_code_element' ); ?>
	<div class="it-exchange-table-column-inner">
		<?php it_exchange( 'coupons', 'code' ); ?>
	</div>
	<?php do_action( 'it_exchange_content_checkout_end_coupon_code_element' ); ?>
</div>
<?php do_action( 'it_exchange_content_checkout_after_coupon_code_element' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox