Your IP : 216.73.216.50


Current Path : /home/gotzfrokfn/www/templates/gotz-tpl/html/com_virtuemart/cart/
Upload File :
Current File : /home/gotzfrokfn/www/templates/gotz-tpl/html/com_virtuemart/cart/default_pricelist.old

<fieldset class="vm-fieldset-pricelist">
<table
	class="cart-summary"
	cellspacing="0"
	cellpadding="0"
	border="0"
	width="100%">
<tr>
	<th align="left"><?php echo vmText::_ ('COM_VIRTUEMART_CART_NAME') ?></th>
	<th align="left"><?php echo vmText::_ ('COM_VIRTUEMART_CART_SKU') ?></th>
	<th align="center"><?php echo "Supprimer" ?></th>
	<th align="right" width="70px"><?php echo vmText::_ ('COM_VIRTUEMART_CART_TOTAL') ?></th>
</tr>

<?php
$i = 1;

foreach ($this->cart->products as $pkey => $prow) { ?>

<tr valign="top" class="sectiontableentry<?php echo $i ?>">
	<td class="cartProductName" data-title="Name" >
		<?php if ($prow->virtuemart_media_id) { ?>
		<span class="cart-images">
						 <?php
			if (!empty($prow->images[0])) {
				echo $prow->images[0]->displayMediaThumb ('', FALSE);
			}
			?>
						</span>
		<?php } ?>
		<?php echo JHtml::link ($prow->url, $prow->product_name);
			echo $this->customfieldsModel->CustomsFieldCartDisplay ($prow);
		 ?>

	</td>
	<td align="left" class="cartProductSku" data-title="SKU"><div class="sku"><?php  echo $prow->product_sku ?></div></td>

	<td align="center" class="cartProductQty" data-title="Quantity">

		   <input type="text"
				   onblur="Virtuemart.checkQuantity(this,<?php echo $step?>,'<?php echo vmText::_ ('COM_VIRTUEMART_WRONG_AMOUNT_ADDED',true)?>');"
				   onclick="Virtuemart.checkQuantity(this,<?php echo $step?>,'<?php echo vmText::_ ('COM_VIRTUEMART_WRONG_AMOUNT_ADDED',true)?>');"
				   onchange="Virtuemart.checkQuantity(this,<?php echo $step?>,'<?php echo vmText::_ ('COM_VIRTUEMART_WRONG_AMOUNT_ADDED',true)?>');"
				   onsubmit="Virtuemart.checkQuantity(this,<?php echo $step?>,'<?php echo vmText::_ ('COM_VIRTUEMART_WRONG_AMOUNT_ADDED',true)?>');"
				   title="<?php echo  vmText::_('COM_VIRTUEMART_CART_UPDATE') ?>" class="quantity-input js-recalculate" size="3" maxlength="4" name="quantity[<?php echo $pkey; ?>]" value="<?php echo $prow->quantity ?>" />


			<button type="submit" class="vmicon vm2-remove_from_cart" name="delete.<?php echo $pkey ?>" title="<?php echo vmText::_ ('COM_VIRTUEMART_CART_DELETE') ?>" ></button>
	</td>
	<td colspan="1" align="right" class="cartProductTotal" data-title="Total">
		<?php if (!empty($prow->prices['salesPrice'])) {
		// FH calcul prix en euro		
			$prixEURO = round($prow->prices['salesPrice']/119.3317,2);
		} ?>
		<?php
		echo '<span class="PrixfinalEuro">' . number_format($prixEURO, 2, ',', ' ') . '&nbsp;&euro; </span> </br>' ;	
		echo '<span class="Prixnormal"> &nbsp   (  '.number_format($prow->prices['salesPrice'], 0, ',', ' ').' XPF ) </span>';?>
		</td>
</tr>
	<?php
	$i = ($i==1) ? 2 : 1;
} ?>
<!--Begin of SubTotal, Tax, Shipment, Coupon Discount and Total listing -->

<tr class="sectiontableentry1">
	<td colspan="3" align="right"><?php echo vmText::_ ('COM_VIRTUEMART_ORDER_PRINT_PRODUCT_PRICES_TOTAL'); ?></td>

	<td align="right" width="150px" class="cartProductTotal" data-title="Total">
	
		<?php	
			// calcul prix en euro	
			$prixEURO = round($this->cart->cartPrices['salesPrice']/119.3317,2);
			echo '<span class="PrixfinalEuro">' . number_format($prixEURO, 2, ',', ' ') . '&nbsp;&euro; </span> </br>' ;	
			echo '<span class="Prixnormal"> &nbsp   (  '.number_format($this->cart->cartPrices['salesPrice'], 0, ',', ' ').' XPF ) </span>';
			?>

	<!--<?php echo  $this->currencyDisplay->createPriceDiv ('salesPrice', '', $this->cart->cartPrices, FALSE) ?>--!>
	</td>
