Skip to content

Commit

Permalink
Update wc-cart-functions.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Chunkford committed Jan 31, 2018
1 parent afb21dd commit af01745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/wc-cart-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ function wc_cart_totals_fee_html( $fee ) {
function wc_cart_totals_shipping_method_label( $method ) {
$label = $method->get_label();

if ( $method->cost >= 0 && $method->get_method_id() != 'free_shipping' ) {
if ( $method->cost >= 0 && $method->get_method_id() !== 'free_shipping' ) {
if ( WC()->cart->display_prices_including_tax() ) {
$label .= ': ' . wc_price( $method->cost + $method->get_shipping_tax() );
if ( $method->get_shipping_tax() > 0 && ! wc_prices_include_tax() ) {
Expand Down

0 comments on commit af01745

Please sign in to comment.