Subversion Repositories SmartDukaan

Rev

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

Rev 18525 Rev 18683
Line 1... Line 1...
1
<script type="text/javascript" src="<?php echo $base_url;?>js/iscroll.js"></script>
1
<script type="text/javascript" src="<?php echo $base_url;?>js/iscroll.js"></script>
2
<script type="text/javascript" src="/js/profittill.js?v=<?php echo $staticversion;?>"></script>
2
<script type="text/javascript" src="/js/profittill.js?v=<?php echo $staticversion;?>"></script>
3
<script type="text/javascript" src="/js/jquery.viewport.mini.js"></script>
3
<script type="text/javascript" src="/js/jquery.viewport.mini.js"></script>
4
 
4
 
5
<script type="text/javascript">
5
<script type="text/javascript">
6
$(document).on('click','.morebulkprice',function(){
6
$(document).on('click','.morebulkprice',function(e){
-
 
7
  		e.stopPropagation();
7
  		if($(this).hasClass('glyphicon-chevron-down'))
8
  		if($(this).find('.glyphicon').hasClass('glyphicon-chevron-down'))
8
  		{
9
  		{
9
  			$(this).parent().parent().parent().find('.bulkpricingclass').removeClass('hidden');
10
  			$(this).parent().parent().parent().find('.bulkpricingclass').removeClass('hidden');
10
  			$(this).removeClass('glyphicon-chevron-down');
11
  			$(this).find('.glyphicon').removeClass('glyphicon-chevron-down');
11
  			$(this).addClass('glyphicon-chevron-up');
12
  			$(this).find('.glyphicon').addClass('glyphicon-chevron-up');
12
  		}
13
  		}
13
  		else
14
  		else
14
  		{
15
  		{
15
  			$(this).parent().parent().parent().find('.bulkpricingclass').addClass('hidden');
16
  			$(this).parent().parent().parent().find('.bulkpricingclass').addClass('hidden');
16
  			$(this).removeClass('glyphicon-chevron-up');
17
  			$(this).find('.glyphicon').removeClass('glyphicon-chevron-up');
17
  			$(this).addClass('glyphicon-chevron-down');
18
  			$(this).find('.glyphicon').addClass('glyphicon-chevron-down');
18
  		}
19
  		}
19
  	});
20
  	});
20
 
21
 
21
$(document).ready(function(){	
22
$(document).ready(function(){	
22
	$('.card').html(localStorage.getItem("productdetail"));
23
	$('.card').html(localStorage.getItem("productdetail"));