Home Forums WC Vendors Pro Support Changing product submission field to datetimepicker

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.


Thank you to all of our customers!


  • This topic has 1 reply, 2 voices, and was last updated 6 years ago by Anna.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #58852

    With Jamie’s help I changed “text” field into a date picker with a code below:

    // Put this in your themes functions.php
    add_filter( 'wcv_product_title', 'product_title_date' ); 
    function product_title_date( $args ){ 
    	$args[ 'class' ] = 'wcv-datepicker'; 
    	return $args; 

    However, I also need a time picker so I tried changing “wcv-datepicker” to “wcv-datetimepicker” in order to enable time picker too – and on the frontend I’m able to select date and time but it doesn’t show up the date in the field.
    (I would also like to disable past dates in the picker, so only to be able to select current day or future days)

    This is what outputs when I select a date and time, I attached a screenshot. :

    • This topic was modified 6 years ago by Pablo.

    I am sorry but this is out of the scope of our support- I do not know how to make this type of date picker in the way in which you require.
    I do encourage you to reach out to a developer on codeable.io for assistance with this custom work for your website: https://codeable.io

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.
This website uses cookies to ensure you get the best experience on our website.