Hello
I'm trying to get the cart subtotal on the checkout page in another area besides the main shopping list total. I've tried various ways to enable this without succeeding.
I've declared
Code: Select all
$data['cart_total'] = $this->cart->getSubTotal();
Code: Select all
$total
Code: Select all
Undefined property: Template\PHP::$cart in ... template\checkout\cart.tpl on line 107
Fatal error: Call to a member function getSubTotal() on null in ... template\checkout\cart.tpl on line 107
Chris