hello
i want add the totalProduct nummbers in cart and the cart subtotal price (the total Price of all added products)
also for the totalProduct i have added the cod to the padded.php file on the template
<?php
echo $data->totalProduct;
echo $data->billTotal;
?>
but i get the error :
Notice: Undefined variable: data in templates\xxx\html\com_virtuemart\cart\padded.php on line 79
Notice: Trying to get property of non-object in templates\xxx\html\com_virtuemart\cart\padded.php on line 79
Notice: Undefined variable: data in templates\xxx\html\com_virtuemart\cart\padded.php on line 80
Notice: Trying to get property of non-object in templates\xxx\html\com_virtuemart\cart\padded.php on line 80
how can i fix them please ?
thanks
amine