Subversion Repositories SmartDukaan

Rev

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

Rev 18026 Rev 18027
Line 187... Line 187...
187
		if(currentItemTotal>0){
187
		if(currentItemTotal>0){
188
			var additionalAmount = 1000.0-currentItemTotal;
188
			var additionalAmount = 1000.0-currentItemTotal;
189
			additionalAmount = additionalAmount.toFixed();
189
			additionalAmount = additionalAmount.toFixed();
190
			$('span.cartheader').attr('style', 'font-size: 8pt;padding-left: 18px;');
190
			$('span.cartheader').attr('style', 'font-size: 8pt;padding-left: 18px;');
191
			$('span.cartheader').text('');
191
			$('span.cartheader').text('');
192
			$("<a class='addMoreItems' href='/category/6'><u>Add Items Worth <span style='color:#ff0000;'>₹ "+additionalAmount+"</span> for Free Shipping</u></a>").appendTo('span.cartheader');
192
			$("<a class='addMoreItems' href='/category/6'><u>Add more items worth <span style='color:#ff0000;'>₹ "+additionalAmount+"</span> for Free Shipping</u></a>").appendTo('span.cartheader');
193
		}else{
193
		}else{
194
			$('span.cartheader').text('');
194
			$('span.cartheader').text('');
195
			$('span.cartheader').attr('style', 'font-size: 12pt;padding-left: 30px;');
195
			$('span.cartheader').attr('style', 'font-size: 12pt;padding-left: 30px;');
196
			$('span.cartheader').text('Cart Details');
196
			$('span.cartheader').text('Cart Details');
197
		}
197
		}