Modified:
/trunk/Geekzbookshelf2/data/cart.class.php
=======================================
--- /trunk/Geekzbookshelf2/data/cart.class.php Sat Dec 11 01:00:03 2010
+++ /trunk/Geekzbookshelf2/data/cart.class.php Sun Dec 12 10:29:25 2010
@@ -175,5 +175,10 @@
private function saveObject() {
$_SESSION["cart"] = serialize($this);
}
+
+ function getCartInfo(){
+ $retStr = "you have ".$this->getNumCartItems()." items <br /> in
your cart so far your subtotal is ".$this->getPrice();
+ return $retStr;
+ }
}
?>