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੐)|#o0aڱ$I>}k&1`U#V?YsV x>{t1[I~D&(I$I/{H0fw"q"y%4 IXyE~M3 8XψL}qE$I[> nD?~sf ]o΁ cT6"?'_Ἣ $I>~.f|'!N?⟩0G KkXZE]ޡ;/&?k OۘH$IRۀwXӨ<7@PnS04aӶp.:@\IWQJ6sS%I$e5ڑv`3:x';wq_vpgHyXZ 3gЂ7{{EuԹn±}$I$8t;b|591nءQ"P6O5i }iR̈́%Q̄p!I䮢]O{H$IRϻ9s֧ a=`- aB\X0"+5"C1Hb?߮3x3&gşggl_hZ^,`5?ߎvĸ%̀M!OZC2#0x LJ0 Gw$I$I}<{Eb+y;iI,`ܚF:5ܛA8-O-|8K7s|#Z8a&><a&/VtbtLʌI$I$I$I$I$I$IRjDD%tEXtdate:create2022-05-31T04:40:26+00:00!Î%tEXtdate:modify2022-05-31T04:40:26+00:00|{2IENDB`Mini Shell

HOME


Mini Shell 1.0
DIR:/home/dna1981/www/logomasters/
Upload File :
Current File : /home/dna1981/www/logomasters/product-details-colors.php
<?php
include ("php/connect.php"); 
include ("php/footer.php"); 
include ("php/header.php");
include ("php/cart.php"); 

$todaydate = date("Y-m-d");

if (isset($_GET['id'])) {
  $colname_products = $_GET['id'];
  $colname_color = $_GET['color'];
	 
}

$query_products = "SELECT * FROM products WHERE main = 'Y' AND price > 0 AND id = '$colname_products'";
$products = mysqli_query($LogoMasters, $query_products);
$row_products = mysqli_fetch_assoc($products);
$totalRows_products = mysqli_num_rows($products);
$id = $row_products['id'];
$PID = $row_products['id'];
$Companion_Style = trim($row_products['Companion_Style']);
$Emboridery = $row_products['Embroidery'];
$ScreenPrint = $row_products['Print'];
$Blank = $row_products['Blank'];
$ProductPrice = $row_products['price'];
$ShowPrice = $row_products['showPrice_main'];
$PP_chart_xxs = $row_products["XXS"];
$PP_chart_xs = $row_products["XS"];
$PP_chart_S = $row_products["S"];
$PP_chart_M = $row_products["M"];
$PP_chart_L = $row_products["L"];
$PP_chart_XL = $row_products["XL"];
$PP_chart_2XL = $row_products["XXL"];
$PP_chart_3XL = $row_products["XXXL"];
$PP_chart_4XL = $row_products["4XL"];
$PP_chart_5XL = $row_products["5XL"];
$PP_chart_6XL = $row_products["6XL"];
$PP_chart_LT = $row_products["LT"];
$PP_chart_XLT = $row_products["XLT"];
$PP_chart_2XLT = $row_products["2XLT"];
$PP_chart_3XLT = $row_products["3XLT"];
$PP_chart_4XLT = $row_products["4XLT"];
$PP_chart_5XLT = $row_products["5XLT"];
$PP_chart_6XLT = $row_products["6XLT"];
$PP_chart_price_xxs = $row_products["price_XXS"];
if($PP_chart_price_xxs > 0 && $PP_chart_xxs == 'Y'){
	$show_chart_price_xxs = '<tr><td align="left" valign="middle">XXS</td><td align="left" valign="middle"><strong>$'.number_format(($PP_chart_price_xxs), 2).'</strong></td></tr>';} else {$show_chart_price_xxs = '';}
$PP_chart_price_xs = $row_products["price_XS"];
if($PP_chart_price_xs > 0 && $PP_chart_xs == 'Y'){
	$show_chart_price_xs = '<tr><td align="left" valign="middle">XS</td><td align="left" valign="middle"><strong>$'.number_format(($PP_chart_price_xs), 2).'</strong></td></tr>';} else {$show_chart_price_xs = '';}
$PP_chart_price_S = $row_products["price_S"];
if($PP_chart_price_S > 0 && $PP_chart_S == 'Y'){
	$show_chart_price_S = '<tr><td align="left" valign="middle">S</td><td align="left" valign="middle"><strong>$'.number_format(($PP_chart_price_S), 2).'</strong></td></tr>';} else {$show_chart_price_S = '';}
$PP_chart_price_M = $row_products["price_M"];
if($PP_chart_price_M > 0 && $PP_chart_M == 'Y'){
	$show_chart_price_M = '<tr><td align="left" valign="middle">M</td><td align="left" valign="middle"><strong>$'.number_format(($PP_chart_price_M), 2).'</strong></td></tr>';} else {$show_chart_price_M = '';}
$PP_chart_price_L = $row_products["price_L"];
if($PP_chart_price_L > 0 && $PP_chart_L == 'Y'){
	$show_chart_price_L = '<tr><td align="left" valign="middle">L</td><td align="left" valign="middle"><strong>$'.number_format(($PP_chart_price_L), 2).'</strong></td></tr>';} else {$show_chart_price_L = '';}
$PP_chart_price_XL = $row_products["price_XL"];
if($PP_chart_price_XL > 0 && $PP_chart_XL == 'Y'){
	$show_chart_price_XL = '<tr><td align="left" valign="middle">XL</td><td align="left" valign="middle"><strong>$'.number_format(($PP_chart_price_XL), 2).'</strong></td></tr>';} else {$show_chart_price_XL = '';}
$PP_chart_price_2XL = $row_products["price_2XL"];
if($PP_chart_price_2XL > 0 && $PP_chart_2XL == 'Y'){
	$show_chart_price_2XL = '<tr><td align="left" valign="middle">2XL</td><td align="left" valign="middle"><strong>$'.number_format(($PP_chart_price_2XL), 2).'</strong></td></tr>';} else {$show_chart_price_2XL = '';}
$PP_chart_price_3XL = $row_products["price_3XL"];
if($PP_chart_price_3XL > 0 && $PP_chart_3XL == 'Y'){
	$show_chart_price_3XL = '<tr><td align="left" valign="middle">3XL</td><td align="left" valign="middle"><strong>$'.number_format(($PP_chart_price_3XL), 2).'</strong></td></tr>';} else {$show_chart_price_3XL = '';}
$PP_chart_price_4XL = $row_products["price_4XL"];
if($PP_chart_price_4XL > 0 && $PP_chart_4XL == 'Y'){
	$show_chart_price_4XL = '<tr><td align="left" valign="middle">4XL</td><td align="left" valign="middle"><strong>$'.number_format(($PP_chart_price_4XL), 2).'</strong></td></tr>';} else {$show_chart_price_4XL = '';}
$PP_chart_price_5XL = $row_products["price_5XL"];
if($PP_chart_price_5XL > 0 && $PP_chart_5XL == 'Y'){
	$show_chart_price_5XL = '<tr><td align="left" valign="middle">5XL</td><td align="left" valign="middle"><strong>$'.number_format(($PP_chart_price_5XL), 2).'</strong></td></tr>';} else {$show_chart_price_5XL = '';}
$PP_chart_price_6XL = $row_products["price_6XL"];
if($PP_chart_price_6XL > 0 && $PP_chart_6XL == 'Y'){
	$show_chart_price_6XL = '<tr><td align="left" valign="middle">6XL</td><td align="left" valign="middle"><strong>$'.number_format(($PP_chart_price_6XL), 2).'</strong></td></tr>';} else {$show_chart_price_6XL = '';}
$PP_chart_price_LT = $row_products["price_LT"];
if($PP_chart_price_LT > 0 && $PP_chart_LT == 'Y'){
	$show_chart_price_LT = '<tr><td align="left" valign="middle">LT</td><td align="left" valign="middle"><strong>$'.number_format(($PP_chart_price_LT), 2).'</strong></td></tr>';} else {$show_chart_price_LT = '';}
$PP_chart_price_XLT = $row_products["price_XLT"];
if($PP_chart_price_XLT > 0 && $PP_chart_XLT == 'Y'){
	$show_chart_price_XLT = '<tr><td align="left" valign="middle">XLT</td><td align="left" valign="middle"><strong>$'.number_format(($PP_chart_price_XLT), 2).'</strong></td></tr>';} else {$show_chart_price_XLT = '';}
$PP_chart_price_2XLT = $row_products["price_2XLT"];
if($PP_chart_price_2XLT > 0 && $PP_chart_2XLT == 'Y'){
	$show_chart_price_2XLT = '<tr><td align="left" valign="middle">2XLT</td><td align="left" valign="middle"><strong>$'.number_format(($PP_chart_price_2XLT), 2).'</strong></td></tr>';} else {$show_chart_price_2XLT = '';}
