update 3_21_19

This commit is contained in:
Frank John Begornia
2019-03-21 21:55:50 +08:00
parent 68549cbf30
commit 0fe1270756
715 changed files with 286 additions and 400029 deletions

View File

@@ -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);