Subversion Repositories SmartDukaan

Rev

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

Rev 16670 Rev 16671
Line 104... Line 104...
104
	  		array_push($storeObj, $storeObj1[$x]);
104
	  		array_push($storeObj, $storeObj1[$x]);
105
	  	}
105
	  	}
106
		
106
		
107
		usort( $storeObj , callback );
107
		usort( $storeObj , callback );
108
    ?>
108
    ?>
109
    <?php if($instock){?>
109
    <?php $affCount = count($storeObj);if($instock){?>
110
        <div class="price-hldr" itemprop="offerDetails" itemscope itemtype="http://data-vocabulary.org/Offer">
110
        <div class="price-hldr" itemprop="offerDetails" itemscope itemtype="http://data-vocabulary.org/Offer">
111
          <meta itemprop="priceCurrency" content="INR" />
111
          <meta itemprop="priceCurrency" content="INR" />
112
          <meta itemprop="condition" content="new"/>
112
          <meta itemprop="condition" content="new"/>
113
		<?php if(!isset($product_detail->items[0]->dealPrice) || empty($authorized['isPrivateDealUser'])):?>
113
		<?php if(!isset($product_detail->items[0]->dealPrice) || empty($authorized['isPrivateDealUser'])):?>
114
	          <?php if(isset($product_detail->items[0]->mrp) || isset($product_detail->items[0]->sellingPrice)){?>
114
	          <?php if(isset($product_detail->items[0]->mrp) || isset($product_detail->items[0]->sellingPrice)){?>
Line 177... Line 177...
177
	</div>
177
	</div>
178
 
178
 
179
    <?php } else{
179
    <?php } else{
180
    	$boxItem = $storeObj[0];
180
    	$boxItem = $storeObj[0];
181
    	$boxItem = $boxItem->map;
181
    	$boxItem = $boxItem->map;
-
 
182
    	$affCount -= 1;
182
    ?>
183
    ?>
183
            <div class="price-hldr" itemprop="offerDetails" itemscope itemtype="http://data-vocabulary.org/Offer">
184
            <div class="price-hldr" itemprop="offerDetails" itemscope itemtype="http://data-vocabulary.org/Offer">
184
          <meta itemprop="priceCurrency" content="INR" />
185
          <meta itemprop="priceCurrency" content="INR" />
185
          <meta itemprop="condition" content="new"/>
186
          <meta itemprop="condition" content="new"/>
186
          	  <img style="vertical-align:middle" src="<?=$sourceImg.$sourceMap[$boxItem->source_id]['name']?>.png"/>
187
          	  <img style="vertical-align:middle" src="<?=$sourceImg.$sourceMap[$boxItem->source_id]['name']?>.png"/>
Line 191... Line 192...
191
    	
192
    	
192
    	</div><!--price-hldr-->    
193
    	</div><!--price-hldr-->    
193
      </div><!--pd-price-cont-->
194
      </div><!--pd-price-cont-->
194
      <div onclick="goToStore('<?=$boxItem->source_id?>','<?=$boxItem->available_price?>', '<?=$boxItem->marketPlaceUrl?>')" class="buy-now btn">BUY NOW</div>
195
      <div onclick="goToStore('<?=$boxItem->source_id?>','<?=$boxItem->available_price?>', '<?=$boxItem->marketPlaceUrl?>')" class="buy-now btn">BUY NOW</div>
195
      
196
      
196
    <?php } if(count($storeObj)>1) {?>
197
    <?php } if($affCount > 0) {?>
197
    
198
    
198
      <div class="pd-tab clearfix" style="text-align: center;margin-bottom: 6px" onClick="togglelist(event,'tab7')";>
199
      <div class="pd-tab clearfix" style="text-align: center;margin-bottom: 6px" onClick="togglelist(event,'tab7')";>
199
      		<span>Prices On Other Stores</span>
200
      		<span>Prices On Other Stores</span>
200
          <span>+</span> </div>
201
          <span>+</span> </div>
201
      <div class="clearfix"></div>
202
      <div class="clearfix"></div>