more tidying of checkout templates

master
Marek Isalski 9 years ago
parent b67436c465
commit d0b137ca59

@ -20,8 +20,14 @@
<th colspan="3">
Total
</th>
<th>
<?php print $transaction[ '_price' ][ 'format_total' ]; ?>
<th class="text-right">
<?php if ( count( $transaction[ '_price' ][ 'total' ] ) ): ?>
<?php foreach ( $transaction[ '_price' ][ 'total' ] as $currency => $price ): ?>
<div><?php print $price[ 'format_total' ]; ?></div>
<?php endforeach; ?>
<?php else: ?>
<em>free</em>
<?php endif; ?>
</th>
</tr>
<tr>

@ -22,8 +22,14 @@
<th colspan="3">
Total
</th>
<th>
<?php print $transaction[ '_price' ][ 'format_total' ]; ?>
<th class="text-right">
<?php if ( count( $transaction[ '_price' ][ 'total' ] ) ): ?>
<?php foreach ( $transaction[ '_price' ][ 'total' ] as $currency => $price ): ?>
<div><?php print $price[ 'format_total' ]; ?></div>
<?php endforeach; ?>
<?php else: ?>
<em>free</em>
<?php endif; ?>
</th>
</tr>
</tfoot>

Loading…
Cancel
Save