<?php
/**
 * The product template for the Super Widget.
 *
 * 
 * @version 1.1.0
 * @link http://ithemes.com/codex/page/Exchange_Template_Updates
 * @package IT_Exchange
 *
 * WARNING: Do not edit this file directly. To use
 * this template in a theme, simply copy over this
 * file's content to the exchange directory located
 * at your templates root.
*/
?>

<?php if ( it_exchange( 'product', 'found' ) ) : ?>
	<?php it_exchange_get_template_part( 'messages' ); ?>
	<?php do_action( 'ninja_shop_super_widget_product_before_product_wrap' ); ?>
	<div class="ninja-shop-sw-product ninja-shop-sw-processing-product">
		<?php do_action( 'ninja_shop_super_widget_product_begin_product_wrap' ); ?>

		<?php if ( it_exchange_is_multi_item_cart_allowed() ) : ?>
			<?php //it_exchange_get_template_part( 'super-widget', 'cart' ); ?>
		<?php endif; ?>

		<?php if ( it_exchange_get_the_product_id() && ( ! it_exchange_is_multi_item_cart_allowed() || ! it_exchange_is_current_product_in_cart() ) ) : ?>
			<?php it_exchange_get_template_part( 'super-widget-product/elements/purchase-options' ); ?>
		<?php endif; ?>

		<?php do_action( 'ninja_shop_super_widget_product_end_product_wrap' ); ?>
	</div>
	<?php do_action( 'ninja_shop_super_widget_product_after_product_wrap' ); ?>
<?php endif; ?>
