I have Joomla 1.5.10 and VM 1.1.3. The bug process is:
- Add a product (1 only) to buy
- A coupon discount (this is important) - test3 for example
- Go to cart
- Delete the product
You will get this (on the cart component):
Notice: Undefined variable: total in C:\Apache\Apache2\htdocs\lsshop2\administrator\components\com_virtuemart\html\shop.basket_short.php on line 117
On line 117 total is used to substract the coupon on session, but I think is out of scope. Adding this when checking if cart is empty:
if ($cart["idx"] == 0) {
$empty_cart = true;
$checkout = false;
// Begin Robb
$total = 0;
// End Robb
Thus enabling the variable.
Hope this helps.
Thank you fixed in 1.1.4