| Line 277... |
Line 277... |
| 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):?>
|
| 280 |
<span class="rupee" style="margin-top: 3px !important;"></span> <span style="font-size:13px; color:#ff0000"><strong><?php echo round(($value['price']/($deal['quantity'])),2);?></strong></span> per unit for
|
280 |
<span class="rupee" style="margin-top: 3px !important;"></span> <span style="font-size:13px; color:#ff0000"><strong><?php echo round(($value['price']/($deal['quantity'])),2);?></strong></span> per unit for
|
| 281 |
<?php
|
281 |
<?php
|
| 282 |
echo $value['quantity']." Pack (".$deal['quantity']*$value['quantity'];
|
282 |
echo $value['quantity']."+ Pack (".$deal['quantity']*$value['quantity'];
|
| 283 |
if($value['quantity'] == 1){
|
283 |
if($value['quantity'] == 1){
|
| 284 |
echo "pc)";
|
284 |
echo "pc)";
|
| 285 |
}
|
285 |
}
|
| 286 |
else{
|
286 |
else{
|
| 287 |
echo "pcs)";
|
287 |
echo "pcs)";
|
| 288 |
}
|
288 |
}
|
| 289 |
?>
|
289 |
?>
|
| 290 |
<?php else:?>
|
290 |
<?php else:?>
|
| 291 |
<span class="rupee" style="margin-top: 3px !important;"></span> <span style="font-size:13px; color:#ff0000"><strong><?php echo $value['price'];?></strong></span> per unit for <?php echo $value['quantity'];?>
|
291 |
<span class="rupee" style="margin-top: 3px !important;"></span> <span style="font-size:13px; color:#ff0000"><strong><?php echo $value['price'];?></strong></span> per unit for <?php echo $value['quantity']." +";?>
|
| 292 |
<?php
|
292 |
<?php
|
| 293 |
if($value['quantity'] == 1){
|
293 |
if($value['quantity'] == 1){
|
| 294 |
echo "pc";
|
294 |
echo "pc";
|
| 295 |
}
|
295 |
}
|
| 296 |
else{
|
296 |
else{
|
| Line 332... |
Line 332... |
| 332 |
|
332 |
|
| 333 |
|
333 |
|
| 334 |
<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;?>>
|
334 |
<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;?>>
|
| 335 |
|
335 |
|
| 336 |
<?php if(isset($deal['availabilityInfo']) && sizeof($deal['availabilityInfo'])>1):?>
|
336 |
<?php if(isset($deal['availabilityInfo']) && sizeof($deal['availabilityInfo'])>1):?>
|
| 337 |
<?php foreach($deal['availabilityInfo'] as $infokeyy => $infovall):?>
|
337 |
<?php foreach($deal['availabilityInfo'] as $infokeyy => $infovall):?>
|
| 338 |
|
- |
|
| 339 |
<div class="priceshow <?php echo "priceshow".$infovall['item_id']."ps".$infokeyy;?> <?php if($infokey > 0):?>hidden<?php endif;?>"style="margin-top:0px;">
|
338 |
<div class="priceshow <?php echo "priceshow".$infovall['item_id']."ps".$infokeyy;?> <?php if($infokeyy > 0):?>hidden<?php endif;?>"style="margin-top:0px;">
|
| 340 |
<?php if(!isset($infovall['bulkPricing']) || empty($infovall['bulkPricing'])):?>
|
339 |
<?php if(!isset($infovall['bulkPricing']) || empty($infovall['bulkPricing'])):?>
|
| 341 |
<?php if(isset($deal['gross_price']) && $deal['gross_price']>$deal['available_price']):?>
|
340 |
<?php if(isset($deal['gross_price']) && $deal['gross_price']>$deal['available_price']):?>
|
| 342 |
<?php if(isset($deal['quantity']) && $deal['quantity']<2):?>
|
341 |
<?php if(isset($deal['quantity']) && $deal['quantity']<2):?>
|
| 343 |
<span class="rupee"></span> <span class="red pt2"><?php echo intval($deal['gross_price']);?></span>
|
342 |
<span class="rupee"></span> <span class="red pt2"><?php echo intval($deal['gross_price']);?></span>
|
| 344 |
<?php endif;?>
|
343 |
<?php endif;?>
|