<?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
if($empty_cart) { ?>
<div align="right">
<?php if(!$vmMinicart) { ?>
<a href='index.php?option=com_virtuemart&page=shop.cart' target='_blank'>
<img src="<?php echo $mm_action_url ?>../templates/temp_softener/images/Shoppingcarts/Cart_1_Green.png" alt="Shopping Cart" width="32" border="0" ></a>
<div class="cartmsg">
<?php } echo $VM_LANG->_PHPSHOP_EMPTY_CART ?>
</div>
</div>
<?php }
else {
// Loop through each row and build the table
foreach( $minicart as $cart ) {
foreach( $cart as $attr => $val ) {
// Using this we make all the variables available in the template
// translated example: $this->set( 'product_name', $product_name );
$this->set( $attr, $val );
}
if(!$vmMinicart) { // Build Minicart
?>
<?php echo $cart['attributes'];
}
}
}
if(!$vmMinicart) { ?>
<div align="right">
<a href='index.php?option=com_virtuemart&page=shop.cart&product_id=1' target='_blank'>
<img src="<?php echo $mm_action_url ?>../templates/temp_softener/images/Shoppingcarts/Cart_1_Green-Full.png" alt="Shopping Cart" width="32" border="0" ></a>
</div>
<?php } ?>
<div class="cartmsg2">
<?php echo $total_products ?>
</div>
<?php if (!$empty_cart && !$vmMinicart) { ?>
<?php echo $show_cart ?>
<?php } ?>
Time to create page: 0.088 seconds