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

From IThemes Codex
(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 5: Line 5:
  
 
==Action Hooks==
 
==Action Hooks==
*[[Exchange_Theme_Templates:_content-cart/elements/item-quantity.php.php-it_exchange_content_cart_item_details_before_quantity|it_exchange_content_cart_item_details_before_quantity]]
+
*[[Exchange_Theme_Hooks:_it_exchange_content_cart_before_item_quantity_element|it_exchange_content_cart_before_item_quantity_element]]
*[[Exchange_Theme_Templates:_content-cart/elements/item-quantity.php.php-it_exchange_content_cart_item_details_begin_quantity|it_exchange_content_cart_item_details_begin_quantity]]
+
*[[Exchange_Theme_Hooks:_it_exchange_content_cart_begin_item_quantity_element|it_exchange_content_cart_begin_item_quantity_element]]
*[[Exchange_Theme_Templates:_content-cart/elements/item-quantity.php.php-it_exchange_content_cart_item_details_end_quantity|it_exchange_content_cart_item_details_end_quantity]]
+
*[[Exchange_Theme_Hooks:_it_exchange_content_cart_end_item_quantity_element|it_exchange_content_cart_end_item_quantity_element]]
*[[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_Hooks:_it_exchange_content_cart_after_item_quantity_element|it_exchange_content_cart_after_item_quantity_element]]
  
 
==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==
Line 26: Line 26:
 
  * WARNING: Do not edit this file directly. To use
 
  * WARNING: Do not edit this file directly. To use
 
  * this template in a theme, copy over this file
 
  * this template in a theme, copy over this file
  * to the exchange/content-cart/items/elements/
+
  * to the exchange/content-cart/elements/
 
  * directory located in your theme.
 
  * directory located in your theme.
 
*/
 
*/
 
?>
 
?>
  
<?php do_action( 'it_exchange_content_cart_item_details_before_quantity' ); ?>
+
<?php do_action( 'it_exchange_content_cart_before_item_quantity_element' ); ?>
 
<div class="it-exchange-cart-item-quantity it-exchange-table-column">
 
<div class="it-exchange-cart-item-quantity it-exchange-table-column">
<?php do_action( 'it_exchange_content_cart_item_details_begin_quantity' ); ?>
+
<?php do_action( 'it_exchange_content_cart_begin_item_quantity_element' ); ?>
 
<div class="it-exchange-table-column-inner">
 
<div class="it-exchange-table-column-inner">
 
<?php it_exchange( 'cart-item', 'quantity' ); ?>
 
<?php it_exchange( 'cart-item', 'quantity' ); ?>
 
</div>
 
</div>
<?php do_action( 'it_exchange_content_cart_item_details_end_quantity' ); ?>
+
<?php do_action( 'it_exchange_content_cart_end_item_quantity_element' ); ?>
 
</div>
 
</div>
<?php do_action( 'it_exchange_content_cart_item_details_after_quantity' ); ?></pre>
+
<?php do_action( 'it_exchange_content_cart_after_item_quantity_element' ); ?>
 +
</pre>
  
 
[[Exchange_Theme_Templates|&larr; Back to Exchange Theme Templates Page]]
 
[[Exchange_Theme_Templates|&larr; Back to Exchange Theme Templates Page]]

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