Exchange Theme Templates: content-purchases/elements/product-count.php
From IThemes Codex
The default template part for the product count in the content-purchases template part's product-info loop *
Contents |
Theme Location
theme/exchange/content-purchases/elements/product-count.php
Action Hooks
- it_exchange_content_purchases_before_product_count_element
- it_exchange_content_purchases_after_product_count_element
Theme API
Default Code
<?php /** * The default template part for the product count in * the content-purchases template part's product-info 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/content-purchases/elements/ directory * located in your theme. */ ?> <?php do_action( 'it_exchange_content_purchases_before_product_count_element' ); ?> <span class="it-exchange-item-count"> (<?php it_exchange( 'transaction', 'product-attribute', array( 'attribute' => 'count' ) ); ?>)</span> <?php do_action( 'it_exchange_content_purchases_after_product_count_element' ); ?>