$PP_chart_price_3XLT = $row_products["price_3XLT"];
if($PP_chart_price_3XLT > 0 && $PP_chart_3XLT == 'Y'){
	$show_chart_price_3XLT = '<tr><td align="left" valign="middle">3XLT</td><td align="left" valign="middle"><strong>$'.number_format(($PP_chart_price_3XLT), 2).'</strong></td></tr>';} else {$show_chart_price_3XLT = '';}
$PP_chart_price_4XLT = $row_products["price_4XLT"];
if($PP_chart_price_4XLT > 0 && $PP_chart_4XLT == 'Y'){
	$show_chart_price_4XLT = '<tr><td align="left" valign="middle">4XLT</td><td align="left" valign="middle"><strong>$'.number_format(($PP_chart_price_4XLT), 2).'</strong></td></tr>';} else {$show_chart_price_4XLT = '';}
$PP_chart_price_5XLT = $row_products["price_5XLT"];
if($PP_chart_price_5XLT > 0 && $PP_chart_5XLT == 'Y'){
	$show_chart_price_5XLT = '<tr><td align="left" valign="middle">5XLT</td><td align="left" valign="middle"><strong>$'.number_format(($PP_chart_price_5XLT), 2).'</strong></td></tr>';} else {$show_chart_price_5XLT = '';}
$PP_chart_price_6XLT = $row_products["price_6XLT"];
if($PP_chart_price_6XLT > 0 && $PP_chart_6XLT == 'Y'){
	$show_chart_price_6XLT= '<tr><td align="left" valign="middle">6XLT</td><td align="left" valign="middle"><strong>$'.number_format(($PP_chart_price_6XLT), 2).'</strong></td></tr>';} else {$show_chart_price_6XLT = '';}

$query_colorImg = "SELECT * FROM images WHERE id = '$colname_color' AND Stock < 1";
$colorImg = mysqli_query($LogoMasters, $query_colorImg);
$totalRows_colorImg = mysqli_num_rows($colorImg);
if($totalRows_colorImg > 0){
	while($row_colorImg = mysqli_fetch_assoc($colorImg)){
		$colorImg_ID = $row_colorImg['id'];
		$colorImg_Thumbnail = $row_colorImg['thumbnail'];
		$colorImg_Color = $row_colorImg['color'];
		$colorImg_LgImg = $row_colorImg['largeImage'];
		$colorTall_Sizes = $row_colorImg['Tall_Sizes'];
		
		if($colorImg_Thumbnail == '#FFFFFF'){
			$colorImg_Thumbnail = '#F4F4F4';
		}
		if($colorImg_Thumbnail == '#ffffff'){
			$colorImg_Thumbnail = '#F4F4F4';
		}
		
	}}

if($ScreenPrint == 1){
$GetType = "Screen";
$ProductPrice = $row_products['price'];
$PrintMessage = '$'.number_format(($ProductPrice), 2).''; 
$Price_Range = "$".number_format(($ProductPrice), 2)." - $".number_format(($ProductPrice + 1.581), 2)."*";
$StyleMessage = 'There is a 12 piece minimum. We offer multi-color designs, up to 12-color design capability. 
							Mix styles, color & sizes for quantity discounts. Please contact us so we may give you the best price on your screen printing.';

$PriceChart = '<tr><td colspan="2">There is a 12 piece minimum. We offer multi-color designs, up to 12-color design capability. 
							Mix styles, color & sizes for quantity discounts. Please contact us so we may give you the best price on your screen printing.</td>
                          </tr>';
	
	}

if($Emboridery == 1){
$GetType = "Embroidery"; 
$ProductPrice = $row_products['price'];
$PrintMessage = '$'.number_format(($ProductPrice), 2).'';
$Price_Range = "$".number_format(($ProductPrice), 2)." - $".number_format(($ProductPrice + 6), 2)."*";
$StyleMessage = 'Pricing includes one location embroidery';
$PriceChart = '<tr><td colspan="2"><strong>Price Chart -</strong> Pricing includes embroidery.</td>
                          </tr><tr>
                            <td align="left" valign="middle">1-3</td>
                            <td align="left" valign="middle"><strong>$'.number_format(($ProductPrice + 6), 2).'</strong></td>
                            </tr>
                          <tr>
                            <td align="left" valign="middle">4-11</td>
                            <td align="left" valign="middle"><strong>$'.number_format(($ProductPrice + 3), 2).'</strong></td>
                            </tr>
                          <tr>
                            <td align="left" valign="middle">12-23</td>
                            <td align="left" valign="middle"><strong>$'.number_format(($ProductPrice + 2), 2).'</strong></td>
                            </tr>
                          <tr>
                            <td align="left" valign="middle">24-35</td>
                            <td align="left" valign="middle"><strong>$'.number_format(($ProductPrice + 1), 2).'</strong></td>
                            </tr>
                          <tr>
                            <td align="left" valign="middle">36-47</td>
                            <td align="left" valign="middle"><strong>$'.number_format(($ProductPrice), 2).'</strong></td>
                            </tr>
                          <tr>
                            <td align="left" valign="middle">48+</td>
                            <td align="left" valign="middle"><strong><a href="contact.php">Contact Us</a> for pricing!</strong></td>
                            </tr>
                          <tr>
                            <td align="left" valign="middle" class="style5">&nbsp;</td>
                            <td align="left" valign="middle" class="style5">&nbsp;</td>
                            </tr>
							<tr><td colspan="2"><strong>Additional Charge for Sizes</strong></td>
                          </tr>

	'.$show_chart_price_xxs.'
	'.$show_chart_price_xs.'
	'.$show_chart_price_S.'
	'.$show_chart_price_M.'
	'.$show_chart_price_L.'
	'.$show_chart_price_XL.'
	'.$show_chart_price_2XL.'
	'.$show_chart_price_3XL.'
	'.$show_chart_price_4XL.'
	'.$show_chart_price_5XL.'
	'.$show_chart_price_6XL.'
	'.$show_chart_price_LT.'
	'.$show_chart_price_XLT.'
	'.$show_chart_price_2XLT.'
	'.$show_chart_price_3XLT.'
	'.$show_chart_price_4XLT.'
	'.$show_chart_price_5XLT.'
	'.$show_chart_price_6XLT;
	
}

if($Emboridery != 1 && $ScreenPrint != 1 && $Blank == 'Y'){
$ProductPrice = $row_products['price'];
$PrintMessage = '$'.number_format(($ProductPrice), 2).'';
$Price_Range = '$'.number_format(($ProductPrice), 2);
$PriceChart = '<tr>
                            <td colspan="2"><strong>Price Chart</td>
                          </tr><tr>
                            <td align="left" valign="middle">1+</td>
                            <td align="left" valign="middle"><strong>$'.number_format(($ProductPrice), 2).'</strong></td>
                            </tr>'; 
	
	}

if($ShowPrice != 1){
	$PrintMessage = '<strong>Call for Pricing</strong>';
	$PriceChart = '<tr><td colspan="2"><p>Please call us for best pricing and to place an order for this product.</p></td></tr>'; 
	
}



// Emboridery 

$query_ProductStyle = "SELECT * FROM products WHERE id ='$PID' AND Embroidery = 'Y' AND Print = 'N' OR Print = ''";
$ProductStyle = mysqli_query($LogoMasters, $query_ProductStyle);
$row_ProductStyle = mysqli_fetch_assoc($ProductStyle);
$totalRows_ProductStyle = mysqli_num_rows($ProductStyle);





$query_CompanionStyle = "SELECT * FROM products WHERE unitNumber = '$Companion_Style' AND main='Y'";
$CompanionStyle = mysqli_query($LogoMasters, $query_CompanionStyle);
$row_CompanionStyle = mysqli_fetch_assoc($CompanionStyle);
$totalRows_CompanionStyle = mysqli_num_rows($CompanionStyle);

$CompanionStyle_ID = $row_CompanionStyle['id']; 
$CompanionStyle_IMG = $row_CompanionStyle['image']; 
$CompanionStyle_UnitNumber = $row_CompanionStyle['unitNumber']; 

$query_CompanionStyle_color = "SELECT * FROM images WHERE productid = '$CompanionStyle_ID' AND Stock < 1";
$CompanionStyle_color = mysqli_query($LogoMasters, $query_CompanionStyle_color);
$row_CompanionStyle_color = mysqli_fetch_assoc($CompanionStyle_color);
$totalRows_CompanionStyle_color = mysqli_num_rows($CompanionStyle_color);

