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’];

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.