Subversion Repositories SmartDukaan

Rev

Rev 9714 | Rev 9720 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9714 Rev 9717
Line 405... Line 405...
405
		if (quantity > 5)	{
405
		if (quantity > 5)	{
406
			alert("You can not order more than 5 pieces of same product.");
406
			alert("You can not order more than 5 pieces of same product.");
407
			$(obj).focus();
407
			$(obj).focus();
408
		}
408
		}
409
		else	{
409
		else	{
410
			window.location.href = "/cart/" + itemId + "?_method=put&productid=" + itemId + "&quantity=" + quantity,
410
			window.location.href = "/cart/" + itemId + "?_method=put&productid=" + itemId + "&quantity=" + quantity;
411
		}
411
		}
412
	});
412
	});
413
	
413
	
414
	$('#submitAddress').click(function(){
414
	$('#submitAddress').click(function(){
415
		if($('#guardianName').length > 0 && $('#guardianName').val() === '') {
415
		if($('#guardianName').length > 0 && $('#guardianName').val() === '') {