Hi @dannwagner,
Sorry for the delay in response to this.
Our developer has checked on this and created a code snippet to achieve your requirements. Kindly add this below-provided code snippet under the “functions.php” file of your active theme.
function custom_order_info_fields( $fields, $order ) {
// Fetch order date and time
$order_date = date_i18n( 'F j, Y', strtotime( $order->get_date_created() ) );
$order_time = date_i18n( 'H:i:s', strtotime( $order->get_date_created() ) );
// Concatenate date and time
$order_date_time = $order_date . ' at ' . $order_time;
// Update the 'order_date' field with the new label and value
if ( isset( $fields['order_date'] ) ) {
$fields['order_date']['label'] = 'Order Date and Time';
$fields['order_date']['value'] = $order_date_time;
}
// Merge the custom fields with the existing fields
$fields = array_merge( $fields );
return $fields;
}
add_filter( 'wcdn_order_info_fields', 'custom_order_info_fields', 10, 2 );
Once you will add this code, the date and time will be displayed like this: https://prnt.sc/6vFC6PNOzRdX
This filter code will work for simple template also. So you can update the plugin in future.
Please check and feel free to let us know if you have any queries.