Is there anyway to hide the login zone and the Bill/Shipping Zone in the cart so the show cart just shows the cart until you click on Checkout?
After dealing with checkout process i finally managed it like i want (more or less :) ) it but i would like the "show cart" page to be different from the last "checkout page". In the config page if you uncheck "On checkout, ask for registration" the login disappear but then you cant register.
How can i set the cart to be just a cart and the bill/shipping info to appear only in the checkout page after the user log or register?
Ok, finally i've solved it with this:
<?php
$user =& JFactory::getUser();
if ($user->guest){
?>
<style type="text/css">
.cart-view .formLogin{
display:none;
}
.cart-view .billto-shipto{
display:none;
}
</style>
<?php
}
?>
Hope it helps to someone else!
Where did you paste this code?
You can paste it in com_virtuemart/views/cart/default.php
Thanks, this worked fine for me as a template override (i did have to change .formLogin to .login-form), but it doesn't work for me when viewing in Internet Explorer. Anyone know why?