Subversion Repositories SmartDukaan

Rev

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

Rev 15873 Rev 15886
Line 34... Line 34...
34
	<div class="row card">
34
	<div class="row card">
35
		<?php if(!empty($storeProduct)):?>
35
		<?php if(!empty($storeProduct)):?>
36
			<div class="centeredimage col-xs-6">
36
			<div class="centeredimage col-xs-6">
37
				<img class="img img-responsive" src="<?php echo $base_url.'app/webroot/timthumb.php?h=90&src='.$storeProduct['thumbnail'];?>"/>	
37
				<img class="img img-responsive" src="<?php echo $base_url.'app/webroot/timthumb.php?h=90&src='.$storeProduct['thumbnail'];?>"/>	
38
			</div>
38
			</div>
-
 
39
			<?php if($storeProduct['in_stock'];):?>
39
			<div class="col-xs-6 viewproduct" id="sku-<?php echo $storeitems[0]['source_id'];?>" data-source="<?php echo $storeitems[0]['source_id'];?>" data-url="<?php echo $storeitems[0]['marketPlaceUrl'];?>" data-id="<?php echo $storeitems[0]['_id'];?>" data-bundle_id="<?php echo $storeProduct['skuBundleId'];?>" data-url="<?php echo $storeitems[0]['marketPlaceUrl'];?>" data-price="<?php echo $storeitems[0]['available_price'];?>">
40
			<div class="col-xs-6 viewproduct" id="sku-<?php echo $storeitems[0]['source_id'];?>" data-source="<?php echo $storeitems[0]['source_id'];?>" data-url="<?php echo $storeitems[0]['marketPlaceUrl'];?>" data-id="<?php echo $storeitems[0]['_id'];?>" data-bundle_id="<?php echo $storeProduct['skuBundleId'];?>" data-url="<?php echo $storeitems[0]['marketPlaceUrl'];?>" data-price="<?php echo $storeitems[0]['available_price'];?>">
40
				<h3 id="bestpriceproductname"><?php echo $storeitems[0]['source_product_name'];?></h3>
41
				<h3 id="bestpriceproductname"><?php echo $storeitems[0]['source_product_name'];?></h3>
41
				<div id="bestpricecontainer">Best Price
42
				<div id="bestpricecontainer">Best Price
42
 
43
 
43
					<span class="cashbackrupee"></span>
44
					<span class="cashbackrupee"></span>
44
					<span id="bestprice"><?php echo $storeitems[0]['available_price'];?></span>
45
					<span id="bestprice"><?php echo $storeitems[0]['available_price'];?></span>
45
				</div>
46
				</div>
46
				<button class="btn btn-xs" id="beststorelink" >BUY NOW</button>
47
				<button class="btn btn-xs" id="beststorelink" >BUY NOW</button>
47
			</div>
48
			</div>
-
 
49
			<?php else:?>
-
 
50
				<div class="col-xs-6">
-
 
51
				<h3 id="bestpriceproductname"><?php echo $storeProduct['product_name'];?></h3>
-
 
52
				<div class="" id="bestpricecontainer"><h4>Out of stock</h4></div>
-
 
53
				<button class="btn btn-xs hidden viewproduct" id="beststorelink">BUY NOW</button>
-
 
54
				</div>
-
 
55
			<?php endif;?>
-
 
56
 
48
			<?php unset($storeitems[0]);?>
57
			<?php unset($storeitems[0]);?>
49
			<div class="clearfix"></div>						
58
			<div class="clearfix"></div>						
50
			<?php if(!empty($activestores)):?>
59
			<?php if(!empty($activestores)):?>
51
			<?php foreach($activestores AS $storeName => $store):?>
60
			<?php foreach($activestores AS $storeName => $store):?>
52
				<?php if($storeShown[$store['store_id']]):?>
61
				<?php if($storeShown[$store['store_id']]):?>