Subversion Repositories SmartDukaan

Rev

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

Rev 19706 Rev 19709
Line 63... Line 63...
63
    $("#addToCart").click(function(){
63
    $("#addToCart").click(function(){
64
    $('<form action="/storewebsite/order-details" method="post">' +
64
    $('<form action="/storewebsite/order-details" method="post">' +
65
    	'<input name="product_id" value="' + getSeletectedItemId()+'"/>' +
65
    	'<input name="product_id" value="' + getSeletectedItemId()+'"/>' +
66
    	'<input name="price" value="' + $('#mrp').text() +'"/>' +
66
    	'<input name="price" value="' + $('#mrp').text() +'"/>' +
67
      '</form>').submit();
67
      '</form>').submit();
68
    	//window.location = "/storewebsite/order-details?product_id=" + getSeletectedItemId() + "&price=" + $('#mrp').text();
-
 
69
	});
68
	});
70
	
69
	
71
	$("#colorSelector").change(function(){
70
	$("#colorSelector").change(function(){
72
		var itemid = $("#colorSelector option:selected").val();
71
		var itemid = $("#colorSelector option:selected").val();
73
		onColorSelectorChange(itemid);
72
		onColorSelectorChange(itemid);