Instantly share code, notes, and snippets.

Embed
What would you like to do?
[Product Addons] Set default input values for addons.
// Set default value to 0 for Custom price input
jQuery(document).ready(function(){
jQuery('.addon-custom-price').val("0");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment