<div class="sidewidt">
	<h2 class="heading2"><span><?php echo $heading_title; ?></span></h2>

	<?php if ($products || $this->getHookVar('list_more_product_last')) { ?>
		<table style="width: 100%; border-spacing: 2px;">
			<?php foreach ($products as $product) { ?>
				<tr>
					<td class="align_left valign_top"><?php echo $product['quantity']; ?> x <a
								href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a>

						<div>
							<?php foreach ($product['option'] as $option) { ?>
								-
								<small><?php echo $option['name']; ?> <?php echo $option['value']; ?></small>
								<br/>
							<?php } ?>
						</div>
					</td>
					<td class="align_right valign_top"><b><?php echo $product['price']; ?></b></td>
				</tr>
			<?php } ?>
			<?php echo $this->getHookVar('list_more_product_last'); ?>
		</table>
		<br/>
		<div class="gray_separator"></div>
		<table style="width: 100%; border-spacing: 0; padding: 0;">
			<?php foreach ($totals as $total) { ?>
				<tr>
					<td class="align_right"><span class="cart_block_total"><b><?php echo $total['title']; ?></b></span>
					</td>
					<td class="align_right"><span class="cart_block_total"><?php echo $total['text']; ?></span></td>
				</tr>
			<?php } ?>
		</table>
	<?php } ?>
	<?php if ($products) { ?>
		<div class="buttonwrap col-md-3">
			<a class="btn btn-orange pull-right" href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a>
		</div>

	<?php } else { ?>
		<div class="align_center"><?php echo $text_empty; ?></div>
	<?php } ?>
</div>