How do I turn THIS ----> ' . $currencies->format($_SESSION['cart']->show_total()) . ' Into This
$totalamount = $_SESSION['cart'];
It's not giving me a total which means the first code is actually converting the cart variable into a total. I need it to be a plain variable. How would I write it???
The answer is $totalamount = $_SESSION['cart']->show_total();
$totalamount = $_SESSION['cart'];
It's not giving me a total which means the first code is actually converting the cart variable into a total. I need it to be a plain variable. How would I write it???
The answer is $totalamount = $_SESSION['cart']->show_total();