Subversion Repositories SmartDukaan

Rev

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

Rev 18323 Rev 18435
Line 6... Line 6...
6
			<div class="productthumb" >
6
			<div class="productthumb" >
7
	          <img src="<?php echo $base_url;?>app/webroot/timthumb.php?src=<?php echo urlencode($cartitem['imageUrl']);?>&h=80" />
7
	          <img src="<?php echo $base_url;?>app/webroot/timthumb.php?src=<?php echo urlencode($cartitem['imageUrl']);?>&h=80" />
8
	        </div>
8
	        </div>
9
		</div>
9
		</div>
10
		<div class="col-xs-7 cartpricedetails">
10
		<div class="col-xs-7 cartpricedetails">
11
			<div class="cart_short_description"><span style="color:#737373;"><?php echo $cartitem['title'];?><?php if(!empty($cartitem['color']) || $cartitem['color']!=''):?> &#45; <?php echo $cartitem['color']?> <?php endif;?></span><br><span>&#8377;</span> <?php echo $cartitem['sellingPrice'];?> X <span class="lineitemqty" data-id="<?php echo $cartitem['itemId'];?>"><?php echo $cartitem['quantity'];?></span> &#61; <span class="lineitemtotal" data-id="<?php echo $cartitem['itemId'];?>" style=" color:#ff0000;"> &#8377; <?php echo intval($cartitem['quantity'])*intval($cartitem['sellingPrice']);?></span></div>
11
			<div class="cart_short_description"><span style="color:#737373;"><?php echo $cartitem['title'];?><?php if(!empty($cartitem['color']) || $cartitem['color']!=''):?> &#45; <?php echo $cartitem['color']?> <?php endif;?></span><br><span>&#8377;</span> <span class="lineitemprice" data-id="<?php echo $cartitem['itemId'];?>"><?php echo $cartitem['sellingPrice'];?></span> X <span class="lineitemqty" data-id="<?php echo $cartitem['itemId'];?>"><?php echo $cartitem['quantity'];?></span> &#61; <span class="lineitemtotal" data-id="<?php echo $cartitem['itemId'];?>" style=" color:#ff0000;"> &#8377; <?php echo intval($cartitem['quantity'])*intval($cartitem['sellingPrice']);?></span></div>
12
			<?php if(isset($cartitem['dealText']) && !empty($cartitem['dealText'])):?>
12
			<?php if(isset($cartitem['dealText']) && !empty($cartitem['dealText'])):?>
13
				<div class="cart_short_description" style="color:#737373;"><?php echo $cartitem['dealText'];?></div>
13
				<div class="cart_short_description" style="color:#737373;"><?php echo $cartitem['dealText'];?></div>
14
			<?php endif;?>
14
			<?php endif;?>
15
			<div class="cart_short_description<?php if(isset($cartitem['packQuantity']) && $cartitem['packQuantity']==1){?> hidden <?php }?>"><span style="color:#737373;">Total: </span><span class="packQuantity" data-id="<?php echo $cartitem['itemId'];?>" data-pack="<?php echo intval($cartitem['packQuantity']);?>" style="color:#ff0000"><?php echo intval($cartitem['quantity'])*intval($cartitem['packQuantity']);?></span><span style="color:#ff0000"> pcs</span></div>
15
			<div class="cart_short_description<?php if(isset($cartitem['packQuantity']) && $cartitem['packQuantity']==1){?> hidden <?php }?>"><span style="color:#737373;">Total: </span><span class="packQuantity" data-id="<?php echo $cartitem['itemId'];?>" data-pack="<?php echo intval($cartitem['packQuantity']);?>" style="color:#ff0000"><?php echo intval($cartitem['quantity'])*intval($cartitem['packQuantity']);?></span><span style="color:#ff0000"> pcs</span></div>
16
			<?php foreach($cartitem['cartItemMessages'] as $itemmessage):?>
16
			<?php foreach($cartitem['cartItemMessages'] as $itemmessage):?>
Line 23... Line 23...
23
			  $brand = $name[0];
23
			  $brand = $name[0];
24
		?>
24
		?>
25
		<div class="col-xs-2 cartdetailsadd">
25
		<div class="col-xs-2 cartdetailsadd">
26
				<div class="input-group number-spinner">
26
				<div class="input-group number-spinner">
27
					<span class="input-group-btn data-up">
27
					<span class="input-group-btn data-up">
28
						<button class="btn btn-default plusqtybutton" data-id="<?php echo $cartitem['itemId'];?>" data-price="<?php echo $cartitem['sellingPrice'];?>" data-dir="up" data-name="<?php echo $cartitem['title'];?>" data-brand="<?php echo $brand;?>" data-estimate="<?php echo $cartitem['estimate'];?>" data-identifier="<?php echo $cartitem['catalogItemId']; ?>" <?php if(isset($disablePage) && $disablePage): ?> disabled="disabled"<?php endif;?>><span class="glyphicon glyphicon-plus plusqty"></span></button>
28
						<button class="btn btn-default plusqtybutton" data-minquantity="<?php echo $cartitem['minBuyQuantity'];?>" <?php printf('data-bulkpricing = "%s"',htmlspecialchars(json_encode($cartitem['bulkPricing']), ENT_QUOTES, 'UTF-8'));?> data-quantitystep="<?php echo $cartitem['quantityStep'];?>" data-id="<?php echo $cartitem['itemId'];?>" data-price="<?php echo $cartitem['sellingPrice'];?>" data-dir="up" data-name="<?php echo $cartitem['title'];?>" data-brand="<?php echo $brand;?>" data-estimate="<?php echo $cartitem['estimate'];?>" data-identifier="<?php echo $cartitem['catalogItemId']; ?>" <?php if(isset($disablePage) && $disablePage): ?> disabled="disabled"<?php endif;?>><span class="glyphicon glyphicon-plus plusqty"></span></button>
29
					</span>
29
					</span>
30
					<input type="text" class="itemquantity" value="<?php echo $cartitem['quantity'];?>" min="0" max="<?php echo $cartitem['maxQuantity'];?>" autocomplete="off" readonly>
30
					<input type="text" class="itemquantity" value="<?php echo $cartitem['quantity'];?>" min="0" max="<?php echo $cartitem['maxQuantity'];?>" autocomplete="off" readonly>
31
					<span class="input-group-btn data-dwn">
31
					<span class="input-group-btn data-dwn">
32
						<button class="btn btn-default minusqtybutton" data-id="<?php echo $cartitem['itemId'];?>" data-price="<?php echo $cartitem['sellingPrice'];?>" data-dir="dwn" data-name="<?php echo $cartitem['title'];?>" data-brand="<?php echo $brand;?>" data-estimate="<?php echo $cartitem['estimate'];?>" data-identifier="<?php echo $cartitem['catalogItemId']; ?>" <?php if(isset($disablePage) && $disablePage): ?> disabled="disabled"<?php endif;?>><span class="glyphicon glyphicon-minus minusqty"></span></button>
32
						<button class="btn btn-default minusqtybutton" data-minquantity="<?php echo $cartitem['minBuyQuantity'];?>" <?php printf('data-bulkpricing = "%s"',htmlspecialchars(json_encode($cartitem['bulkPricing']), ENT_QUOTES, 'UTF-8'));?> data-quantitystep="<?php echo $cartitem['quantityStep'];?>" data-id="<?php echo $cartitem['itemId'];?>" data-price="<?php echo $cartitem['sellingPrice'];?>" data-dir="dwn" data-name="<?php echo $cartitem['title'];?>" data-brand="<?php echo $brand;?>" data-estimate="<?php echo $cartitem['estimate'];?>" data-identifier="<?php echo $cartitem['catalogItemId']; ?>" <?php if(isset($disablePage) && $disablePage): ?> disabled="disabled"<?php endif;?>><span class="glyphicon glyphicon-minus minusqty"></span></button>
33
					</span>
33
					</span>
34
				</div>
34
				</div>
35
			</div>
35
			</div>
36
			
36
			
37
		
37