eCart php if else
I would like to know how can we use php if else statement on cart.php
Example: If quantity of a product is more than 10 then displaying a message.
<?php if ( $eCart1['Quantity'] > 10 ) { ?>
YES
<?php } else { ?>
NO
<?php } ?>
My Quantity is displayed in Cart like this :
<div class="col-md-2"><span><input type="text" name="eCart1_Quantity_<?php echo $eCart1->DisplayIndex; ?>" size="3" value="<?php echo $eCart1->DisplayInfo("Quantity"); ?>" /></span>
</div>