$CompanionStyle_color = $row_CompanionStyle_color['id'];

if($Companion_Style != '' && $totalRows_CompanionStyle > 0){
	
	$Show_CompanionStyle = '<div class="companion_style">
						<h2>Companion Style - '.$CompanionStyle_UnitNumber.'</h2>
                        <a href="product-details-colors.php?id='.$CompanionStyle_ID.'&&color='.$CompanionStyle_color.'"><img src="https://logomastersintl.com/largeimages/'.$CompanionStyle_IMG.'" alt=""/></a></div>';
	
	}
	else {
		$Show_CompanionStyle = '';
		}



		



$query_color = "SELECT * FROM images WHERE productid = '$PID' AND Stock < 1";
$color = mysqli_query($LogoMasters, $query_color);
$totalRows_color = mysqli_num_rows($color);
if($totalRows_color > 0){
	while($row_color = mysqli_fetch_assoc($color)){
		$ColorID = $row_color['id'];
		$Thumbnail = $row_color['thumbnail'];
		$Color = $row_color['color'];
		$LgImg = $row_color['largeImage'];
		
		if($Thumbnail == '#FFFFFF'){
			$Thumbnail = '#F4F4F4';
		}
		if($Thumbnail == '#ffffff'){
			$Thumbnail = '#F4F4F4';
		}

if($ColorID == $colname_color){
$Color_Output .= '<li><a href="product-details-colors.php?id='.$PID.'&&color='.$ColorID.'" class="Active" style="background-color:'.$Thumbnail.';border-color:'.$Thumbnail.';padding:4px;" title="'.$Color.'"></a></li>';
}
else{
	$Color_Output .= '<li><a href="product-details-colors.php?id='.$PID.'&&color='.$ColorID.'" class="Color" style="background-color:'.$Thumbnail.';border-color:'.$Thumbnail.';padding:4px;" title="'.$Color.'"></a></li>';
}
	
	
	}}

else {
$Color_Output .= '<h3>OUT OF STOCK</h3>';	
}
	

if (isset($_GET['id'])) {
  $colname_BigTall = $_GET['id'];
}

$query_BigTall = "SELECT * FROM products WHERE big_tall = 'Y' AND id = '$colname_BigTall'";
$BigTall = mysqli_query($LogoMasters, $query_BigTall);
$row_BigTall = mysqli_fetch_assoc($BigTall);
$totalRows_BigTall = mysqli_num_rows($BigTall);

// Show Standard

$query_Sizes_Standard = "SELECT * FROM product_sizes WHERE pid = '$PID' AND category = 'Standard' ORDER BY id ASC";
$Sizes_Standard = mysqli_query($LogoMasters, $query_Sizes_Standard);
$totalRows_Sizes_Standard = mysqli_num_rows($Sizes_Standard);
if($totalRows_Sizes_Standard > 0){
	$Standard_Chart_Header = 'Available Sizes:';
	$Sizes_Standard_Ouput.= '<select name="size_standard[]" id="size_standard" required>
                        <option value="">- Select Size -</option>'; 
	while($row_Sizes_Standard = mysqli_fetch_assoc($Sizes_Standard)){
		$Sizes_Standard_Name = $row_Sizes_Standard['size'];
		$Sizes_Standard_Category = $row_Sizes_Standard['category'];
		$Sizes_Standard_AddOn = $row_Sizes_Standard['addOn']; 
		
		if($Sizes_Standard_AddOn > 0){
			$Standard_Price_Chart = '<tr>
                            <td align="left" valign="middle">'.$Sizes_Standard_Name.'</td>

                            <td align="left" valign="middle">+ $'.$Sizes_Standard_AddOn.'</td>
                          </tr>';
			$Show_Standard_AddOn = ' - Additional $'.$Sizes_Standard_AddOn.'';
			
		}
		else {
			$Show_Standard_AddOn = '';
			$Standard_Price_Chart = '';
			
		}
		
		$Sizes_Standard_Ouput .= '<option value="'.$Sizes_Standard_Name.'"">'.$Sizes_Standard_Name.''.$Show_Standard_AddOn.'</option>';
		$Standard_Size_Chart .= $Sizes_Standard_Name.''.$Show_Standard_AddOn.'</br>';
		
	}
	$Sizes_Standard_Ouput .= '</select>
                    </strong>';
}
else {
	
	$Sizes_Standard_Name .= '';
	$Standard_Size_Chart .= '';
	$Standard_Chart_Header = '';
}

// Show Waist

$query_Sizes_Waist = "SELECT * FROM product_sizes WHERE pid = '$PID' AND category = 'Waist' ORDER BY id ASC";
$Sizes_Waist = mysqli_query($LogoMasters, $query_Sizes_Waist);
$totalRows_Sizes_Waist = mysqli_num_rows($Sizes_Waist);
if($totalRows_Sizes_Waist > 0){
	$Waist_Chart_Header = 'Available Waist Sizes:';
	$Sizes_Waist_Output .= '<select name="size_waist[]" id="size_waist" required>
                        <option value="">- Select Waist Size -</option>'; 
	while($row_Sizes_Waist = mysqli_fetch_assoc($Sizes_Waist)){
		$Sizes_Waist_Name = $row_Sizes_Waist['size'];
		$Sizes_Waist_Category = $row_Sizes_Waist['category'];
		$Sizes_Waist_AddOn = $row_Sizes_Waist['addOn']; 
		
		if($Sizes_Waist_AddOn > 0){
			$Waist_Price_Chart = '<tr>
                            <td align="left" valign="middle">Waist: '.$Sizes_Waist_Name.'</td>
                            <td align="left" valign="middle">+ $'.$Sizes_Waist_AddOn.'</td>
                          </tr>';
			$Show_Waist_AddOn = ' - Additional $'.$Sizes_Waist_AddOn.'';
		}
		else {
			$Show_Waist_AddOn = '';
			$Waist_Price_Chart = '';
			
		}
		
		$Sizes_Waist_Output .= '<option value="'.$Sizes_Waist_Name.'"">'.$Sizes_Waist_Name.''.$Show_Waist_AddOn.'</option>'; 
		$Waist_Size_Chart .= $Sizes_Waist_Name.''.$Show_Waist_AddOn.'</br>';
		
	}
	$Sizes_Waist_Output .= '</select>
                    </strong>'; 
}
else {
	
	$Sizes_Waist_Output .= '';
	$Waist_Size_Chart .= '';
	$Waist_Chart_Header = '';
}

// Show Inseam

$query_Sizes_Inseam = "SELECT * FROM product_sizes WHERE pid = '$PID' AND category = 'Inseam' ORDER BY id ASC";
$Sizes_Inseam = mysqli_query($LogoMasters, $query_Sizes_Inseam);
$totalRows_Sizes_Inseam = mysqli_num_rows($Sizes_Inseam);
if($totalRows_Sizes_Inseam > 0){
	$Inseam_Chart_Header = 'Available Inseam Sizes:';
	$Sizes_Inseam_Output .= '<select name="size_inseam[]" id="size_inseam" required>
                        <option value="">- Select Inseam Size -</option>';
	while($row_Sizes_Inseam = mysqli_fetch_assoc($Sizes_Inseam)){
		$Sizes_Inseam_Name = $row_Sizes_Inseam['size'];
		$Sizes_Inseam_Category = $row_Sizes_Inseam['category'];
		$Sizes_Inseam_AddOn = $row_Sizes_Inseam['addOn'];
		
		if($Sizes_Inseam_AddOn > 0){
			$Inseam_Price_Chart = '<tr><td align="left" valign="middle">Inseam: '.$Sizes_Inseam_Name.'</td><td align="left" valign="middle">+ $'.$Sizes_Inseam_AddOn.'</td></tr>';
			$Show_Inseam_AddOn = ' - Additional $'.$Sizes_Inseam_AddOn.'';
		}
		else {
			$Show_Inseam_AddOn = '';
			$Inseam_Price_Chart = '';
			
		}
		
		
		$Sizes_Inseam_Output .= '<option value="'.$Sizes_Inseam_Name.'"">'.$Sizes_Inseam_Name.' '.$Show_Inseam_AddOn.'</option>';
		$Inseam_Size_Chart .= $Sizes_Inseam_Name.''.$Show_Inseam_AddOn.'</br>';
		
	}
	$Sizes_Inseam_Output .= '</select>
                    </strong>';
}
else {
	
	$Sizes_Inseam_Output .= ''; 
	$Inseam_Size_Chart .= '';
	$Inseam_Chart_Header = '';
}

