Subversion Repositories SmartDukaan

Rev

Rev 13672 | Rev 13695 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
13672 anikendra 1
<div class="container">
2
	<div class="row">
3
	<?php if(!empty($myfavorites)):?>
13674 anikendra 4
	<?php //debug($myfavorites);?>
5
		<?php foreach ($myfavorites as $key => $product):?>
13672 anikendra 6
				<div class="row suborder">
13674 anikendra 7
					<div class="col-xs-3 product_image img img-responsive">
8
						<?php if(!empty($product['StoreProduct']['thumbnail'])):?>
9
							<img src="<?php echo $base_url;?>app/webroot/timthumb.php?h=120&src=<?php echo $product['StoreProduct']['thumbnail'];?>" alt="<?php echo $product['StoreProduct']['title'];?>"/>
13672 anikendra 10
						<?php else:?>
13674 anikendra 11
							<img src="<?php echo $base_url;?>timthumb.php?src=<?php echo $base_url;?>img/noimage.png&h=80" alt="<?php echo $product['StoreProduct']['title'];?>"/>
13672 anikendra 12
						<?php endif;?>
13
					</div>
14
					<div class="col-xs-9">
13674 anikendra 15
						<h4><?php echo $product['StoreProduct']['title'];?></h4>
16
						<p class="product_prices">
17
       						<span class="rupee"></span><span class="product_price"><?php echo $product['StoreProduct']['mrp'];?></span>
18
       						<span class="deal_price">
19
       							<span class="rupee"></span>
20
       							<span class="text-striked">
21
       								<?php echo $product['StoreProduct']['available_price'];?>
22
       							</span>(<?php echo ceil(100*($product['StoreProduct']['mrp'] - $product['StoreProduct']['available_price'])/$product['StoreProduct']['mrp']);?>% off)
23
       						</span>
24
       					</p>
13672 anikendra 25
					</div>
26
				</div>
27
		<?php endforeach;?>
28
	<?php endif;?>
29
	</div>
30
</div>