order creation
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user