Title: date picker?
Last modified: August 22, 2016

---

# date picker?

 *  Resolved [sallam](https://wordpress.org/support/users/sallam/)
 * (@sallam)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/date-picker-12/)
 * This is a great plugin.
    I wonder if is possible to add a date picker among the
   field types available? I deliver to my customers one day after the order day.
   But if its 00:01 customers would think the delivery would be in that day. I made
   a custom field with radio buttons to allow customers to choose a delivery time
   convenient to them. This is how it looks:
 * > **Delivery time**:
   >  Tomorrow at 3pm Tomorrow at 6pm Tomorrow at 9pm
 * Is there a way or a code that dynamically displays the name of the day instead
   of the word “Tomorrow” ?
    So that, for example, if its now Sunday, starting at
   midnight (first minute of Monday) the radio buttons would be:
 * > **Delivery time**:
   >  Tuesday at 3pm Tuesday at 6pm Tuesday at 9pm
 * I appreciate any help or tips please.
    Thanks very much.
 * [https://wordpress.org/plugins/wc-fields-factory/](https://wordpress.org/plugins/wc-fields-factory/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Saravana Kumar K](https://wordpress.org/support/users/mycholan/)
 * (@mycholan)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/date-picker-12/#post-5951042)
 * Hi, Thanks for your review.!
 * Yes you can override the way custom fields rendered in product page.
 * > WC Fields Factory trigger “_wccpf/before/fields/rendering_” filter before rendering
   > each fields into product page.
 *     ```
       function wccpf_override_label( $field, $html ) {
   
       	if( $field["name"] == "name_on_tshirt" ) {
       		$html = '<div class="your class">
       					<label>Overrided Value</label>
       					<input type="text" name="'.esc_attr( $field["name"] ).'" value="'. esc_attr( $field["default_value"] ) .'" />
       				 </div>';
       	}
   
       	return $html;
       }
       add_filter( 'wccpf/before/fields/rendering', 'wccpf_override_label', 5, 2 );
       ```
   
 * To override radio buttons refer _PLUGINDIR/wc-fields-factory/classes/fields/radio.
   php_ line no 121 to 144.
 * If you wanted to override the labels alone refer this [article](http://sarkware.com/how-to-change-wc-fields-factory-custom-product-fields-rendering-behavior/)
 * > I am also planning to release next major version with three more fields type**
   > Image, Date Picker and Color Picker**
 * Happy Blogging.!
 *  Thread Starter [sallam](https://wordpress.org/support/users/sallam/)
 * (@sallam)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/date-picker-12/#post-5951099)
 * Thanks for your kind reply.
    Unfortunately, since I don’t know much about coding,
   I didn’t understand what exactly I should do and where. If you could give me 
   simple instructions of specific lines to add or replace in what files, it would
   be great.
 *  Plugin Author [Saravana Kumar K](https://wordpress.org/support/users/mycholan/)
 * (@mycholan)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/date-picker-12/#post-5951202)
 * Hi, That hook which I have posted with my previous reply, goes into your Theme’s
   _functions.php_, also I already given you the reference for altering radio button
   behavior.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘date picker?’ is closed to new replies.

 * ![](https://ps.w.org/wc-fields-factory/assets/icon-128x128.jpg?rev=2738843)
 * [WC Fields Factory](https://wordpress.org/plugins/wc-fields-factory/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-fields-factory/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-fields-factory/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-fields-factory/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-fields-factory/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Saravana Kumar K](https://wordpress.org/support/users/mycholan/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/date-picker-12/#post-5951202)
 * Status: resolved