Subversion Repositories SmartDukaan

Rev

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

Rev 17947 Rev 17953
Line 41... Line 41...
41
			if(payable>0){
41
			if(payable>0){
42
				$('button.checkoutbtn').prop( "disabled", false );
42
				$('button.checkoutbtn').prop( "disabled", false );
43
			}else{
43
			}else{
44
				$('button.checkoutbtn').prop( "disabled", true );
44
				$('button.checkoutbtn').prop( "disabled", true );
45
			}
45
			}
46
			if(!$('div.cartitemstotal').hasClass('hidden')){
-
 
47
				$('div.scroll').attr('style', 'margin-bottom: 155px');
-
 
48
			}else{
-
 
49
				$('div.scroll').attr('style', 'margin-bottom: 100px');
-
 
50
			}
-
 
51
			var estimateString = $('div.popover-markup').data('str');
46
			var estimateString = $('div.popover-markup').data('str');
52
			if(estimateString!="Can't ship here"){
47
			if(estimateString!="Can't ship here"){
53
				$('div.cartdetailscard').find('div, input, textarea, button, select').each(function () {
48
				$('div.cartdetailscard').find('div, input, textarea, button, select').each(function () {
54
					$(this).prop('disabled', false);
49
					$(this).prop('disabled', false);
55
				});
50
				});
Line 164... Line 159...
164
			$('div.cartdetailscard').find('div, input, textarea, button, select').each(function () {
159
			$('div.cartdetailscard').find('div, input, textarea, button, select').each(function () {
165
			    $(this).prop('disabled', true);
160
			    $(this).prop('disabled', true);
166
			});
161
			});
167
		}
162
		}
168
	}
163
	}
-
 
164
	
-
 
165
	if(!$('div.cartitemstotal').hasClass('hidden')){
-
 
166
		$('div.scroll').attr('style', 'margin-bottom: 155px');
-
 
167
	}else{
-
 
168
		$('div.scroll').attr('style', 'margin-bottom: 100px');
-
 
169
	}
169
}
170
}
170
 
171
 
171
$(function(){
172
$(function(){
172
	loadCartPageDetails();
173
	loadCartPageDetails();
173
});
174
});