Subversion Repositories SmartDukaan

Rev

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

Rev 18694 Rev 18711
Line 269... Line 269...
269
		    <?php endif;?>
269
		    <?php endif;?>
270
		    
270
		    
271
<?php if($deal['source_id'] == 4):?>	    
271
<?php if($deal['source_id'] == 4):?>	    
272
	<?php foreach($deal['availabilityInfo'] as $infokey => $infoval):?>
272
	<?php foreach($deal['availabilityInfo'] as $infokey => $infoval):?>
273
		    <?php if (isset($infoval['bulkPricing']) && !empty($infoval['bulkPricing'])):?>		 
273
		    <?php if (isset($infoval['bulkPricing']) && !empty($infoval['bulkPricing'])):?>		 
274
	               <div class="accsproduct priceshow <?php echo "priceshow".$infoval['item_id']."ps".$infokey;?> <?php if($infokey > 0):?>hidden<?php endif;?>" data-url="<?php if($deal['source_id'] == 4):?><?php echo $base_url."categories/dealdetail/".$deal['identifier'];?><?php endif;?>">
274
	               <div class="accsproduct priceshow <?php echo "priceshow".$infoval['item_id']."ps".$infokey;?> <?php if($infokey > 0):?>hidden<?php endif;?>" data-url="<?php if($deal['source_id'] == 4):?><?php echo $base_url."categories/dealdetail/".$deal['identifier'];?><?php endif;?>" data-id="<?php echo $deal['_id'];?>" data-source="<?php echo $deal['source_id'];?>" data-price="<?php echo intval($deal['available_price']);?>">
275
                    <?php foreach(array_reverse($infoval['bulkPricing']) AS $bulkkey => $value):?>
275
                    <?php foreach(array_reverse($infoval['bulkPricing']) AS $bulkkey => $value):?>
276
                    	
276
                    	
277
	                      <div class="<?php echo "select".$infoval['item_id']."a".$value['quantity'];?> text-small<?php if($bulkkey >1 && $bulkkey <=  intval(sizeof($infoval['bulkPricing']))-2 && intval(sizeof($infoval['bulkPricing'])) !=3):?> bulkpricingclass hidden<?php endif;?>" data-url="<?php if($deal['source_id'] == 4):?><?php echo $base_url."categories/dealdetail/".$deal['identifier'];?><?php endif;?>"> 
277
	                      <div class="<?php echo "select".$infoval['item_id']."a".$value['quantity'];?> text-small<?php if($bulkkey >1 && $bulkkey <=  intval(sizeof($infoval['bulkPricing']))-2 && intval(sizeof($infoval['bulkPricing'])) !=3):?> bulkpricingclass hidden<?php endif;?>" data-url="<?php if($deal['source_id'] == 4):?><?php echo $base_url."categories/dealdetail/".$deal['identifier'];?><?php endif;?>"> 
278
	                      
278
	                      
279
	                        <?php if(isset($deal['quantity']) && $deal['quantity']>1):?>
279
	                        <?php if(isset($deal['quantity']) && $deal['quantity']>1):?>
Line 307... Line 307...
307
	                      
307
	                      
308
                    <?php endforeach;?>
308
                    <?php endforeach;?>
309
                 </div> 
309
                 </div> 
310
                 <?php else:?>
310
                 <?php else:?>
311
                 <?php if(isset($deal['ppq']) && !empty($deal['ppq']) &&($deal['ppq']>0)):?>
311
                 <?php if(isset($deal['ppq']) && !empty($deal['ppq']) &&($deal['ppq']>0)):?>
312
		           <div class="priceshow <?php echo "priceshow".$infoval['item_id']."ps".$infokey;?> <?php if($infokey > 0):?>hidden<?php endif;?> 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;?>">                 
312
		           <div class="priceshow <?php echo "priceshow".$infoval['item_id']."ps".$infokey;?> <?php if($infokey > 0):?>hidden<?php endif;?> 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;?>" data-id="<?php echo $deal['_id'];?>" data-source="<?php echo $deal['source_id'];?>" data-price="<?php echo intval($deal['available_price']);?>">                  
313
		              <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
313
		              <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
314
		              
314
		              
315
		            </div>
315
		            </div>
316
		          <?php endif;?>
316
		          <?php endif;?>
317
		        
317
		        
318
 
318
 
319
				<?php if(isset($deal['quantity']) && $deal['quantity']>1 ):?>
319
				<?php if(isset($deal['quantity']) && $deal['quantity']>1 ):?>
320
		           <div class="priceshow <?php echo "priceshow".$infoval['item_id']."ps".$infokey;?> <?php if($infokey > 0):?>hidden<?php endif;?> 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;?>">                 
320
		           <div class="priceshow <?php echo "priceshow".$infoval['item_id']."ps".$infokey;?> <?php if($infokey > 0):?>hidden<?php endif;?> 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;?>" data-id="<?php echo $deal['_id'];?>" data-source="<?php echo $deal['source_id'];?>" data-price="<?php echo intval($deal['available_price']);?>">                 
321
		              <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> 
321
		              <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> 
322
		              <?php if(isset($deal['quantity']) && $deal['quantity']>1):?>
322
		              <?php if(isset($deal['quantity']) && $deal['quantity']>1):?>
323
 
323
 
324
                      	<font style="color:black;size:12px;"><?php echo "for ".$deal['quantity']." pcs";?></font>                      
324
                      	<font style="color:black;size:12px;"><?php echo "for ".$deal['quantity']." pcs";?></font>                      
325
                      <?php endif;?>
325
                      <?php endif;?>