Exchange Theme Templates: content-cart/elements/item-quantity.php

From IThemes Codex
(Difference between revisions)
Jump to: navigation, search
 
Line 11: Line 11:
  
 
==Theme API==
 
==Theme API==
*[[Exchange_Theme_API:_cart-item|it_exchange( 'cart-item', 'quantity' )]]
+
*[[Exchange_Theme_API:_cart-item_(quantity)|it_exchange( 'cart-item', 'quantity' )]]
  
 
==Default Code==
 
==Default Code==

Latest revision as of 17:44, August 1, 2013

This is the default template for the Quantity cart item element in the content-cart.php template part.

Contents

Theme Location

theme/exchange/content-cart/elements/item-quantity.php

Action Hooks

Theme API

Default Code

<?php
/**
 * This is the default template for the Quantity
 * cart item element in the content-cart.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-cart/elements/
 * directory located in your theme.
*/
?>

<?php do_action( 'it_exchange_content_cart_before_item_quantity_element' ); ?>
<div class="it-exchange-cart-item-quantity it-exchange-table-column">
	<?php do_action( 'it_exchange_content_cart_begin_item_quantity_element' ); ?>
	<div class="it-exchange-table-column-inner">
		<?php it_exchange( 'cart-item', 'quantity' ); ?>
	</div>
	<?php do_action( 'it_exchange_content_cart_end_item_quantity_element' ); ?>
</div>
<?php do_action( 'it_exchange_content_cart_after_item_quantity_element' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox