VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: ikmata on August 20, 2012, 11:29:59 AM

Title: Shipping fees are not visible in the shopping cart but they are calculated
Post by: ikmata on August 20, 2012, 11:29:59 AM
Hello,
I report the solution found here (http://ikmata.fr/index.php/aide-et-support/solutions/item/158-no-prices-shipping-show-in-checkout?utm_source=VM%2Bforum&utm_medium=lien&utm_campaign=VM%2B2).

To correct the problem get the file components/com_virtuemart/views/cart/tmpl/default.php and comment the following lines like this:

<?php if ( VmConfig::get('show_tax')) { ?>
<td align="center"><?php //if ( !empty($this->cart->pricesUnformatted[$pkey]['shipmentTax']) )
{
echo 
"<span  class='priceColor2'>".$this->currencyDisplay->createPriceDiv('shipmentTax',''$this->cart->pricesUnformatted['shipmentTax'],false)."</span>";
//else
{
//echo "--";
}
?>
</td>
<?php ?>
<td align="center">--</td>
<td align="center"><?php //if ( !empty($this->cart->pricesUnformatted[$pkey]['salesPriceShipment']) )
{
echo 
$this->currencyDisplay->createPriceDiv('salesPriceShipment',''$this->cart->pricesUnformatted['salesPriceShipment'],false);
//else
{
//echo "--";
}
?>


Laurent
Title: Re: Shipping fees are not visible in the shopping cart but they are calculated
Post by: Milbo on August 20, 2012, 13:32:39 PM
I think you are working with an old version.