<tr> <td class="text-right"><?php echo $price->label; ?> </td> <td class="text-right"><?php echo $price->number; ?> </td> <td class="text-right"> <?php if ($site->exists($price->base)) { ?> <span class="discount"><?php echo $site->formatCurrency($price->base); ?> </span> <?php } ?> <?php echo $site->formatCurrency($price->price); ?> </td> <td class="text-right"><?php echo $site->formatCurrency($price->total); ?> </td> </tr>