Merge pull request #881 from GeertDD/cart_table_actions

Added two hooks to insert content inside the cart form but outside the table
This commit is contained in:
Mike Jolley 2012-03-26 02:45:44 -07:00
commit f07dac7953
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ global $woocommerce;
<?php $woocommerce->show_messages(); ?>
<form action="<?php echo esc_url( $woocommerce->cart->get_cart_url() ); ?>" method="post">
<?php do_action( 'woocommerce_before_cart_table' ); ?>
<table class="shop_table cart" cellspacing="0">
<thead>
<tr>
@ -102,6 +103,7 @@ global $woocommerce;
<?php do_action( 'woocommerce_after_cart_contents' ); ?>
</tbody>
</table>
<?php do_action( 'woocommerce_after_cart_table' ); ?>
</form>
<div class="cart-collaterals">