Subversion Repositories SmartDukaan

Rev

Rev 19712 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19712 Rev 19713
Line 214... Line 214...
214
			} else {
214
			} else {
215
				$("#addToCart").text("ADD TO CART");
215
				$("#addToCart").text("ADD TO CART");
216
				$("#addToCart").css("color", "white");
216
				$("#addToCart").css("color", "white");
217
				$("#addToCart").unbind();
217
				$("#addToCart").unbind();
218
				$("#addToCart").bind('click', function(){
218
				$("#addToCart").bind('click', function(){
219
			    	$('<form action="/storewebsite/order-details" method="POST">' +
219
				$('<form action="/storewebsite/order-details" method="POST">' +
220
				    	'<input name="product_id" value="' + getSeletectedItemId()+'"/>' +
220
				    	'<input name="product_id" value="' + itemId +'"/>' +
221
				    	'<input name="price" value="' + $('#mrp').text() +'"/>' +
221
				    	'<input name="price" value="' + $('#mrp').text() +'"/>' +
222
			      	'</form>').submit();
222
			      	'</form>').submit();
223
				});
223
				});
224
			}
224
			}
225
			
225