Skip to content

Magento 2.3.2: Hide Flat rate shipping method in the basket when Free Shipping is applied

I have an issue where a customer has an order that qualifies for free shipping, but the Flat rate shipping option still appears in the basket. But the flat rate shipping price is also zero.
enter image description here

I have a cart price rule to apply free shipping on orders over £25.

Other solutions I have read say to turn off free shipping in configuration.

I have turned off free shipping in Stores > Configuration and set Flat rate to ‘Show Method if Not Applicable’ > No. Yet still it appears. Is there a little bit of PHP I could pop somewhere that IF free shipping applies THEN hide the other options?

TIA.