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

(Difference between revisions)
Jump to: navigation, search
(Created page with "This is the default template for the Quantity cart item element in the content-cart.php template part. ==Theme Location== theme/exchange/content-cart/elements/item-quantity....")
 
Line 10: Line 10:
 
*[[Exchange_Theme_Templates:_content-cart/elements/item-quantity.php.php-it_exchange_content_cart_item_details_after_quantity|it_exchange_content_cart_item_details_after_quantity]]
 
*[[Exchange_Theme_Templates:_content-cart/elements/item-quantity.php.php-it_exchange_content_cart_item_details_after_quantity|it_exchange_content_cart_item_details_after_quantity]]
  
==Theme Functions==
+
==Theme API==
*[[Exchange_Theme_API:_it_exchange-cart-item|it_exchange( 'cart-item', 'quantity' )]]
+
*[[Exchange_Theme_API:_cart-item|it_exchange( 'cart-item', 'quantity' )]]
  
 
==Default Code==
 
==Default Code==

Revision as of 12:35, July 24, 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/items/elements/
 * directory located in your theme.
*/
?>

<?php do_action( 'it_exchange_content_cart_item_details_before_quantity' ); ?>
<div class="it-exchange-cart-item-quantity it-exchange-table-column">
	<?php do_action( 'it_exchange_content_cart_item_details_begin_quantity' ); ?>
	<div class="it-exchange-table-column-inner">
		<?php it_exchange( 'cart-item', 'quantity' ); ?>
	</div>
	<?php do_action( 'it_exchange_content_cart_item_details_end_quantity' ); ?>
</div>
<?php do_action( 'it_exchange_content_cart_item_details_after_quantity' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox