You would want to customize your template for the products _info page ...
Copy the file:
/includes/templates/templates_default/templates/tpl_product_info_display.php
to your templates and overrides directory, using whatever your template directory is for the your_templates_dir ...
/includes/templates/your_template_dir/templates/tpl_product_info_display.php
and find the line:
<?php echo (($flag_show_product_info_quantity == 1) ? '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>' : '') . "\n"; ?>
and change it to:
<?php
if ($products_quantity < 1) {
echo 'NOTHING';
} else {
echo (($flag_show_product_info_quantity == 1) ? '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>' : '') . "\n";
}
?>
Then you can set the
echo 'NOTHING';
once it is working, to read:
//echo 'NOTHING';
for future reference and to block the line ...
Linda McGrath
If you have to think ... you haven't been zenned ...
**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!