Exchange Theme Templates: content-purchases/loops/product-info.php

From IThemes Codex
Jump to: navigation, search

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

Contents

Theme Location

theme/exchange/content-purchases/loops/product-info.php

Action Hooks

Theme API

Currently no api calls for this file.

Default Code

<?php
/**
 * The default product-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_product_info_loop' ); ?>
<div class="it-exchange-item-data-top">
<?php do_action( 'it_exchange_content_purchases_begin_product_info_loop' ); ?>
	<?php foreach ( it_exchange_get_template_part_elements( 'content_purchases', 'product_fields', array( 'product-title',  'product-count', 'product-subtotal' ) ) as $detail ): ?>
		<?php it_exchange_get_template_part( 'content-purchases/elements/' . $detail ); ?>
	<?php endforeach; ?>
</div>
<div class="it-exchange-item-data-bottom">
	<?php foreach( it_exchange_get_template_part_elements( 'content_purchases', 'fields', array( 'product-description' ) ) as $detail ): ?>
		<?php it_exchange_get_template_part( 'content-purchases/elements/' . $detail ); ?>
	<?php endforeach; ?>
<?php do_action( 'it_exchange_content_purchases_end_product_info_loop' ); ?>
</div>
<?php do_action( 'it_exchange_content_purchases_after_product_info_loop' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox