Ver Mensaje Individual
  #5 (permalink)  
Antiguo 12/09/2011, 03:22
Avatar de DooBie
DooBie
 
Fecha de Ingreso: septiembre-2004
Mensajes: 1.101
Antigüedad: 19 años, 7 meses
Puntos: 71
Respuesta: Duda sentencia echo

Código PHP:
<?php if($empty_cart) { ?>
            <?php echo $VM_LANG->_('PHPSHOP_CART_EMPTY'); ?>. <a href="index.php?page=shop.cart&option=com_virtuemart"><?php echo $VM_LANG->_('PHPSHOP_CART_SHOW'); ?></a><?php
            
} else {
                echo 
$VM_LANG->_('PHPSHOP_CART_FULL') .$total[0].$items.'.<a href="index.php?page=shop.cart&option=com_virtuemart">&nbsp;'.$VM_LANG->_('PHPSHOP_CART_SHOW').'</a>';
            } 
?>
Que tal así?