Upgraded to WordPress 6.0 and have issues? Please check the hotfix which you need to apply.

Okay
  Public Ticket #1535064
Datepicker
Closed

Comments

  • karim_gabriels started the conversation

    Hello,


    I installed the  "Woo Checkout Field Editor Pro Premium" from THemeHigh.

    When i try to add a datepicker, it is not shown correctly. The extra options like the days customers are not able to pick are not parsed.

    It looks like the theme is overriding the datepicker form.

    I tried removing this from the main.js:

    //Datepicker - http://api.jqueryui.com/datepicker/

    // var $vu_datepicker = $('.vu_datepicker');

    // $vu_datepicker.each(function() {

    // var $this = $(this),

    // options = $this.data('options') || {

    // defaultViewDate: 'today',

    // format: 'dd/mm/yy'

    // };

    // if ( $('.vu_dp-options[data-element="'+ $this.attr('id') +'"]').length ) {

    // try {

    // options = JSON.parse(JSON.stringify($('.vu_dp-options[data-element="'+ $this.attr('id') +'"]').data('options')));

    // } catch(err) {}

    // }

    // try {

    // $this.datepicker(options);

    // } catch(err) {}

    // });

    // Add custom wrap from date & time picker

    //$vu_datepicker.datepicker('widget').wrap('<div class="vu_datepicker-wrap"/>');


    But it doesn't help.

    Please advise.

    Regards,

    Karim Gabriels

    Owner Me Glusta


  •  228
    Milingona replied

    Hello Karim,

    Please try to comment line 47-48 of actions.php file located at wp-content/themes/bakery/includes. That will stop bootstrap-datepicker script and style from being loaded.

    Kind regards,


    Milingona Support

    Follow on     Envato     Facebook     Twitter