Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1048586
    Kamran Abdul Aziz
    Participant

    I’m using WooCommerce product add-on & need the Datepicker for business purpose.
    However by default it doesn’t supports one so i reached out to Support for help & here’s the response i got from WooCommerce support to get it right but i’m confused how to get this jQuery work in the theme:

    Enqueue the datepicker code and your own script:
    https://gist.github.com/mikejolley/7213366

    Here’s the script you just enqueued that call’s the specific Product to action:
    https://gist.github.com/mikejolley/7213398
    (I tried to add the above script in Custom Javascript in Customizer with no luck)

    A little guidance will be helpful

    #1048952
    Christopher
    Moderator

    Hi there,

    Please add this code in child theme’s functions.php file.
    Add the other code in Customize -> Custom -> JavaScript.

    Hope it helps.

    #1049666
    Kamran Abdul Aziz
    Participant

    Hi this doesn’t works for me but i got an alternate solution to get it right.
    Thank you for your help.
    Appreciated.

    #1049673
    Nico
    Moderator

    Happy to hear that.

    Feel free to ask us again.

    Would you mind sharing the answer if it is okay.

    Thanks.

    #1049769
    Kamran Abdul Aziz
    Participant

    Nothing serious, just used this plugin: https://wordpress.org/plugins/wc-fields-factory/

    #1050004
    Christopher
    Moderator

    Thanks for sharing.

  • <script> jQuery(function($){ $("#no-reply-1048586 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>