Subversion Repositories SmartDukaan

Rev

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

Rev 18287 Rev 18297
Line 60... Line 60...
60
		            <?php endif;?>
60
		            <?php endif;?>
61
		
61
		
62
		          </div>
62
		          </div>
63
		           <?php endif;?>
63
		           <?php endif;?>
64
 
64
 
65
		        <?php if (isset($deal['availabilityInfo'][0]['bulkPricing']) && !empty($deal['availabilityInfo'][0]['bulkPricing'])):?>
-
 
66
                  
65
		       
67
                    <?php foreach(array_reverse($deal['availabilityInfo'][0]['bulkPricing']) AS $value):?>
-
 
68
                      <div class="text-small">
-
 
69
                         
-
 
70
                        <?php if(isset($deal['quantity']) && $deal['quantity']>1):?>
-
 
71
							<span class="rupee"></span><span style="font-size:14px; color:#ff0000"><strong><?php echo ($value['price']/($deal['quantity']*$value['quantity']));?></strong></span> /- per unit for 
-
 
72
                          <?php echo $deal['quantity']*$value['quantity'];?> pcs.                      
-
 
73
                        <?php else:?>
-
 
74
                          <span class="rupee"></span><span style="font-size:14px; color:#ff0000"><strong><?php echo $value['price'];?></strong></span> /- per unit for <?php echo $value['quantity'];?> pcs.
-
 
75
                        <?php endif;?>
-
 
76
                      </div>
-
 
77
                    <?php endforeach;?>
-
 
78
                  
-
 
79
            <?php endif;?>
-
 
80
              
66
              
81
		        <?php if(isset($deal['ppq']) && !empty($deal['ppq']) &&($deal['ppq']>0)):?>
67
		        <?php if(isset($deal['ppq']) && !empty($deal['ppq']) &&($deal['ppq']>0)):?>
82
		           <div class="text-small">
68
		           <div class="text-small">
83
                  
-
 
84
		              <span class="rupee"></span><span style="font-size:14px; color:#ff0000"><strong><?php echo $deal['ppq'];?></strong></span> /- per unit 
69
                       <span class="rupee"></span><span style="font-size:14px; color:#ff0000"><strong><?php echo $deal['ppq'];?></strong></span> /- per unit.
85
		              <?php if(isset($deal['quantity']) && $deal['quantity']>1):?>
-
 
86
 
-
 
87
                      <font style="size:12px;"><?php echo "for ".$deal['quantity']." pcs.";?></font>                      
-
 
88
                    <?php endif;?>
-
 
89
		            </div>
70
		            </div>
90
		          <?php endif;?>
71
		          <?php endif;?>
91
		        
72
		        
92
		        <div <?php if(!empty($deal['coupon'])):?>style="margin:0 !important"<?php endif;?> class="product_prices accsproduct" data-id="<?php echo $deal['_id'];?>" data-source="<?php echo $deal['source_id'];?>" data-url="<?php echo $deal['marketPlaceUrl'];?>" data-price="<?php echo intval($deal['available_price']);?>" <?php if($key > 0):?>style='margin:0;'<?php endif;?>>
73
		        <div <?php if(!empty($deal['coupon'])):?>style="margin:0 !important"<?php endif;?> class="product_prices accsproduct" data-id="<?php echo $deal['_id'];?>" data-source="<?php echo $deal['source_id'];?>" data-url="<?php echo $deal['marketPlaceUrl'];?>" data-price="<?php echo intval($deal['available_price']);?>" <?php if($key > 0):?>style='margin:0;'<?php endif;?>>
93
		            <div>
74
		            <div>
94
		              <?php if($key == 0 && isset($deal['showDp']) && $deal['showDp']==1 && !empty($deal['dp'])):?>
75
		              <?php if($key == 0 && isset($deal['showDp']) && $deal['showDp']==1 && !empty($deal['dp'])):?>
95
		              <div class="dp">DP <span class="cashbackrupee"></span> <?php echo $deal['dp'];?></div>
76
		              <div class="dp">DP <span class="cashbackrupee"></span> <?php echo $deal['dp'];?></div>
96
		              <?php endif;?>
77
		              <?php endif;?>
-
 
78
		              
-
 
79
		              <span class="rupee"></span>
-
 
80
		              <?php if(isset($deal['gross_price']) && $deal['gross_price']>$deal['available_price']):?>
-
 
81
		                <span class="red pt2"><?php echo intval($deal['gross_price']);?></span>
-
 
82
		              <?php else:?>
-
 
83
		                <span class="product_price" data-did="<?php echo $deal['_id']; ?>"><?php echo intval($deal['available_price']);?></span> 
-
 
84
	                    <?php if(isset($deal['quantity']) && $deal['quantity']>1):?>
-
 
85
	
-
 
86
	                      <font style="color:black;size:12px;"><?php echo "for ".$deal['quantity']." pcs.";?></font>                      
-
 
87
	                    <?php endif;?>
-
 
88
                     <?php endif;?>
-
 
89
		              
97
		             
90
		             
98
		              <?php if(isset($deal['cash_back_type']) && !empty($deal['cash_back_type']) && $deal['cash_back_type']!=0 && $deal['cash_back']>0):?>&nbsp;+
91
		              <?php if(isset($deal['cash_back_type']) && !empty($deal['cash_back_type']) && $deal['cash_back_type']!=0 && $deal['cash_back']>0):?>&nbsp;+
99
		                <?php if($deal['cash_back_type'] == 2):?>
92
		                <?php if($deal['cash_back_type'] == 2):?>
100
		                  <span class="cashbackrupee"></span> <span class="cashback"><?php echo $deal['cash_back'];?></span>   
93
		                  <span class="cashbackrupee"></span> <span class="cashback"><?php echo $deal['cash_back'];?></span>   
101
		                <?php else:?>
94
		                <?php else:?>