Exchange Theme Templates: content-confirmation/loops/products.php

From IThemes Codex
Jump to: navigation, search

The transaction products loop.

Contents

Theme Location

theme/exchange/content-confirmation/loops/products.php

Action Hooks

Theme API

Default Code

<?php
/**
 * The transaction products 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, simply copy over this
 * file's content to the exchange/content-confirmation/loops/
 * directory located in your theme.
*/
?>

<?php do_action( 'it_exchange_content_confirmation_before_products_loop' ); ?>
<?php if ( it_exchange( 'transaction', 'has-products' ) ) : ?>
	<?php do_action( 'it_exchange_content_confirmation_begin_products_loop' ); ?>
	<div class="it-exchange-transaction-products">
		<?php while( it_exchange( 'transaction', 'products' ) ) : ?>
			<?php it_exchange_get_template_part( 'content-confirmation/elements/product' ); ?>
		<?php endwhile; ?>
	</div>
	<?php do_action( 'it_exchange_content_confirmation_end_products_loop' ); ?>
<?php endif; ?>
<?php do_action( 'it_exchange_content_confirmation_after_products_loop' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox