I would like to change the shipping method title from "Priority Mail 1-Day" to "Priority Mail"
how do I target this cleanly?
<td class="col col-method" data-bind="text: method.method_title, attr: {'id': 'label_method_' + method.method_code + '_' + method.carrier_code}"></td>
<td class="col col-carrier" data-bind="text: method.carrier_title, attr: {'id': 'label_carrier_' + method.method_code + '_' + method.carrier_code}"></td>
</tr>
This is Magento 2 and this data is displayed after a click event on a radio button. I'm thinking I might be able to do this a dirty way and use javascript to overwrite the string value.
$(document).ready(function(){
$('#formA input[type=radio]').click(function(){
alert(this.value);
});
});
But I'm not sure that is the best approach.