Zen Cart – Show qty box in shopping cart

Reading Time: < 1 minute

1) Backup your site
2) Locate includes/templates/template_default/templates/tpl_shopping_cart_default.php
3) Locate the below code:

if ($product[‘flagShowFixedQuantity’]) {
    echo $product[‘showFixedQuantityAmount’] . ‘<br /><span>’ . $product[‘flagStockCheck’] . ‘</span><br /><br />’ . $product[‘showMinUnits’];
  } else {
    echo $product[‘quantityField’] . ‘<br /><span>’ . $product[‘flagStockCheck’] . ‘</span><br /><br />’ . $product[‘showMinUnits’];
  }

4) Replace with the below code:

echo $product[‘quantityField’] . ‘<br /><span>’ . $product[‘flagStockCheck’] . ‘</span><br /><br />’ . $product[‘showMinUnits’];

Please follow and like us: