[studentbooks09] r144 committed - -updated viewCart.php (just top div)

1 view
Skip to first unread message

student...@googlecode.com

unread,
Dec 12, 2010, 1:30:33 PM12/12/10
to student...@googlegroups.com
Revision: 144
Author: Sven.Schm...@googlemail.com
Date: Sun Dec 12 10:29:25 2010
Log: -updated viewCart.php (just top div)
http://code.google.com/p/studentbooks09/source/detail?r=144

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;
+ }
}
?>

Reply all
Reply to author
Forward
0 new messages