Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mohaiminul Islam

    (@skshaikat)

    This is a issue for not loading jQuery ui library at your page. please make sure the page loads jQuery ui.

    By default WooCommerce loads the library on product edit page maybe any other plugin or your theme loading the library again or removing it.

    Thread Starter shoppa

    (@shoppa)

    Hi again,

    it seems the problem is datepicker loads twice in the frontend. one from a other plugin and one from yours.

    Question is why is your script loading in the frontend? For what?
    Have now disabled the line 47.
    //add_action( ‘wp_enqueue_scripts’, array( $this, ‘enqueue_scripts’ ) );

    In the backend the datepicker works like it should. But i don’t need this field, leave it every time empty.

    Will i have problems with my solution?

    Cheers and thanks for that good plugin
    shoppa

    Plugin Author Mohaiminul Islam

    (@skshaikat)

    Your solution is good.
    You can use

    admin_enqueue_script

    to load the script only in back-end rather than comment out total script.
    add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );

    I hope this will work better. Please let me know the status. I want to resolve this issue.

    Thank you.

    Plugin Author Mohaiminul Islam

    (@skshaikat)

    This issue was for double load of the same script. I have fixed this on 1.3.1 version so I am closing this issue. please let me know if there are any more issue.

    Plugin Author Mohaiminul Islam

    (@skshaikat)

    Resolving this issue. as this issue fixed already on 1.3.1 version

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘$(…).datepicker is not a function’ is closed to new replies.