Subversion Repositories SmartDukaan

Rev

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

Rev 18570 Rev 18582
Line 300... Line 300...
300
	                      </div>
300
	                      </div>
301
	                      
301
	                      
302
	                      
302
	                      
303
                    <?php endforeach;?>
303
                    <?php endforeach;?>
304
                 </div> 
304
                 </div> 
305
            <?php endif;?>
305
                 <?php else:?>
306
              
-
 
307
		        <?php if(isset($deal['ppq']) && !empty($deal['ppq']) &&($deal['ppq']>0) && isset($deal['availabilityInfo'][0]['bulkPricing']) && empty($deal['availabilityInfo'][0]['bulkPricing'])):?>
306
                 <?php if(isset($deal['ppq']) && !empty($deal['ppq']) &&($deal['ppq']>0)):?>
308
		           <div class="text-small<?php if($deal['source_id'] == 4):?> accsproduct<?php endif;?>" data-url="<?php if($deal['source_id'] == 4):?><?php echo $base_url."categories/dealdetail/".$deal['identifier'];?><?php endif;?>">                 
307
		           <div class="text-small<?php if($deal['source_id'] == 4):?> accsproduct<?php endif;?>" data-url="<?php if($deal['source_id'] == 4):?><?php echo $base_url."categories/dealdetail/".$deal['identifier'];?><?php endif;?>">                 
309
		              <span class="rupee" style="margin-top: 3px !important;"></span> <span style="font-size:13px; color:#ff0000"><strong><?php echo $deal['ppq'];?></strong></span> /- per unit
308
		              <span class="rupee" style="margin-top: 3px !important;"></span> <span style="font-size:13px; color:#ff0000"><strong><?php echo $deal['ppq'];?></strong></span> /- per unit
310
		              
309
		              
311
		            </div>
310
		            </div>
312
		          <?php endif;?>
311
		          <?php endif;?>
313
		        
312
		        
314
 
313
 
315
				<?php if(isset($deal['quantity']) && $deal['quantity']>1 && isset($deal['availabilityInfo'][0]['bulkPricing']) && sizeof($deal['availabilityInfo'][0]['bulkPricing'])<2):?>
314
				<?php if(isset($deal['quantity']) && $deal['quantity']>1 ):?>
316
		           <div class="text-small<?php if($deal['source_id'] == 4):?> accsproduct<?php endif;?>" data-url="<?php if($deal['source_id'] == 4):?><?php echo $base_url."categories/dealdetail/".$deal['identifier'];?><?php endif;?>">                 
315
		           <div class="text-small<?php if($deal['source_id'] == 4):?> accsproduct<?php endif;?>" data-url="<?php if($deal['source_id'] == 4):?><?php echo $base_url."categories/dealdetail/".$deal['identifier'];?><?php endif;?>">                 
317
		              <span class="rupee" style="margin-top: 3px !important;"></span> <span style="font-size:13px; color:#ff0000"><strong><?php echo ($deal['ppq']*$deal['quantity']);?></strong></span> 
316
		              <span class="rupee" style="margin-top: 3px !important;"></span> <span style="font-size:13px; color:#ff0000"><strong><?php echo ($deal['ppq']*$deal['quantity']);?></strong></span> 
318
		              <?php if(isset($deal['quantity']) && $deal['quantity']>1):?>
317
		              <?php if(isset($deal['quantity']) && $deal['quantity']>1):?>
319
 
318
 
320
                      	<font style="color:black;size:12px;"><?php echo "for ".$deal['quantity']." pcs";?></font>                      
319
                      	<font style="color:black;size:12px;"><?php echo "for ".$deal['quantity']." pcs";?></font>                      
321
                      <?php endif;?>
320
                      <?php endif;?>
322
		            </div>
321
		            </div>
323
		          <?php endif;?>
322
		          <?php endif;?>
-
 
323
                 
-
 
324
            <?php endif;?>
-
 
325
              
-
 
326
		        
324
				
327
				
325
		        
328
		        
326
		        <div <?php if(!empty($deal['coupon'])):?>style="margin:0 !important"<?php endif;?> class="product_prices <?php if($deal['source_id'] == 4):?>accsproduct<?php else:?>viewproduct<?php endif;?>" data-id="<?php echo $deal['_id'];?>" data-source="<?php echo $deal['source_id'];?>" data-url="<?php if($deal['source_id'] == 4):?><?php echo $base_url."categories/dealdetail/".$deal['identifier'];?><?php else:?><?php echo $deal['marketPlaceUrl'];?><?php endif;?>" data-price="<?php echo intval($deal['available_price']);?>" <?php if($key > 0):?>style='margin:0;'<?php endif;?>>
329
		        <div <?php if(!empty($deal['coupon'])):?>style="margin:0 !important"<?php endif;?> class="product_prices <?php if($deal['source_id'] == 4):?>accsproduct<?php else:?>viewproduct<?php endif;?>" data-id="<?php echo $deal['_id'];?>" data-source="<?php echo $deal['source_id'];?>" data-url="<?php if($deal['source_id'] == 4):?><?php echo $base_url."categories/dealdetail/".$deal['identifier'];?><?php else:?><?php echo $deal['marketPlaceUrl'];?><?php endif;?>" data-price="<?php echo intval($deal['available_price']);?>" <?php if($key > 0):?>style='margin:0;'<?php endif;?>>
327
		            <div style="margin-top:0px;">
330
		            <div style="margin-top:0px;">
328
		              
331
		              
329
		              
332
		              
330
		              <?php if(!isset($deal['availabilityInfo'][0]['bulkPricing']) || empty($deal['availabilityInfo'][0]['bulkPricing'])):?>
333
		              <?php if(!isset($deal['availabilityInfo'][0]['bulkPricing']) || empty($deal['availabilityInfo'][0]['bulkPricing'])):?>
331
			          
-
 
332
			              <?php if(isset($deal['gross_price']) && $deal['gross_price']>$deal['available_price']):?>		                
334
			              <?php if(isset($deal['gross_price']) && $deal['gross_price']>$deal['available_price']):?>		                
333
			                <?php if(isset($deal['quantity']) && $deal['quantity']<2):?>
335
			                <?php if(isset($deal['quantity']) && $deal['quantity']<2):?>
334
			                	<span class="rupee"></span> <span class="red pt2"><?php echo intval($deal['gross_price']);?></span>
336
			                	<span class="rupee"></span> <span class="red pt2"><?php echo intval($deal['gross_price']);?></span>
335
			                <?php endif;?>
337
			                <?php endif;?>
336
			              <?php else:?>
338
			              <?php else:?>