<table class="quickcheckout-cart">
	<thead>
		<tr>
                          <?php
if(1==2){
?>
		  <td class="image"><?php echo $column_image; ?></td>
                             <?php
}
?>
		    <td class="text-center"><?php echo $column_customer_order_image; ?></td>
		  <td class="name"><?php echo $column_name; ?></td>
		  <td class="quantity"><?php echo $column_quantity; ?></td>
		  <td class="price1"><?php echo $column_price; ?></td>
		  <td class="total"><?php echo $column_total; ?></td>
		</tr>
	</thead>
    <?php if ($products || $vouchers) { ?>
	<tbody>
        <?php foreach ($products as $product) { ?>
        <tr>
                          <?php
if(1==2){
?>
          <td class="image"><?php if ($product['thumb']) { ?>
            <a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" title="<?php echo $product['name']; ?>" /></a>
            <?php } ?></td>
                             <?php
}
?>
            <td class="text-left">
                 <?php
            if($product['customcase_image']){
                ?>
            <img width="50" height="80" src="<?php echo $product['case_image']; ?>" alt="Frame" style="position:absolute;">
            <img width="49" height="80" src="<?php echo $product['customcase_image']; ?>" alt="">
            <?php
            }else{
                ?>
            <a target="_blank" href="<?php echo $product['customer_order_image']; ?>"><img src="<?php echo $product['customer_order_image']; ?>" width="60"></a>
            <?php 
            }
            ?>
            
            </td>
          <td class="name">
                 <?php
            if($product['customcase_image']){
                ?>
            <a><?php echo $product['name']; ?></a>
            <?php
            }else{
                ?>
           <a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a>
            <?php 
            }
            ?>
            <div>
              <?php foreach ($product['option'] as $option) { ?>
              <small><?php echo $option['name']; ?> <?php echo $option['value']; ?></small><br />
              <?php } ?>
			  <?php if ($product['reward']) { ?>
			  <br />
			  <small><?php echo $product['reward']; ?></small>
			  <?php } ?>
			  <?php if ($product['recurring']) { ?>
			  <br />
			  <span class="label label-info"><?php echo $text_recurring_item; ?></span> <small><?php echo $product['recurring']; ?></small>
			  <?php } ?>
            </div></td>
          <td class="quantity"><?php if ($edit_cart) { ?>
		    <div class="input-group btn-block">
		      <input type="text" name="quantity[<?php echo $product['key']; ?>]" size="1" value="<?php echo $product['quantity']; ?>" class="form-control" />
			  <span class="input-group-btn">
				<button data-toggle="tooltip" title="<?php echo $button_update; ?>" class="btn btn-primary button-update"><i class="fa fa-refresh"></i></button>
				<button data-toggle="tooltip" title="<?php echo $button_remove; ?>" class="btn btn-danger button-remove" data-remove="<?php echo $product['key']; ?>"><i class="fa fa-times-circle"></i></button>
			  </span>
			</div>
			<?php } else { ?>
			x&nbsp;<?php echo $product['quantity']; ?>
			<?php } ?></td>
		  <td class="price1"><?php echo $product['price']; ?></td>
          <td class="total"><?php echo $product['total']; ?></td>
        </tr>
        <?php } ?>
        <?php foreach ($vouchers as $voucher) { ?>
        <tr>
          <td class="image"></td>
          <td class="name"><?php echo $voucher['description']; ?></td>
          <td class="quantity">x&nbsp;1</td>
		  <td class="price1"><?php echo $voucher['amount']; ?></td>
          <td class="total"><?php echo $voucher['amount']; ?></td>
        </tr>
        <?php } ?>
		<?php foreach ($totals as $total) { ?>
			<tr>
				<td class="text-right" colspan="4"><b><?php echo $total['title']; ?>:</b></td>
				<td class="text-right"><?php echo $total['text']; ?></td>
			</tr>
        <?php } ?>
	</tbody>
    <?php } ?>
</table>