From 24de04094cba8f0b402396d1ab7a40ffe4f8d6c9 Mon Sep 17 00:00:00 2001 From: Geert De Deckere Date: Thu, 10 May 2012 09:42:43 +0200 Subject: [PATCH] Don't print 'incl.' if the cart subtotal excludes tax --- templates/cart/totals.php | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/templates/cart/totals.php b/templates/cart/totals.php index 3434f95db92..39fc8c56aa4 100644 --- a/templates/cart/totals.php +++ b/templates/cart/totals.php @@ -111,7 +111,14 @@ $available_methods = $woocommerce->shipping->get_available_shipping_methods(); if ($tax==0) continue; ?> - cart->tax->get_rate_label( $key ); ?> + + cart->tax->get_rate_label( $key ); + ?> + shipping->get_available_shipping_methods(); if ($tax==0) continue; ?> - cart->tax->get_rate_label( $key ); ?> + + cart->tax->get_rate_label( $key ); + ?> +