order creation

This commit is contained in:
Etienne Roudeix
2013-09-19 19:56:59 +02:00
parent 1d969e38ec
commit 6e9af59403
12 changed files with 4622 additions and 13 deletions

View File

@@ -30,6 +30,7 @@ class OrderException extends \RuntimeException
*/
public $cartRoute = "cart.view";
public $orderDeliveryRoute = "order.delivery";
public $cartItem = null;
public $arguments = array();
@@ -39,6 +40,8 @@ class OrderException extends \RuntimeException
const UNDEFINED_DELIVERY = 200;
const NOT_ENOUGH_STOCK = 300;
public function __construct($message, $code = null, $arguments = array(), $previous = null)
{
if(is_array($arguments)) {