Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #639678

    Hi,

    Where can I insert this javascript in Enfold?

    // Set default value to 0 for Custom price input
    jQuery(document).ready(function(){
    jQuery(‘.addon-custom-price’).val(“0”);
    });

    I purchased a woocommerce product addon and it doesn’t explain where to put it..

    Thanks,

    #639698

    Hi Alexnovac83!

    You can, but for those issues you have to contact the plugin developer.
    We will help for first time, as it is something easy

    Add the following code to your header.php child theme

    <script>
    // Set default value to 0 for Custom price input
    jQuery(document).ready(function(){
    jQuery(‘.addon-custom-price’).val(“0”);
    });
    </script>

    Let us know if we can do anything else for you

    Regards,
    Basilis

    • This reply was modified 8 years, 6 months ago by Basilis.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.