Exchange Theme Templates: content-purchases/loops/transaction-products.php

From IThemes Codex
Revision as of 11:34, August 13, 2013 by Kopepasah (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The default transaction-info loop for the content-purchases.php template part.

Contents

Theme Location

theme/exchange/content-purchases/loops/transaction-products.php

Action Hooks

Theme API

Default Code

<?php
/**
 * The default transaction-info loop for the content-purchases.php 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-purchases/loops/ directory
 * located in your theme.
*/
?>

<?php do_action( 'it_exchange_content_purchases_before_transaction_products_loop' ); ?>
<?php while( it_exchange( 'transaction', 'products' ) ) : ?>
<?php do_action( 'it_exchange_content_purchases_begin_transaction_products_loop' ); ?>
	<?php do_action( 'it_exchange_content_purchases_begin_transaction_products' ); ?>
	<div class="it-exchange-purchase-items">
		<div class="it-exchange-item-info">
			<div class="it-exchange-item-thumbnail">
				<?php it_exchange_get_template_part( 'content-purchases/elements/product-featured-image' ); ?>
			</div>
			<div class="it-exchange-item-data">
				<?php it_exchange_get_template_part( 'content-purchases/loops/product-info' ); ?>
			</div>
		</div>
	</div>
	<?php do_action( 'it_exchange_content_purchases_end_transaction_products' ); ?>
<?php do_action( 'it_exchange_content_purchases_end_transaction_products_loop' ); ?>
<?php endwhile; ?>
<?php do_action( 'it_exchange_content_purchases_after_transaction_products_loop' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox