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,
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