update 3_21_19
This commit is contained in:
@@ -343,8 +343,28 @@ class TeamStoreController extends Controller {
|
||||
'Quantity' => 1
|
||||
);
|
||||
}
|
||||
|
||||
}elseif($product_form == "number-form"){
|
||||
|
||||
$order_number = $post['order_number'];
|
||||
|
||||
foreach($order_number as $key => $val){
|
||||
$items[] = array(
|
||||
'ProductId' => $product_id,
|
||||
'StoreURL' => $store_url,
|
||||
'StoreId' => $store_id,
|
||||
'FormUsed' => $product_form,
|
||||
'CartKey' => $cartKey,
|
||||
'DesignCode' => $design_code,
|
||||
'ProductURL' => $ProductURL,
|
||||
'ProductName' => $product_name,
|
||||
'Number' => $order_number[$key],
|
||||
'Price' => $ProductPrice,
|
||||
'Quantity' => 1
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
$i = $m->insertToCart($items);
|
||||
|
||||
Reference in New Issue
Block a user