more tidying of checkout templates
This commit is contained in:
parent
b67436c465
commit
d0b137ca59
@ -20,8 +20,14 @@
|
|||||||
<th colspan="3">
|
<th colspan="3">
|
||||||
Total
|
Total
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th class="text-right">
|
||||||
<?php print $transaction[ '_price' ][ 'format_total' ]; ?>
|
<?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>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -22,8 +22,14 @@
|
|||||||
<th colspan="3">
|
<th colspan="3">
|
||||||
Total
|
Total
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th class="text-right">
|
||||||
<?php print $transaction[ '_price' ][ 'format_total' ]; ?>
|
<?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>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user