Exchange Theme Templates: super-widget-cart/elements/update-quantity.php

From IThemes Codex
Revision as of 16:21, 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 update-quantity element.

Contents

Theme Location

theme/exchange/super-widget-cart/elements/update-quantity.php

Action Hooks

Theme API

Default Code

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

<?php do_action( 'it_exchange_super_widget_cart_before_update_quantity_element' ); ?>
<?php do_action( 'it_exchange_super_widget_cart_before_quantity_wrap' ); ?>
<div class="quantity-wrapper">
	<?php do_action( 'it_exchange_super_widget_cart_begin_quantity_wrap' ); ?>
	<div class="quantity">
		<?php it_exchange( 'cart', 'update', 'class=it-exchange-update-quantity-button&label=' . __( 'Update Quantity', 'LION' ) ); ?>
	</div>

	<?php
	// Include the single-item-cart quantity actions template part
	it_exchange_get_template_part( 'super-widget-cart/elements/single-item-cart-cancel' );
	?>

	<?php do_action( 'it_exchange_super_widget_cart_end_quantity_wrap' ); ?>
</div>
<?php do_action( 'it_exchange_super_widget_cart_afterquantity__wrap' ); ?>
<?php do_action( 'it_exchange_super_widget_cart_after_update_quantity_element' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox