if ( $free_shipping == true && 'flat_rate:17' === $rate->id ) {
$free[ $rate_id ] = $rate;
}
If that doesn’t do it, you should probably ask the experts in the plugin’s dedicated support forum: https://www.ads-software.com/support/plugin/woocommerce/
]]>Eg,
if ( $free_shipping == true && ‘flat_rate:17’ && ‘local_pickup:21’ === $rate->id ) {
$free[ $rate_id ] = $rate;
}
But i’m just not sure if that is how the code should be coded.
]]>