Possible to dynamically rename a shipping option?

USPS has a shipping option labeled “USPS Priority Mail 1-Day” which is inaccurate. It’s not next day delivery, but our customers assume it is. Then we get complaints about it.

Can I just rename this using JavaScript? I’ve got the following bit of jQuery that would do it... but I do not know how to make it fire. Is there an event or hook I can use?

jQuery('[for=shipping_service_id_14]').find('.fc-shipping-rates__rate__name').text('USPS Priority Mail');
Sign In or Register to comment.