Carro de Compra

Your shopping cart is empty







jQuery.validator.addMethod("valueNotEquals", function(value, element, arg){ return arg != value; }, "This field is required.");

jQuery.validator.setDefaults({ errorElement: "p", errorClass: "s_error_msg", errorPlacement: function(error, element) { error.insertAfter(element); }, highlight: function(element, errorClass, validClass) { jQuery(element).addClass("error_element").removeClass(validClass); jQuery(element).parent().addClass("s_error_row"); }, unhighlight: function(element, errorClass, validClass) { jQuery(element).removeClass("error_element").addClass(validClass); jQuery(element).parent().removeClass("s_error_row"); } });

jQuery("form.product_form").each(function() { jQuery(this).validate(); jQuery(this).find("select").each(function() { jQuery(this).rules("add", { required: true, valueNotEquals: "0" }); }); }); });