<div class="box">
  <div class="heading"><?php echo $heading_title; ?></div>
  <div class="cart">
    <?php if ($products) { ?>
    <table>
      <?php foreach ($products as $product) { ?>
      <tr>
        <td><?php echo $product['quantity']; ?>&nbsp;x&nbsp;</td>
        <td><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a></td>
      </tr>
      <?php } ?>
    </table>
    <div class="a"><?php echo $text_subtotal; ?>&nbsp;<?php echo $subtotal; ?></div>
    <?php } else { ?>
    <div class="b"><?php echo $text_empty; ?></div>
    <?php } ?>
  </div>
</div>
