23 lines
467 B
PHP
23 lines
467 B
PHP
<?php
|
|
|
|
/**
|
|
* Store cart view
|
|
*
|
|
* Displays the contents of the shopping cart and gives the user the
|
|
* ability to update quantities, remove items, apply discount codes and
|
|
* proceed to the checkout.
|
|
*
|
|
* @package PICKLES
|
|
* @subpackage store
|
|
* @author Joshua Sherman <josh@phpwithpickles.org>
|
|
* @copyright 2007-2008 Joshua Sherman
|
|
*/
|
|
|
|
class store_cart extends store {
|
|
|
|
public function __default() {
|
|
$this->data['cart'] = $_SESSION['cart'];
|
|
}
|
|
}
|
|
|
|
?>
|