Commit f3232ca5bb for woocommerce
commit f3232ca5bbf0e6bc12d0eb3fb7714e39672d0bf2
Author: Marin Atanasov <8436925+tyxla@users.noreply.github.com>
Date: Mon Dec 29 19:12:25 2025 +0200
Checkout: Fix shipping method label when free (#62617)
* Checkout: Fix shipping method label when free
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
diff --git a/plugins/woocommerce/changelog/62617-update-free-shipping-labeling b/plugins/woocommerce/changelog/62617-update-free-shipping-labeling
new file mode 100644
index 0000000000..151ea79bf7
--- /dev/null
+++ b/plugins/woocommerce/changelog/62617-update-free-shipping-labeling
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+Comment: Checkout: Fix shipping method label when free
+
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/inner-blocks/checkout-shipping-method-block/shared/rate-price.tsx b/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/inner-blocks/checkout-shipping-method-block/shared/rate-price.tsx
index 00eb0e2443..0c8defe158 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/inner-blocks/checkout-shipping-method-block/shared/rate-price.tsx
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/inner-blocks/checkout-shipping-method-block/shared/rate-price.tsx
@@ -28,7 +28,7 @@ export const RatePrice = ( {
? parseInt( maxRate.price, 10 ) + parseInt( maxRate.taxes, 10 )
: parseInt( maxRate.price, 10 );
const priceElement =
- minRatePrice === 0 ? (
+ minRatePrice === 0 && maxRatePrice === 0 ? (
<em>{ __( 'free', 'woocommerce' ) }</em>
) : (
<FormattedMonetaryAmount