[2.3] cart totals hooked into action

This commit is contained in:
James Koster 2015-04-09 15:15:37 +01:00
parent 1f3365f206
commit aad06e7f1c
2 changed files with 3 additions and 3 deletions

View File

@ -179,10 +179,12 @@ add_action( 'woocommerce_checkout_order_review', 'woocommerce_checkout_payment',
* Cart
*
* @see woocommerce_cross_sell_display()
* @see woocommerce_cart_totals()
* @see woocommerce_button_proceed_to_checkout()
*/
add_action( 'woocommerce_cart_collaterals', 'woocommerce_cross_sell_display' );
add_action( 'woocommerce_proceed_to_checkout', 'woocommerce_button_proceed_to_checkout', 10 );
add_action( 'woocommerce_cart_collaterals', 'woocommerce_cart_totals', 10 );
add_action( 'woocommerce_proceed_to_checkout', 'woocommerce_button_proceed_to_checkout', 20 );
/**
* Footer

View File

@ -143,8 +143,6 @@ do_action( 'woocommerce_before_cart' ); ?>
<?php do_action( 'woocommerce_cart_collaterals' ); ?>
<?php woocommerce_cart_totals(); ?>
</div>
<?php do_action( 'woocommerce_after_cart' ); ?>