</tr>

<?php
if (VmConfig::get ('coupons_enable')) {
	?>
<tr class="sectiontableentry2">
<td colspan="3" align="left">
	<?php if (!empty($this->layoutName) && $this->layoutName == 'default') {
	echo $this->loadTemplate ('coupon');
}
	?>

	<?php if (!empty($this->cart->cartData['couponCode'])) { ?>
	<?php
	echo $this->cart->cartData['couponCode'];
	echo $this->cart->cartData['couponDescr'] ? (' (' . $this->cart->cartData['couponDescr'] . ')') : '';
	?>
</td>
<td align="right" class="cartProductTotal" data-title="Total"><?php echo $this->currencyDisplay->createPriceDiv ('salesPriceCoupon', '', $this->cart->cartPrices['salesPriceCoupon'], FALSE); ?> </td>
	<?php } else { ?>
	<td colspan="6" align="left">&nbsp;</td>
	<?php
}

	?>
</tr>
	<?php } ?>


<?php if ( 	VmConfig::get('oncheckout_opc',true) or
	!VmConfig::get('oncheckout_show_steps',false) or
	(!VmConfig::get('oncheckout_opc',true) and VmConfig::get('oncheckout_show_steps',false) and
		!empty($this->cart->virtuemart_shipmentmethod_id) )
) { ?>
<tr class="sectiontableentry1" valign="top">
	<?php if (!$this->cart->automaticSelectedShipment) { ?>
		<td colspan="3" align="left">
			<?php
				echo $this->cart->cartData['shipmentName'].'<br/>';

		if (!empty($this->layoutName) and $this->layoutName == 'default') {
			if (VmConfig::get('oncheckout_opc', 0)) {
				$previouslayout = $this->setLayout('select');
				echo $this->loadTemplate('shipment');
				$this->setLayout($previouslayout);
			} else {
				echo JHtml::_('link', JRoute::_('index.php?option=com_virtuemart&view=cart&task=edit_shipment', $this->useXHTML, $this->useSSL), $this->select_shipment_text, 'class=""');
			}
		} else {
			echo vmText::_ ('COM_VIRTUEMART_CART_SHIPPING');
		}
	} else {
	?>
	<td colspan="3" align="right">
		<?php echo $this->cart->cartData['shipmentName']; ?>
	</td>
	<?php } ?>
	<td align="right" class="cartProductTotal" data-title="Total">
		<!--<?php echo $this->currencyDisplay->createPriceDiv ('salesPriceShipment', '', $this->cart->cartPrices['salesPriceShipment'], FALSE); ?> --!> 
	<?php if (!empty($this->cart->cartPrices['salesPriceShipment'])) {
		// calcul prix en euro		
			$prixEURO = round($this->cart->cartPrices['salesPriceShipment']/119.3317,2);
		} ?>
	<?php	
		echo '<span class="PrixfinalEuro">' . number_format($prixEURO, 2, ',', ' ') . '&nbsp;&euro; </span> </br>' ;	
		echo '<span class="Prixnormal"> &nbsp   (  '.number_format($this->cart->cartPrices['salesPriceShipment'], 0, ',', ' ').' XPF ) </span>';?>

	</td>

</tr>	
<?php } ?>

<tr class="sectiontableentry2">
	<td colspan="3" align="right"><?php echo vmText::_ ('COM_VIRTUEMART_CART_TOTAL') ?>:</td>
	<td align="right" class="cartProductTotal" data-title="Total">
		<?php if (!empty($this->cart->cartPrices['billTotal'])) {
		// calcul prix en euro		
			$prixEURO = round($this->cart->cartPrices['billTotal']/119.3317,2);
		} ?>

	<?php	
		echo '<span class="PrixfinalEuro">' . number_format($prixEURO, 2, ',', ' ') . '&nbsp;&euro; </span> </br>' ;	
		echo '<span class="Prixnormal"> &nbsp   (  '.number_format($this->cart->cartPrices['billTotal'], 0, ',', ' ').' XPF ) </span>';?>

	</td>
</tr>
<?php
if ($this->totalInPaymentCurrency) {
?>

<tr class="sectiontableentry2">
	<td colspan="4" align="right"><?php echo vmText::_ ('COM_VIRTUEMART_CART_TOTAL_PAYMENT') ?>:</td>

	<?php if (VmConfig::get ('show_tax')) { ?>
	<td align="right"></td>
	<?php } ?>
	<td align="right"></td>
	<td align="right"><strong><?php echo $this->totalInPaymentCurrency;   ?></strong></td>
</tr>
	<?php
}
?>

</table>
</fieldset>