Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

customize please select some product options before wordpress message

jQuery(document).ready(function($){
	$('.single_add_to_cart_button').click(function(e){
		if ($('#pa_size').val() == "") {
			e.preventDefault();
			alert("Please select size");
			return false;
		}
	});
});
Source by theme.co #
 
PREVIOUS NEXT
Tagged: #customize #select #product #options #wordpress #message
ADD COMMENT
Topic
Name
3+6 =