Subversion Repositories SmartDukaan

Rev

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

Rev 22213 Rev 22747
Line 337... Line 337...
337
		var brandname = dataElement.data('brand');
337
		var brandname = dataElement.data('brand');
338
 
338
 
339
		if (bulkpricing != undefined && bulkpricing.length != 0){
339
		if (bulkpricing != undefined && bulkpricing.length != 0){
340
	    	for(var i=0;i<bulkpricing.length;i++)
340
	    	for(var i=0;i<bulkpricing.length;i++)
341
	    		{
341
	    		{
342
	    			if(val.quantity<bulkpricing[i]['quantity']){
342
	    			if(quantity<bulkpricing[i]['quantity']){
343
	    				break;
343
	    				break;
344
	    			}
344
	    			}
345
	    			else{
345
	    			else{
346
	    				price = bulkpricing[i]['price'];
346
	    				price = bulkpricing[i]['price'];
347
	    			}
347
	    			}