Skip to content

Instantly share code, notes, and snippets.

@woogists
Last active July 5, 2023 22:11
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save woogists/c9d158f239337911fb5a878b84c42f97 to your computer and use it in GitHub Desktop.
[Product Addons] Set default input values for addons.
// 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