update_6_10_2019

This commit is contained in:
Frank John Begornia
2019-06-10 18:06:35 +08:00
parent 03f9649f9b
commit 2e79d9b38d
9 changed files with 9 additions and 301 deletions

View File

@@ -97,15 +97,6 @@ class TeamStoreModel extends Model {
function myCart($cartKey){
// echo $cartKey;
if($cartKey != ""){
// $i = DB::table('cart_tmp')->select('cart_tmp.Id', 'cart_tmp.Order', 'cart_tmp.ProductId', 'cart_tmp.CartKey', 'cart_tmp.ProductURL', 'cart_tmp.TeamName', 'teams.Team', 'cart_tmp.Name', 'cart_tmp.Number', 'cart_tmp.Size', 'cart_tmp.Price', 'cart_tmp.Quantity', 'teamstore_products.ProductName', 'teamstore_products.ProductURL', 'teamstore_product_thumbnails.Image')
// ->leftjoin('teamstore_products', 'cart_tmp.ProductURL','=','teamstore_products.ProductURL')
// ->leftjoin('teams', 'cart_tmp.TeamName','=','teams.Team')
// ->leftjoin('teamstore_product_thumbnails', 'cart_tmp.ProductId','=','teamstore_product_thumbnails.ProductId')
// ->where('cart_tmp.CartKey','=',$cartKey)
// ->where('teamstore_product_thumbnails.ImageClass','=','active')
// ->orderby('cart_tmp.Id', 'DESC')
// ->get();
$i = DB::table('cart_tmp')
->where('CartKey', $cartKey)
->get();