Exchange Theme Templates: super-widget-cart/loops/items.php

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

This is the default template for the super-widget-cart items loop.

Contents

Theme Location

theme/exchange/super-widget-cart/loops/items.php

Action Hooks

Theme API

Currently no api calls for this file.

Default Code

<?php
/**
 * This is the default template for the 
 * super-widget-cart items 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/super-widget-cart directory
 * located in your theme.
*/
?>

<?php do_action( 'it_exchange_super_widget_cart_before_items_loop' ); ?>
<div class="cart-item">
	<?php do_action( 'it_exchange_super_widget_cart_begin_items_loop' ); ?>
	<div class="title-remove">
		<?php foreach( it_exchange_get_template_part_elements( 'super_widget_cart', 'items', array( 'item-title', 'item-remove' ) ) as $detail ) : ?>
			<?php it_exchange_get_template_part( 'super-widget-cart/elements/' . $detail ); ?>
		<?php endforeach; ?>
	</div>
	<div class="item-info">
		<?php foreach( it_exchange_get_template_part_elements( 'super_widget_cart', 'items', array( 'item-price' ) ) as $detail ) : ?>
			<?php it_exchange_get_template_part( 'super-widget-cart/elements/' . $detail ); ?>
		<?php endforeach; ?>
	</div>
	<?php do_action( 'it_exchange_super_widget_cart_end_items_loop' ); ?>
</div>
<?php do_action( 'it_exchange_super_widget_cart_after_items_loop' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox