|
@@ -61,7 +61,7 @@ unset($allLanguages[$default]);
|
|
|
|
|
|
<div style="clear: both">
|
|
|
<div style="float: left; padding-right: 10px">
|
|
|
- <input type="number" name="quantity_<?php echo $katao_product->getId() ?>" id="quantity_<?php echo $katao_product->getId() ?>" value="<?php echo $quantity ?>" style="width: 60px; height: 20px; text-align: center;" />
|
|
|
+ <input type="number" min="0" name="quantity_<?php echo $katao_product->getId() ?>" id="quantity_<?php echo $katao_product->getId() ?>" value="<?php echo $quantity ?>" <?php if ($authorize_quantity_decimal): ?>step="any"<?php else: ?>step="1"<?php endif ?> style="width: 60px; height: 20px; text-align: center;" />
|
|
|
<?php if ($authorize_quantity_decimal): ?>
|
|
|
<?php echo image_tag('decimals_icon.png', array('alt' => 'Décimales autorisées', 'title' => 'Décimales autorisées', 'align' => 'top' )); ?>
|
|
|
<?php else: ?>
|