// Spec Sheets

$query_Specs = "SELECT * FROM product_specs WHERE pid = '$PID'";
$Specs = mysqli_query($LogoMasters, $query_Specs);
$row_Specs = mysqli_fetch_assoc($Specs);
$totalRows_Specs = mysqli_num_rows($Specs);
if($totalRows_Specs > 0){
	$Custom_Sizes_Output = '<tr>
                                  <td colspan="2" align="left" valign="top"><a href="https://www.logomastersintl.com/specs/'.$row_Specs['pdf'].'" target="blank"><h2>Click To View Product Spec Sheet<h2></a></td>
                                </tr>';
}
else{

// Are there custom sizes?
$query_Sizes_Custom = "SELECT * FROM product_sizes WHERE pid = '$PID'";
$Sizes_Custom= mysqli_query($LogoMasters, $query_Sizes_Custom);
$row_Sizes_Custom = mysqli_fetch_assoc($Sizes_Custom);
$totalRows_Sizes_Custom = mysqli_num_rows($Sizes_Custom);
if($totalRows_Sizes_Custom > 0){
	$Custom_Sizes_Output = '<tr>
                                  <td align="left" valign="top"><strong>'.$Waist_Chart_Header.'</strong></td>
                                  <td align="left" valign="top"><strong>'.$Inseam_Chart_Header.'</strong></td>
                                </tr>
                                <tr>
                                  <td align="left" valign="top">'.$Waist_Size_Chart .'</td>
                                  <td align="left" valign="top">'.$Inseam_Size_Chart.'</td>
                                </tr>
								<tr>
                                  <td align="left" valign="top"><strong>'.$Standard_Chart_Header.'</strong></td>
                                  <td align="left" valign="top"><strong></strong></td>
                                </tr>
                                <tr>
                                  <td align="left" valign="top">'.$Standard_Size_Chart .'</td>
                                  <td align="left" valign="top"></td>
                                </tr>';
		
	
}
else {
	
// Show Shirt Size Chart

$query_BustSizes = "SELECT * FROM products WHERE id = '$PID'";
$BustSizes = mysqli_query($LogoMasters, $query_BustSizes);
$totalRows_BustSizes = mysqli_num_rows($BustSizes);
if($totalRows_BustSizes > 0){
	while($row_BustSizes = mysqli_fetch_assoc($BustSizes)){
		$Bust_XXS = $row_BustSizes['B_XXS'];
		$Bust_XS = $row_BustSizes['B_XS']; 
		$Bust_S = $row_BustSizes['B_S'];
		$Bust_M = $row_BustSizes['B_M'];
		$Bust_L = $row_BustSizes['B_L'];
		$Bust_XL = $row_BustSizes['B_XL'];
		$Bust_2XL = $row_BustSizes['B_2XL'];
		$Bust_3XL = $row_BustSizes['B_3XL'];
		$Bust_4XL = $row_BustSizes['B_4XL'];
		$Bust_5XL = $row_BustSizes['B_5XL'];
		$Bust_6XL = $row_BustSizes['B_6XL'];
		$Bust_LT = $row_BustSizes['B_LT'];
		$Bust_XLT = $row_BustSizes['B_XLT'];
		$Bust_2XLT = $row_BustSizes['B_2XLT'];
		$Bust_3XLT = $row_BustSizes['B_3XLT'];
		$Bust_4XLT = $row_BustSizes['B_4XLT'];
		$Bust_5XLT = $row_BustSizes['B_5XLT'];
		$Bust_6XLT = $row_BustSizes['B_6XLT'];
		$Show_Big_Tall = $row_BustSizes['big_tall'];
		$chart_xxs = $row_BustSizes["XXS"];
		$chart_xs = $row_BustSizes["XS"];
		$chart_S = $row_BustSizes["S"];
		$chart_M = $row_BustSizes["M"];
$chart_L = $row_BustSizes["L"];
$chart_XL = $row_BustSizes["XL"];
$chart_2XL = $row_BustSizes["XXL"];
$chart_3XL = $row_BustSizes["XXXL"];
$chart_4XL = $row_BustSizes["4XL"];
$chart_5XL = $row_BustSizes["5XL"];
$chart_6XL = $row_BustSizes["6XL"];
$chart_LT = $row_BustSizes["LT"];
$chart_XLT = $row_BustSizes["XLT"];
$chart_2XLT = $row_BustSizes["2XLT"];
$chart_3XLT = $row_BustSizes["3XLT"];
$chart_4XLT = $row_BustSizes["4XLT"];
$chart_5XLT = $row_BustSizes["5XLT"];
$chart_6XLT = $row_BustSizes["6XLT"];
$chart_price_xxs = $row_BustSizes["price_XXS"];
$chart_price_xs = $row_BustSizes["price_XS"];
$chart_price_S = $row_BustSizes["price_S"];
$chart_price_M = $row_BustSizes["price_M"];
$chart_price_L = $row_BustSizes["price_L"];
$chart_price_XL = $row_BustSizes["price_XL"];
$chart_price_2XL = $row_BustSizes["price_2XL"];
$chart_price_3XL = $row_BustSizes["price_3XL"];
$chart_price_4XL = $row_BustSizes["price_4XL"];
$chart_price_5XL = $row_BustSizes["price_5XL"];
$chart_price_6XL = $row_BustSizes["price_6XL"];
$chart_price_LT = $row_BustSizes["price_LT"];
$chart_price_XLT = $row_BustSizes["price_XLT"];
$chart_price_2XLT = $row_BustSizes["price_2XLT"];
$chart_price_3XLT = $row_BustSizes["price_3XLT"];
$chart_price_4XLT = $row_BustSizes["price_4XLT"];
$chart_price_5XLT = $row_BustSizes["price_5XLT"];
$chart_price_6XLT = $row_BustSizes["price_6XLT"];
		
if($Bust_XXS != ''){$Show_Bust_XXS = '<strong>XXS:</strong> '.$Bust_XXS.'<br>';}else{$Show_Bust_XXS = '';}
if($Bust_XS != ''){$Show_Bust_XS = '<strong>XS:</strong> '.$Bust_XS.'<br>';}else{$Show_Bust_XS = '';}
if($Bust_S != ''){$Show_Bust_S = '<strong>S:</strong> '.$Bust_S.'<br>';}else{$Show_Bust_S = '';}
if($Bust_M != ''){$Show_Bust_M = '<strong>M:</strong> '.$Bust_M.'<br>';}else{$Show_Bust_M = '';}
if($Bust_L != ''){$Show_Bust_L = '<strong>L:</strong> '.$Bust_L.'<br>';}else{$Show_Bust_L = '';}
if($Bust_XL != ''){$Show_Bust_XL = '<strong>XL:</strong> '.$Bust_XL.'<br>';}else{$Show_Bust_XL = '';}
if($Bust_2XL != ''){$Show_Bust_2XL = '<strong>2XL:</strong> '.$Bust_2XL.'<br>';}else{$Show_Bust_2XL = '';}
if($Bust_3XL != ''){$Show_Bust_3XL = '<strong>3XL:</strong> '.$Bust_3XL.'<br>';}else{$Show_Bust_3XL = '';}
if($Bust_4XL != ''){$Show_Bust_4XL = '<strong>4XL:</strong> '.$Bust_4XL.'<br>';}else{$Show_Bust_4XL = '';}
if($Bust_5XL != ''){$Show_Bust_5XL = '<strong>5XL:</strong> '.$Bust_5XL.'<br>';}else{$Show_Bust_5XL = '';}
if($Bust_6XL != ''){$Show_Bust_6XL = '<strong>6XL:</strong> '.$Bust_6XL.'<br>';}else{$Show_Bust_6XL = '';}
if($Bust_LT != ''){$Show_Bust_LT = '<strong>LT:</strong> '.$Bust_LT.'<br>';}else{$Show_Bust_LT = '';}
if($Bust_XLT != ''){$Show_Bust_XLT = '<strong>XLT:</strong> '.$Bust_XLT.'<br>';}else{$Show_Bust_XLT = '';}
if($Bust_2XLT != ''){$Show_Bust_2XLT = '<strong>2XLT:</strong> '.$Bust_2XLT.'<br>';}else{$Show_Bust_2XLT = '';}
if($Bust_3XLT != ''){$Show_Bust_3XLT = '<strong>3XLT:</strong> '.$Bust_3XLT.'<br>';}else{$Show_Bust_3XLT = '';}
if($Bust_4XLT != ''){$Show_Bust_4XLT = '<strong>4XLT:</strong> '.$Bust_4XLT.'<br>';}else{$Show_Bust_4XLT = '';}
if($Bust_5XLT != ''){$Show_Bust_5XLT = '<strong>5XLT:</strong> '.$Bust_5XLT.'<br>';}else{$Show_Bust_5XLT = '';}
if($Bust_6XLT != ''){$Show_Bust_6XLT = '<strong>6XLT:</strong> '.$Bust_6XLT.'<br>';}else{$Show_Bust_6XLT = '';}

		
if($chart_xxs == 'Y' && $chart_price_xxs > 0){$price_chart_XXS = '<tr><td align="left" valign="middle">XX-Small</td><td align="left" valign="middle">+ $'.$chart_price_xxs.'</td></tr>';}else{$price_chart_XXS = '';}
if($chart_xs == 'Y' && $chart_price_xs > 0){$price_chart_XS = '<tr><td align="left" valign="middle">X-Small</td><td align="left" valign="middle">+ $'.$chart_price_xs.'</td></tr>';}else{$price_chart_XS = '';}
if($chart_S == 'Y' && $chart_price_S > 0){$price_chart_S = '<tr><td align="left" valign="middle">Small</td><td align="left" valign="middle">+ $'.$chart_price_S.'</td></tr>';}else{$price_chart_S = '';}
if($chart_M == 'Y' && $chart_price_M > 0){$price_chart_M = '<tr><td align="left" valign="middle">Medium</td><td align="left" valign="middle">+ $'.$chart_price_M.'</td></tr>';}else{$price_chart_M = '';}
if($chart_L == 'Y' && $chart_price_L > 0){$price_chart_L = '<tr><td align="left" valign="middle">Large</td><td align="left" valign="middle">+ $'.$chart_price_L.'</td></tr>';}else{$price_chart_L = '';}
if($chart_XL == 'Y' && $chart_price_XL > 0){$price_chart_XL = '<tr><td align="left" valign="middle">XL</td><td align="left" valign="middle">+ $'.$chart_price_XL.'</td></tr>';}else{$price_chart_XL = '';}
if($chart_2XL == 'Y' && $chart_price_2XL > 0){$price_chart_2XL = '<tr><td align="left" valign="middle">2XL</td><td align="left" valign="middle">+ $'.$chart_price_2XL.'</td></tr>';}else{$price_chart_2XL = '';}
if($chart_3XL == 'Y' && $chart_price_3XL > 0){$price_chart_3XL = '<tr><td align="left" valign="middle">3XL</td><td align="left" valign="middle">+ $'.$chart_price_3XL.'</td></tr>';}else{$price_chart_3XL = '';}
if($chart_4XL == 'Y' && $chart_price_4XL > 0){$price_chart_4XL = '<tr><td align="left" valign="middle">4XL</td><td align="left" valign="middle">+ $'.$chart_price_4XL.'</td></tr>';}else{$price_chart_4XL = '';}
if($chart_5XL == 'Y' && $chart_price_5XL > 0){$price_chart_5XL = '<tr><td align="left" valign="middle">5XL</td><td align="left" valign="middle">+ $'.$chart_price_5XL.'</td></tr>';}else{$price_chart_5XL = '';}
if($chart_6XL == 'Y' && $chart_price_6XL > 0){$price_chart_6XL = '<tr><td align="left" valign="middle">6XL</td><td align="left" valign="middle">+ $'.$chart_price_6XL.'</td></tr>';}else{$price_chart_6XL = '';}
if($chart_LT == 'Y' && $chart_price_LT > 0){$price_chart_LT = '<tr><td align="left" valign="middle">LT</td><td align="left" valign="middle">+ $'.$chart_price_LT.'</td></tr>';}else{$price_chart_LT = '';}
if($chart_XLT == 'Y' && $chart_price_XLT > 0){$price_chart_XLT = '<tr><td align="left" valign="middle">XLT</td><td align="left" valign="middle">+ $'.$chart_price_XLT.'</td></tr>';}else{$price_chart_XLT = '';}
if($chart_2XLT == 'Y' && $chart_price_2XLT > 0){$price_chart_2XLT = '<tr><td align="left" valign="middle">2XLT</td><td align="left" valign="middle">+ $'.$chart_price_2XLT.'</td></tr>';}else{$price_chart_2XLT = '';}
if($chart_3XLT == 'Y' && $chart_price_3XLT > 0){$price_chart_3XLT = '<tr><td align="left" valign="middle">3XLT</td><td align="left" valign="middle">+ $'.$chart_price_3XLT.'</td></tr>';}else{$price_chart_3XLT = '';}
if($chart_4XLT == 'Y' && $chart_price_4XLT > 0){$price_chart_4XLT = '<tr><td align="left" valign="middle">4XLT</td><td align="left" valign="middle">+ $'.$chart_price_4XLT.'</td></tr>';}else{$price_chart_4XLT = '';}
if($chart_5XLT == 'Y' && $chart_price_5XLT > 0){$price_chart_5XLT = '<tr><td align="left" valign="middle">5XLT</td><td align="left" valign="middle">+ $'.$chart_price_5XLT.'</td></tr>';}else{$price_chart_5XLT = '';}
if($chart_6XLT == 'Y' && $chart_price_6XLT > 0){$price_chart_6XLT = '<tr><td align="left" valign="middle">6XLT</td><td align="left" valign="middle">+ $'.$chart_price_6XLT.'</td></tr>';}else{$price_chart_6XLT = '';}
		
			
			$Custom_Sizes_Output .= '<tr>
                                  <td colspan="3" align="left" valign="top"><strong>Chest Measurements:</strong></td>
                                  </tr>
                                <tr>
                                  <td width="33%" align="left" valign="top">
								  '.$Show_Bust_XXS.'
								  '.$Show_Bust_XS.'
								  '.$Show_Bust_S.'
								  '.$Show_Bust_M.'
								  '.$Show_Bust_L.'
								  '.$Show_Bust_XL.'</td>
                                  <td width="33%" align="left" valign="top">
								  '.$Show_Bust_2XL.'
								  '.$Show_Bust_3XL.'
								  '.$Show_Bust_4XL.'
								  '.$Show_Bust_5XL.'
								  '.$Show_Bust_6XL.'
								  </td>
								<td width="33%" align="left" valign="top">
								'.$Show_Bust_LT.'
								'.$Show_Bust_XLT.'
								'.$Show_Bust_2XLT.'
								'.$Show_Bust_3XLT.'
								'.$Show_Bust_4XLT.'
								'.$Show_Bust_5XLT.'
								'.$Show_Bust_6XLT.'								
								</td>
									
                                  </tr>'; 
	
	}}
}
}

 
/// Section 3 (Render the Cart for User to View)
$cartOutput ="";


