jQuery(function($) {
function fixDeliveryCityLabel() {
let label = $('label[for="billing_state"]');
if (label.length) {
label.text('Delivery City *'); // Force label change
}
}
// Run on page load
fixDeliveryCityLabel();
// Run after WooCommerce updates checkout fields via AJAX
$(document.body).on('updated_checkout', function() {
fixDeliveryCityLabel();
});
});