diff --git a/templates/cart/totals.php b/templates/cart/totals.php index 0590c57afb6..9c307ba9c63 100644 --- a/templates/cart/totals.php +++ b/templates/cart/totals.php @@ -40,11 +40,15 @@ $available_methods = $woocommerce->shipping->get_available_shipping_methods(); cart->needs_shipping() && $woocommerce->cart->show_shipping() && ( $available_methods || get_option( 'woocommerce_enable_shipping_calc' ) == 'yes' ) ) : ?> + + $available_methods ) ); ?> + + cart->get_fees() as $fee ) : ?> @@ -119,6 +123,8 @@ $available_methods = $woocommerce->shipping->get_available_shipping_methods(); + + @@ -143,6 +149,8 @@ $available_methods = $woocommerce->shipping->get_available_shipping_methods(); + + diff --git a/templates/checkout/review-order.php b/templates/checkout/review-order.php index dd5df909534..2655a15d0ea 100644 --- a/templates/checkout/review-order.php +++ b/templates/checkout/review-order.php @@ -127,7 +127,7 @@ $available_methods = $woocommerce->shipping->get_available_shipping_methods(); - + @@ -155,10 +155,13 @@ $available_methods = $woocommerce->shipping->get_available_shipping_methods(); - + + cart->get_cart())>0) : foreach ($woocommerce->cart->get_cart() as $item_id => $values) : $_product = $values['data']; @@ -172,7 +175,7 @@ $available_methods = $woocommerce->shipping->get_available_shipping_methods(); endforeach; endif; - do_action( 'woocommerce_cart_contents_review_order' ); + do_action( 'woocommerce_review_order_after_cart_contents' ); ?>