News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Shipping fees are not visible in the shopping cart but they are calculated

Started by ikmata, August 20, 2012, 11:29:59 AM

Previous topic - Next topic

ikmata

Hello,
I report the solution found here.

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

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/