Проблема состоит в следующем: установил модуль корзины, все настроил(вид расположение и т.д.), НО при совершении покупки, с каждым разом корзина опускаеться все ниже и ниже =) В опере вообще до футера может доползти, при чем если корзину опустошить она опять поднимаеться на свое место =)). Вот файл кот. я менял для изменения корзины
components\com_virtuemart\themes\default\templates\common\minicart.tpl
Помогите пожалуйста кто может.
<div style="width:350px; height:100px;">
<?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
if($empty_cart) { ?>
<div style=" margin-left:50px; margin-top:70px; font:Verdana, Geneva, sans-serif medium; font-weight:900; color: #484848;">
<?php if(!$vmMinicart) { ?>
<div style=" float:right; margin-top:-130px; margin-right:40px;">
<img src="<?php echo $mm_action_url ?>components/com_virtuemart/shop_image/ps_image/cart_logo.png" alt="VirtueMart" border="0" /></a>
</div>
<br />
<?php }
echo $VM_LANG->_('PHPSHOP_EMPTY_CART')?>
</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
?>
<br style="clear: both;" />
<?php echo $cart['attributes'];
}
}
}
if(!$vmMinicart) { ?>
<div style=" margin-left:100px; background:none"
<?php } ?>
<div style=" margin-top:-100px; background:none;" >
<?php echo $total_products ?>
</div>
<div style=" margin-top:-30px; background:none;">
<?php echo $total_price ?>
</div></div>
<?php if (!$empty_cart && !$vmMinicart) { ?>
<br/>
<div style="margin-top:-85px; margin-left:180px;"><a href="index.php?page=shop.cart&option=com_virtuemart"><img src= "components/com_virtuemart/shop_image/ps_image/cart_logo_full.png" border="0" /></a>
<div style="margin-top:-30px; text-decoration:none;"><?php echo $show_cart ?></div>
<br/></div>
<?php }
echo $saved_cart;
?>
</div>