neater templating
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<tr>
|
||||
<td><?php print check_plain( $item[ 'product' ][ 'name' ] ); ?></td>
|
||||
<td><?php if ( array_key_exists( 'name', $item[ 'd' ] ) ) print nl2br( check_plain( $item[ 'd' ][ 'name' ] ) ); else print check_plain( $item[ 'product' ][ 'name' ] ); ?></td>
|
||||
<td><?php print check_plain( $item[ 'product' ][ '_price' ][ 'format_total_net' ] ); ?></td>
|
||||
<td><?php print check_plain( $item[ 'quantity' ] ); ?></td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user