Support » Plugins » please select some product options before adding this product to your cart

  • Hi,

    I have made a variation product. If I am not choosing an option, the buy button is gray and when pressing it I get the following popup error message window:
    “please select some product options before adding this product to your cart”

    Can someone explain me where can I change this error message text ?

    Thanks

Viewing 1 replies (of 1 total)
  • jQuery(document).ready(function($){
    	$('.single_add_to_cart_button').click(function(e){
    		if ($('#pa_size').val() === "") {
    			e.preventDefault();
    			alert("Size should be selected, please select one");
    			return false;
    		}
    	});
    });

    check you need #pa_size or #pa_color, check the id first.

Viewing 1 replies (of 1 total)
  • The topic ‘please select some product options before adding this product to your cart’ is closed to new replies.