<ul class="list-group"> <?php foreach ($array as &$item) { ?> <li id="<?php echo $item['cpID']; ?> -li" class="list-group-item"> <div class="well"> <div class="row"> <div class="col-xs-6"> <p><strong><?php echo getProductBrand($item['pID']); ?> <?php echo getProductMake($item['pID'])[0]; echo $item['Descript']; ?> </strong></p> </div> <div class="col-xs-6"> <p><strong>Price:</strong></p> <p>$<?php echo $item['Price']; ?> </p> <p><strong>Quantity:</strong></p> <input cost="<?php echo $item['Price']; ?>
<div class="caption"> <h3><?php echo $item['Desc']; ?> </h3> <p><b>Brand:</b> <?php echo getProductBrand($item['ID']); ?> </p> <p><b>SKU:</b> <?php echo $item['SKU']; ?> </p> <p><b>Compatible Models:</b> <?php foreach (getProductMake($item['ID']) as &$make) { echo "{" . $make . "} "; } ?> </p> <div class="input-group"> <span class="input-group-addon success"><strong>$<?php echo $item['Price']; ?> </strong></span> <input id="<?php echo $item['ID']; ?> -qty" type="text" class="form-control" placeholder="QTY" value="1" >