<?php
/**
 * @package	HikaShop for Joomla!
 * @version	3.4.1
 * @author	hikashop.com
 * @copyright	(C) 2010-2018 HIKARI SOFTWARE. All rights reserved.
 * @license	GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or die('Restricted access');
?><div id="hikashop_shippingmanual_prices">
<?php
$title = (count($shippings) > 1) ? JText::_('SEVERAL_SHIPPING_METHOD_PER_PRODUCT') : JText::_('ONE_SHIPPING_METHOD_PER_PRODUCT');
?>
	<div class="hikashop_shipping_manual_price"><?php echo $title; ?></div><br/>
	<div class="shipping_price_per_prdct_method">
<?php
foreach($shipData as $key => $value) {

	if ( ($shipData[$key]['minQtity'] > 1) && ($display == 1) ) {
?>				
		<div id="shipping_per_product_<?php $key; ?>">
			<span class="shipping_per_product_<?php $key; ?>">
				<?php echo JText::sprintf('HIKA_FOR_AN_ORDER_OF',$shipData[$key]['name'],$shipData[$key]['minQtity'],$view->element->product_name);?>
				<span class="price_per_product"><?php echo $shipData[$key]['price']; ?></span>
			</span>
		</div>
<?php
	} 
	if ($shipData[$key]['minQtity'] == 0) {
?>
		<div id="shipping_per_product_<?php $key; ?>">
			<span class="shipping_per_product_<?php $key; ?>"> <?php echo $shipData[$key]['name'] . ' : ';?>
				<span class="price_per_product"><?php echo $shipData[$key]['price']; ?></span>
			</span>
		</div>
<?php
	}
}
?>
	</div>
</div><br/>