$query_cart = "SELECT products.id as pid, products.name, products.UnitNumber, products.manufacture, products.price, images.id, images.color, images.largeImage, images.productid, images.thumbnail, products.XXS, products.XS, products.S, products.M, products.L, products.XL, products.XXL, products.XXXL, products.4XL, products.5XL, products.6XL, products.LT, products.XLT, products.2XLT, products.3XLT, products.4XLT, products.5XLT, products.6XLT, products.OSFM, products.Y_7_9, products.Y_7_9, products.I_9_11, products.A_10_13, products.S_M, products.M_L, products.L_XL, products.tshirt_fleece, products.team_sports, products.price_XXS, products.price_XS, products.price_S, products.price_M, products.price_L, products.price_XL, products.price_2XL, products.price_3XL, products.price_4XL, products.price_5XL, products.price_6XL, products.price_LT, products.price_XLT, products.price_2XLT, products.price_3XLT, products.price_4XLT, products.price_5XLT, products.price_6XLT
FROM products
INNER JOIN images
ON products.id=images.productid
WHERE products.id='$id' AND images.id='$colname_color'";
 
$cart = mysqli_query($LogoMasters, $query_cart);
$totalRows_cart = mysqli_num_rows($cart);

while($row_cart = mysqli_fetch_array($cart)){
$product_id = $row_cart["pid"];
$product_name = $row_cart["name"];
$product_num = $row_cart["UnitNumber"];
$product_brand = $row_cart["manufacture"];
$product_image = $row_cart["largeImage"];
$image_color = $row_cart["color"];
$product_price = number_format($row_cart["price"], 2);
$xxs = $row_cart["XXS"];
$xs = $row_cart["XS"];
$S = $row_cart["S"];
$M = $row_cart["M"];
$L = $row_cart["L"];
$XL = $row_cart["XL"];
$XXL = $row_cart["XXL"];
$XXXL = $row_cart["XXXL"];
$XL_4 = $row_cart["4XL"];
$XL_5 = $row_cart["5XL"];
$XL_6 = $row_cart["6XL"];
$LT = $row_cart["LT"];
$XLT = $row_cart["XLT"];
$XLT_2 = $row_cart["2XLT"];
$XLT_3 = $row_cart["3XLT"];
$XLT_4 = $row_cart["4XLT"];
$XLT_5 = $row_cart["5XLT"];
$XLT_6 = $row_cart["6XLT"];
$OSFM = $row_cart["OSFM"];
$S_M = $row_cart["S_M"];
$M_L = $row_cart["M_L"];
$L_XL = $row_cart["L_XL"];
$Youth = $row_cart["Y_7_9"];
$Interm = $row_cart["I_9_11"];
$Adult = $row_cart["A_10_13"];
$image_color = $row_cart["color"];
$color_image = $row_cart["largeImage"];
$color_swatch = $row_cart["thumbnail"];
$date = date("Y-m-d");
$remoteID = session_id();
$Team_Product = $row_cart["team_sports"];
$Tshirt_Product = $row_cart["tshirt_fleece"];
if($ScreenPrint == 1){
$price_xxs = number_format(($row_cart["price"] + $row_cart["price_XXS"] + $t_price_1), 2);
$price_xs = number_format(($row_cart["price"] + $row_cart["price_XS"] + $t_price_1), 2);
$price_S = number_format(($row_cart["price"] + $row_cart["price_S"] + $t_price_1), 2);
$price_M = number_format(($row_cart["price"] + $row_cart["price_M"] + $t_price_1), 2);
$price_L = number_format(($row_cart["price"] + $row_cart["price_L"] + $t_price_1), 2);
$price_XL = number_format(($row_cart["price"] + $row_cart["price_XL"] + $t_price_1), 2);
$price_2XL = number_format(($row_cart["price"] + $row_cart["price_2XL"] + $t_price_1), 2);
$price_3XL = number_format(($row_cart["price"] + $row_cart["price_3XL"] + $t_price_1), 2);
$price_4XL = number_format(($row_cart["price"] + $row_cart["price_4XL"] + $t_price_1), 2);
$price_5XL = number_format(($row_cart["price"] + $row_cart["price_5XL"] + $t_price_1), 2);
$price_6XL = number_format(($row_cart["price"] + $row_cart["price_6XL"] + $t_price_1), 2);
$price_LT = number_format(($row_cart["price"] + $row_cart["price_LT"] + $t_price_1), 2);
$price_XLT = number_format(($row_cart["price"] + $row_cart["price_XLT"] + $t_price_1), 2);
$price_2XLT = number_format(($row_cart["price"] + $row_cart["price_2XLT"] + $t_price_1), 2);
$price_3XLT = number_format(($row_cart["price"] + $row_cart["price_3XLT"] + $t_price_1), 2);
$price_4XLT = number_format(($row_cart["price"] + $row_cart["price_4XLT"] + $t_price_1), 2);
$price_5XLT = number_format(($row_cart["price"] + $row_cart["price_5XLT"] + $t_price_1), 2);
$price_6XLT = number_format(($row_cart["price"] + $row_cart["price_6XLT"] + $t_price_1), 2);
}
else {
$price_xxs = number_format(($row_cart["price"] + $row_cart["price_XXS"] + $main_price_1), 2);
$price_xs = number_format(($row_cart["price"] + $row_cart["price_XS"] + $main_price_1), 2);
$price_S = number_format(($row_cart["price"] + $row_cart["price_S"] + $main_price_1), 2);
$price_M = number_format(($row_cart["price"] + $row_cart["price_M"] + $main_price_1), 2);
$price_L = number_format(($row_cart["price"] + $row_cart["price_L"] + $main_price_1), 2);
$price_XL = number_format(($row_cart["price"] + $row_cart["price_XL"] + $main_price_1), 2);
$price_2XL = number_format(($row_cart["price"] + $row_cart["price_2XL"] + $main_price_1), 2);
$price_3XL = number_format(($row_cart["price"] + $row_cart["price_3XL"] + $main_price_1), 2);
$price_4XL = number_format(($row_cart["price"] + $row_cart["price_4XL"] + $main_price_1), 2);
$price_5XL = number_format(($row_cart["price"] + $row_cart["price_5XL"] + $main_price_1), 2);
$price_6XL = number_format(($row_cart["price"] + $row_cart["price_6XL"] + $main_price_1), 2);
$price_LT = number_format(($row_cart["price"] + $row_cart["price_LT"] + $main_price_1), 2);
$price_XLT = number_format(($row_cart["price"] + $row_cart["price_XLT"] + $main_price_1), 2);
$price_2XLT = number_format(($row_cart["price"] + $row_cart["price_2XLT"] + $main_price_1), 2);
$price_3XLT = number_format(($row_cart["price"] + $row_cart["price_3XLT"] + $main_price_1), 2);
$price_4XLT = number_format(($row_cart["price"] + $row_cart["price_4XLT"] + $main_price_1), 2);
$price_5XLT = number_format(($row_cart["price"] + $row_cart["price_5XLT"] + $main_price_1), 2);
$price_6XLT = number_format(($row_cart["price"] + $row_cart["price_6XLT"] + $main_price_1), 2);
}

if($ShowPrice != 1){
	$cartOutput = '';
	$cartOutput_Message = '<tr>
                <td align="left" valign="top">Please call us for best pricing and to place an order for this product.</td>
              </tr>';
}
	else {
	$cartOutput_Message = '';
if($ScreenPrint == 1){
	$Style = "Screen Print";
	}
if($Emboridery == 1){
	$Style = "Embroidery";
	}
if($Blank == 'Y'){
	$Style = "Blank";
	}



if($row_cart["XXS"] == 'Y'){ 
    $qty_XXS = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>XXS</h6></div><div class="price three"><ins><span class="amount">$'.$price_xxs.'</span></ins></div>
  <input name="size[]" type="hidden" value="XXS">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.($product_price + $row_cart["price_XXS"]).'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}
if($row_cart["XS"] == 'Y'){ 
    $qty_XS = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>XS</h6></div><div class="price three"><ins><span class="amount">$'.$price_xs.'</span></ins></div>
  <input name="size[]" type="hidden" value="XS">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.($product_price + $row_cart["price_XS"]).'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';   
}
if($row_cart["S"] == 'Y'){ 
    $qty_S = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>S</h6></div><div class="price three"><ins><span class="amount">$'.$price_S.'</span></ins></div>
  <input name="size[]" type="hidden" value="S">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.($product_price + $row_cart["price_S"]).'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>'; 
}
if($row_cart["M"] == 'Y'){ 
    $qty_M = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>M</h6></div><div class="price three"><ins><span class="amount">$'.$price_M.'</span></ins></div>
  <input name="size[]" type="hidden" value="M">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.($product_price + $row_cart["price_M"]).'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>'; 
}
if($row_cart["L"] == 'Y'){ 
    $qty_L = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>L</h6></div><div class="price three"><ins><span class="amount">$'.$price_L.'</span></ins></div>
  <input name="size[]" type="hidden" value="L">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.($product_price + $row_cart["price_L"]).'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}
if($row_cart["XL"] == 'Y'){ 
    $qty_XL = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>XL</h6></div><div class="price three"><ins><span class="amount">$'.$price_XL.'</span></ins></div>
  <input name="size[]" type="hidden" value="XL">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.($product_price + $row_cart["price_XL"]).'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}
if($row_cart["XXL"] == 'Y'){ 
    $qty_2XL = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>2XL</h6></div><div class="price three"><ins><span class="amount">$'.$price_2XL.'</span></ins></div>
  <input name="size[]" type="hidden" value="2XL">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.($product_price + $row_cart["price_2XL"]).'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}
if($row_cart["XXXL"] == 'Y'){
    $qty_3XL = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>3XL</h6></div><div class="price three"><ins><span class="amount">$'.$price_3XL.'</span></ins></div>
  <input name="size[]" type="hidden" value="3XL">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.($product_price + $row_cart["price_3XL"]).'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>'; 
}
if($row_cart["4XL"] == 'Y'){ 
    $qty_4XL = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>4XL</h6></div><div class="price three"><ins><span class="amount">$'.$price_4XL.'</span></ins></div>
  <input name="size[]" type="hidden" value="4XL">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.($product_price + $row_cart["price_4XL"]).'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}
if($row_cart["5XL"] == 'Y'){ 
    $qty_5XL = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>5XL</h6></div><div class="price three"><ins><span class="amount">$'.$price_5XL.'</span></ins></div>
  <input name="size[]" type="hidden" value="5XL">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.($product_price + $row_cart["price_5XL"]).'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}
if($row_cart["6XL"] == 'Y'){ 
    $qty_6XL = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>6XL</h6></div><div class="price three"><ins><span class="amount">$'.$price_6XL.'</span></ins></div>
  <input name="size[]" type="hidden" value="6XL">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.($product_price + $row_cart["price_6XL"]).'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}

if($row_cart["LT"] == 'Y' && $colorTall_Sizes == '1'){ 
    $qty_LT = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>LT</h6></div><div class="price three"><ins><span class="amount">$'.$price_LT.'</span></ins></div>
  <input name="size[]" type="hidden" value="LT">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.($product_price + $row_cart["price_LT"]).'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}
if($row_cart["XLT"] == 'Y' && $colorTall_Sizes == '1'){ 
    $qty_XLT = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>XLT</h6></div><div class="price three"><ins><span class="amount">$'.$price_XLT.'</span></ins></div>
  <input name="size[]" type="hidden" value="XLT">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.($product_price + $row_cart["price_XLT"]).'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}
if($row_cart["2XLT"] == 'Y' && $colorTall_Sizes == '1'){ 
    $qty_2XLT = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>2XLT</h6></div><div class="price three"><ins><span class="amount">$'.$price_2XLT.'</span></ins></div>
  <input name="size[]" type="hidden" value="2XLT">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.($product_price + $row_cart["price_2XLT"]).'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}
if($row_cart["3XLT"] == 'Y' && $colorTall_Sizes == '1'){ 
    $qty_3XLT = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>3XLT</h6></div><div class="price three"><ins><span class="amount">$'.$price_3XLT.'</span></ins></div>
  <input name="size[]" type="hidden" value="3XLT">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.($product_price + $row_cart["price_3XLT"]).'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}
if($row_cart["4XLT"] == 'Y' && $colorTall_Sizes == '1'){ 
    $qty_4XLT = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>4XLT</h6></div><div class="price three"><ins><span class="amount">$'.$price_4XLT.'</span></ins></div>
  <input name="size[]" type="hidden" value="4XLT">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.($product_price + $row_cart["price_3XLT"]).'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}
if($row_cart["5XLT"] == 'Y' && $colorTall_Sizes == '1'){ 
    $qty_5XLT = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>5XLT</h6></div><div class="price three"><ins><span class="amount">$'.$price_5XLT.'</span></ins></div>
  <input name="size[]" type="hidden" value="5XLT">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.($product_price + $row_cart["price_5XLT"]).'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}
if($row_cart["6XLT"] == 'Y' && $colorTall_Sizes == '1'){ 
    $qty_6XLT = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>6XLT</h6></div><div class="price three"><ins><span class="amount">$'.$price_6XLT.'</span></ins></div>
  <input name="size[]" type="hidden" value="6XLT">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.($product_price + $row_cart["price_6XLT"]).'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}

if($row_cart["OSFM"] == 'Y'){ 
    $qty_OSFM = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>OSFM</h6></div><div class="price three"><ins><span class="amount">$'.$product_price.'</span></ins></div>
  <input name="size[]" type="hidden" value="OSFM">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.$product_price.'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}

if($row_cart["S_M"] == 'Y'){ 
    $qty_S_M = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>S/M</h6></div><div class="price three"><ins><span class="amount">$'.$product_price.'</span></ins></div>
  <input name="size[]" type="hidden" value="S/M">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.$product_price.'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}
if($row_cart["M_L"] == 'Y'){ 
    $qty_M_L = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>M/L</h6></div><div class="price three"><ins><span class="amount">$'.$product_price.'</span></ins></div>
  <input name="size[]" type="hidden" value="M/L">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.$product_price.'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}
if($row_cart["L_XL"] == 'Y'){ 
    $qty_L_XL = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>L/XL</h6></div><div class="price three"><ins><span class="amount">$'.$product_price.'</span></ins></div>
  <input name="size[]" type="hidden" value="L/XL">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.$product_price.'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}
if($row_cart["Y_7_9"] == 'Y'){ 
    $qty_Youth = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>Youth (7-9)</h6></div><div class="price three"><ins><span class="amount">$'.$product_price.'</span></ins></div>
  <input name="size[]" type="hidden" value="Youth(7-9)">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.$product_price.'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>'; 
}
	if($row_cart["A_10_13"] == 'Y'){ 
    $qty_Adult = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>Adult (10-13)</h6></div><div class="price three"><ins><span class="amount">$'.$product_price.'</span></ins></div>
  <input name="size[]" type="hidden" value="Adult (10-13)">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.$product_price.'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';
}
if($row_cart["I_9_11"] == 'Y'){ 
    $qty_Intermediate = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div><div class="name two"><h6>I(9-11)</h6></div><div class="price three"><ins><span class="amount">$'.$product_price.'</span></ins></div>
  <input name="size[]" type="hidden" value="I(9-11)">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.$product_price.'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="'.$Style.'" /></div>';

}

$query_any_Sizes_Custom = "SELECT * FROM product_sizes WHERE pid = '$PID'";
$Any_Sizes_Custom= mysqli_query($LogoMasters, $query_any_Sizes_Custom);
$row_Any_Sizes_Custom = mysqli_fetch_assoc($Any_Sizes_Custom);
$totalRows_Any_Sizes_Custom = mysqli_num_rows($Any_Sizes_Custom);
		
if($totalRows_Any_Sizes_Custom > 0){ 
    $qty_Custom_Size = '<div class="quantity-group-item clearfix"><div class="quantity one"> <input type="text" value="0" name="qty[]" class="quantity-number"><span class="inc quantity-button">+</span><span class="dec quantity-button">-</span></div>
<div class="space_20">'.$Sizes_Standard_Ouput.'</div>
<div class="space_20">'.$Sizes_Waist_Output.'</div>
<div class="space_20">'.$Sizes_Inseam_Output.'</div>
<input name="size[]" type="hidden" value="S">
  <input name="color[]" type="hidden" value="'.$image_color.'">
  <input name="product_id[]" type="hidden" value="'.$product_id.'"/>
  <input name="date[]" type="hidden" value="'.$date.'"/>
  <input name="customer_id[]" type="hidden" value="'.$remoteID.'"/>
  <input name="unit_Number[]" type="hidden" value="'.$product_num.'" />
  <input name="product_name[]" type="hidden" value="'.$product_name.'" />
  <input name="product_brand[]" type="hidden" value="'.$product_brand.'" />
  <input name="price[]" type="hidden" value="'.$ProductPrice.'"/>
  <input name="image[]" type="hidden" value="'.$color_image.'" />
  <input name="style[]" type="hidden" value="Blank" /></div>';
}

$ShowProducts .= $qty_XXS.'
'.$qty_XS.'
'.$qty_S.'
'.$qty_M.'
'.$qty_L.'
'.$qty_XL.'
'.$qty_2XL.'
'.$qty_3XL.'
'.$qty_4XL.'
'.$qty_5XL.'
'.$qty_6XL.'
'.$qty_LT.'
'.$qty_XLT.'
'.$qty_2XLT.'
'.$qty_3XLT.'
'.$qty_4XLT.'
'.$qty_5XLT.'
'.$qty_6XLT.'
'.$qty_OSFM.'
'.$qty_S_M.'
'.$qty_M_L.'
'.$qty_L_XL.'
'.$qty_Youth.'
'.$qty_Intermediate.'
'.$qty_Adult.'
'.$qty_Custom_Size;
					
$cartOutput.= '<tr class="product_content"><form action="php/add.php" method="post" name="form3" id="form3">';
$cartOutput.= '<td width="20" height="20"><div id="cart"><a class="small" href="#nogo" title="small image"><img src="https://logomastersintl.com/largeimage/'.$color_image.'" title="'.$image_color.'" alt="'.$image_color.'"/ width="50px"><img class="large" src="https://logomastersintl.com/largeimage/'.$color_image.'" title="'.$image_color.'" alt="'.$image_color.'"/></a>
</div></td>';
$cartOutput.= '<td nowrap="nowrap" class="product_price">'.$image_color.'</td>'; 
$cartOutput.= $qty_XXS;
$cartOutput.= $qty_XS;
$cartOutput.= $qty_S;
$cartOutput.= $qty_M;
$cartOutput.= $qty_L;
$cartOutput.= $qty_XL;
$cartOutput.= $qty_2XL;
$cartOutput.= $qty_3XL;
$cartOutput.= $qty_4XL;
$cartOutput.= $qty_5XL;
$cartOutput.= $qty_6XL;
$cartOutput.= $qty_LT;
$cartOutput.= $qty_XLT;
$cartOutput.= $qty_2XLT;
$cartOutput.= $qty_3XLT;
$cartOutput.= $qty_4XLT;
$cartOutput.= $qty_5XLT;
$cartOutput.= $qty_6XLT;
$cartOutput.= $qty_OSFM;
$cartOutput.= $qty_S_M;
$cartOutput.= $qty_M_L;
$cartOutput.= $qty_L_XL;
$cartOutput.= $qty_Youth;
$cartOutput.= $qty_Intermediate;
$cartOutput.= $qty_Adult;
$cartOutput.= '</tr>';
$cartOutput.= '<div class="quantity-group-item clearfix">
                                            <div class="quantity one">
                                                <input type="text" value="0" name="quantity-number" class="quantity-number">
                                                <span class="inc quantity-button">+</span>
                                                <span class="dec quantity-button">-</span>
                                            </div>
                                            <div class="name two"><h6><a href="#">Hoodie cotton sweatshirt</a></h6></div>
                                            <div class="price three">
                                                <ins><span class="amount">$24.00</span></ins>
                                            </div>											
                                        </div>';
	
	

}}

?>
<!DOCTYPE html>
<head>
    <!-- Basic Page Needs -->
    <meta charset="utf-8">
    <!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->
    <title>Logo Masters International</title>

    <!-- Mobile Specific Metas -->
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

    <!-- Bootstrap  -->
    <link rel="stylesheet" type="text/css" href="stylesheets/bootstrap.css" >

    <!-- Theme Style -->
    <link rel="stylesheet" type="text/css" href="stylesheets/style.css">
    <link rel="stylesheet" type="text/css" href="stylesheets/responsive.css">

    <!-- Colors -->
    <link rel="stylesheet" type="text/css" href="stylesheets/colors/color1.css" id="colors">

    <!-- Animation Style -->
    <link rel="stylesheet" type="text/css" href="stylesheets/animate.css">


    <!-- Favicon and touch icons  -->
    <link href="icon/favicon.png" rel="shortcut icon">

    <!--[if lt IE 9]>
        <script src="javascript/html5shiv.js"></script>
        <script src="javascript/respond.min.js"></script>
    <![endif]-->
</head> 
<body class="header_sticky header-style-1 has-menu-extra">
	<!-- Preloader -->
    <div id="loading-overlay">
        <div class="loader"></div>
    </div>
    <!-- Boxed -->
    <div class="boxed">
        <?php echo $Header; ?>
    	<section class="flat-row main-shop shop-detail style-1">
            <div class="container">
                <div class="row">
                    <div class="col-md-4">
                    	<div class="wrap-flexslider">
                    		<div class="inner padding-top-5">
                    			<div class="flexslider style-2 has-relative">
		                    		<ul class="slides">
		                                <li data-thumb="https://logomastersintl.com/largeimage/<?php echo $colorImg_LgImg; ?>">
		                                    <img src="https://logomastersintl.com/largeimage/<?php echo $colorImg_LgImg; ?>" alt="Image">
                                            <div class="flat-icon style-1">
                                                <a href="https://logomastersintl.com/largeimage/<?php echo $colorImg_LgImg; ?>" class="zoom-popup"><span class="fa fa-search-plus"></span></a>
                                            </div>
		                                </li>
		                                
		                            </ul>                           
		                        </div><!-- /.flexslider -->
                    		</div>
                    	</div>
						<?php echo $Show_CompanionStyle; ?>
                    </div><!-- /.col-md-6 -->

                    <div class="col-md-8">
                        <div class="divider h0"></div>
                        <div class="product-detail">
                            <div class="inner">
                                <div class="content-detail">
								<form action="php/add.php" method="post">
                                    <h2 class="product-title"><?php echo $row_products['manufacture']; ?>, <?php echo $row_products['name']; ?> - <?php echo $row_products['unitNumber']; ?></h2> 
							<div class="divider h10"></div>									
                             <div class="flat-tabs style-1 has-border">
        						<ul class="menu-tab">
        							<li class="active">Description</li>
        							<li>Price Chart</li>
        							<li>Size Chart</li>
        						</ul>
        						<div class="content-tab">
        							<div class="content-inner">
    									<div class="inner max-width-83 padding-top-33">
										<h4 class="unit-number">Product #: <?php echo $row_products['unitNumber']; ?></h4> 
										<h4 class="unit-number"><?php echo $StyleMessage; ?></h4> 
        								<p><?php echo $row_products['description']; ?></p>
        								</div><!-- /.flat-grid-box -->	        								
        							</div><!-- /.content-inner -->
        							<div class="content-inner">
                                        <div class="inner max-width-83 padding-top-33">
                                            <table>
                                                <?php echo $PriceChart; ?>                    
                                            </table>
                                        </div>        								
        							</div><!-- /.content-inner -->
        							<div class="content-inner">
                                        <div class="inner max-width-83 padding-top-33">
                                            <table>
                                               <?php echo $Custom_Sizes_Output; ?>                       
                                            </table>
                                        </div>                                             								
        							</div><!-- /.content-inner -->
        						</div>
        					</div>
                                    <div class="price">
                                        <h2><?php echo $Price_Range; ?></h2>
                                    </div>
                                    <div class="product-color">
                                        <span>Available Colors (Click to View Details):</span>
                                        <ul class="flat-color-list">
                                            <?php echo $Color_Output;?>
                                        </ul>
                                    </div>
									<div class="product-color">
                                        <h2>Color: <?php echo $colorImg_Color; ?></h2>
                                        
                                    </div>
									
                                    <div class="quantity-group">
										<?php echo $ShowProducts; ?>
  
                                </div>
								<div class="product-quantity margin-top-38">
								<input class="add-to-cart no-margin" type="submit" value="ADD TO CART">
                                        </div></form>
                            </div>
                        </div><!-- /.product-detail -->
                    </div>
                </div><!-- /.row -->
            </div><!-- /.container -->
        </section><!-- /.flat-row -->
       

		<!-- Newsletter -->
		<?php echo $Newsletter_SignUp; ?>


		<!-- Footer -->
		<?php echo $Footer; ?>

		<!-- Go Top -->
	    <a class="go-top">
	        <i class="fa fa-chevron-up"></i>
	    </a>  

    </div>

	<!-- Javascript -->
    <script src="javascript/jquery.min.js"></script>
    <script src="javascript/tether.min.js"></script>
    <script src="javascript/bootstrap.min.js"></script> 
    <script src="javascript/jquery.easing.js"></script>    
    <script src="javascript/parallax.js"></script>
    <script src="javascript/jquery-waypoints.js"></script>
    <script src="javascript/jquery-countTo.js"></script>
    <script src="javascript/jquery.countdown.js"></script>
    <script src="javascript/jquery.flexslider-min.js"></script>
    <script src="javascript/images-loaded.js"></script>
    <script src="javascript/jquery.isotope.min.js"></script>
    <script src="javascript/magnific.popup.min.js"></script>
    <script src="javascript/jquery.hoverdir.js"></script>
    <script src="javascript/owl.carousel.min.js"></script>
    <script src="javascript/equalize.min.js"></script>
    <script src="javascript/gmap3.min.js"></script>
    <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAIEU6OT3xqCksCetQeNLIPps6-AYrhq-s&region=GB"></script>
    <script src="javascript/jquery-ui.js"></script>
    
    <script src="javascript/jquery.cookie.js"></script>
    <script src="javascript/main.js"></script>

    <!-- Revolution Slider -->
    <script src="rev-slider/js/jquery.themepunch.tools.min.js"></script>
    <script src="rev-slider/js/jquery.themepunch.revolution.min.js"></script>
    <script src="javascript/rev-slider.js"></script>
    <!-- Load Extensions only on Local File Systems ! The following part can be removed on Server for On Demand Loading -->  
    <script src="rev-slider/js/extensions/revolution.extension.actions.min.js"></script>
    <script src="rev-slider/js/extensions/revolution.extension.carousel.min.js"></script>
    <script src="rev-slider/js/extensions/revolution.extension.kenburn.min.js"></script>
    <script src="rev-slider/js/extensions/revolution.extension.layeranimation.min.js"></script>
    <script src="rev-slider/js/extensions/revolution.extension.migration.min.js"></script>
    <script src="rev-slider/js/extensions/revolution.extension.navigation.min.js"></script>
    <script src="rev-slider/js/extensions/revolution.extension.parallax.min.js"></script>
    <script src="rev-slider/js/extensions/revolution.extension.slideanims.min.js"></script>
    <script src="rev-slider/js/extensions/revolution.extension.video.min.js"></script>
</body> 
</html>