neater templating
parent
988f047622
commit
16df753efd
@ -1,5 +1,5 @@
|
|||||||
<tr>
|
<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[ 'product' ][ '_price' ][ 'format_total_net' ] ); ?></td>
|
||||||
<td><?php print check_plain( $item[ 'quantity' ] ); ?></td>
|
<td><?php print check_plain( $item[ 'quantity' ] ); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
<?php print_r( $items ); ?>
|
|
||||||
|
|
||||||
<?php foreach ( $items as $item ): ?>
|
<?php foreach ( $items as $item ): ?>
|
||||||
<?php print theme( 'fulcrm_shoppingcart_cart_item', array( 'item' => $item ) ); ?>
|
<?php print theme( 'fulcrm_shoppingcart_cart_item', array( 'item' => $item ) ); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
Loading…
Reference in New Issue