Exchange Theme Templates: super-widget-checkout/elements/price.php

From IThemes Codex
Revision as of 16:25, 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-checkout price element.

Contents

Theme Location

theme/exchange/super-widget-checkout/elements/price.php

Action Hooks

Theme API

Default Code

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

<?php do_action( 'it_exchange_super_widget_checkout_before_price_element' ); ?>
<?php if ( it_exchange( 'cart-item', 'get-quantity', array( 'format' => 'var_value' ) ) > 1 ) : ?>
	<?php it_exchange( 'cart-item', 'price' ); ?> × <?php it_exchange( 'cart-item', 'quantity', array( 'format' => 'var_value' ) ); ?> = <?php it_exchange( 'cart', 'subtotal' ); ?>
 <?php else : ?>
	 <?php it_exchange( 'cart-item', 'price' ); ?>
<?php endif;  ?>
<?php do_action( 'it_exchange_super_widget_checkout_after_price_element' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox