module starting to work; needs to add in fulcrm_collection now
parent
80e52bb79f
commit
fa6fb457c3
@ -1 +1,16 @@
|
|||||||
fulcrm_shoppingcart_cart.tpl.php
|
<table class="table">
|
||||||
|
<caption>Your shopping cart</caption>
|
||||||
|
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Item</th>
|
||||||
|
<th>Price</th>
|
||||||
|
<th>Quantity</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
<?php print theme( 'fulcrm_shoppingcart_items', array( 'items' => $cart[ 'shoppingitems' ] ) ); ?>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
@ -1 +1,5 @@
|
|||||||
<?php /* fulcrm-shoppingcart-item.tpl.php */
|
<tr>
|
||||||
|
<td><?php print check_plain( $item[ 'name' ] ); ?></td>
|
||||||
|
<td><?php print check_plain( $item[ 'product' ][ '_price' ][ 'format_total_net' ] ); ?></td>
|
||||||
|
<td><?php print check_plain( $item[ 'quantity' ] ); ?></td>
|
||||||
|
</tr>
|
||||||
|
@ -1 +1,3 @@
|
|||||||
<?php /* fulcrm-shoppingcart-items.tpl.php */
|
<?php foreach ( $items as $item ): ?>
|
||||||
|
<?php print theme( 'fulcrm_shoppingcart_item', array( 'item' => $item ) ); ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
Loading…
Reference in New Issue