Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
17804 manish.sha 1
<?php foreach($cartskus['cartItems'] as $cartitem):?>
2
	<div class="card row">
3
	<div class="col-xs-12 cartdetailscard" data-id="<?php echo $cartitem['itemId'];?>">
4
		<div class="col-xs-3 cartdetailimage">
5
			<div class="productthumb" >
17809 manish.sha 6
	          <img src="<?php echo $base_url;?>app/webroot/timthumb.php?src=<?php echo urlencode($cartitem['imageUrl']);?>&h=80" />
17804 manish.sha 7
	        </div>
8
		</div>
9
		<div class="col-xs-7 cartpricedetails">
17905 manish.sha 10
			<div class="product_short_description"><?php echo $cartitem['title'];?><?php if(!empty($cartitem['color']) || $cartitem['color']!=''):?> &#45; <?php echo $cartitem['color']?> <?php endif;?><br><span>&#8377;</span> <?php echo $cartitem['sellingPrice'];?> X <span class="lineitemqty" data-id="<?php echo $cartitem['itemId'];?>"><?php echo $cartitem['quantity'];?></span></div>
17804 manish.sha 11
			<?php if(isset($cartitem['dealText']) && !empty($cartitem['dealText'])):?>
12
				<div class="product_short_description"><?php echo $cartitem['dealText'];?></div>
13
			<?php endif;?>
14
			<?php foreach($cartitem['cartItemMessages'] as $itemmessage):?>
15
			<div class="label label-<?php echo $itemmessage['type'];?>">
16
				<?php echo $itemmessage['messageText'];?>
17
			</div>
18
			<?php endforeach;?>
19
		</div>
20
		<?php $name = explode(" ", $cartitem['title']);
21
			  $brand = $name[0];
22
		?>
23
		<div class="col-xs-2 cartdetailsadd">
17919 manish.sha 24
				<div class="input-group number-spinner" data-name="<?php echo $cartitem['title'];?>" data-brand="<?php echo $brand;?>" data-estimate="<?php echo $cartitem['estimate'];?>">
17804 manish.sha 25
					<span class="input-group-btn data-up">
26
						<button class="btn btn-default plusqtybutton" data-id="<?php echo $cartitem['itemId'];?>" data-price="<?php echo $cartitem['sellingPrice'];?>" data-dir="up"><span class="glyphicon glyphicon-plus plusqty"></span></button>
27
					</span>
17910 manish.sha 28
					<input type="text" class="itemquantity" value="<?php echo $cartitem['quantity'];?>" min="0" max="<?php echo $cartitem['maxQuantity'];?>" disabled="disabled">
17804 manish.sha 29
					<span class="input-group-btn data-dwn">
30
						<button class="btn btn-default minusqtybutton" data-id="<?php echo $cartitem['itemId'];?>" data-price="<?php echo $cartitem['sellingPrice'];?>" data-dir="dwn"><span class="glyphicon glyphicon-minus minusqty"></span></button>
31
					</span>
32
				</div>
33
			</div>
34
 
35
 
36
	</div>
37
 
38
	</div>
39
 
40
<?php endforeach;?>