Last active
July 5, 2023 22:11
Star
You must be signed in to star a gist
[Product Addons] Set default input values for addons.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Set default value to 0 for Custom price input | |
jQuery(document).ready(function(){ | |
jQuery('.wc-pao-addon-custom-price').val("0"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment