Dynamic synched custom checkout select fields in WooCommerce
In Woocommerce I have been able to add 2 custom dropdowns list in checkout page: add_action('woocommerce_before_order_notes', 'wps_add_select_checkout_field'); function wps_add_select_checkout_field( $checkout) { echo '<h2>'.__('Next Day Delivery').'</h2>'; woocommerce_form_field( 'City', array( 'type' => 'select', 'class' => array( 'wps-drop' ), 'label' => __( 'Delivery options' ), 'options' => array( 'blank' => __( 'Select a day part', 'wps' ), 'A' => __( 'A', 'wps' ), 'B' => __( 'B', 'wps' ), 'C' => __( 'C', 'wps' ) ) ), $checkout->get_value( 'City' )); } add_action('woocommerce_before