[2.3] cart totals hooked into action
This commit is contained in:
parent
1f3365f206
commit
aad06e7f1c
|
@ -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
|
||||
|
|
|
@ -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' ); ?>
|
||||
|
|
Loading…
Reference in New Issue