You could use a function to see if there are attributes and if so, then do not display the stock:
Using that function on your templates and overrides such as:Code:function zen_has_product_attributes($products_id, $not_readonly = 'true') {
Code:<?php echo (($flag_show_product_info_quantity == 1 && !zen_has_product_attributes((int)$_GET['products_id'])) ? '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>' : '') . "\n"; ?>
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!
Thanks so much for finding the "stock quantity" for us. really appreciate it.
#########
ネイル用品通販
Professional Nail Supplies
Lol, I found it on the Text Book and then forgot how to do it. But you just reminded me, thanks a bunch!
Hi,
I'm running zencart on 2 shopping carts and this is the first time I've run into this. When adding a new item, I checked it by acting as if I were going to purchase it by adding it to the cart. I get this message:
Please update your order ...
Product Name: 5 Gallon Value Package ... Quantity Units errors -
You ordered a total of: 1 Units: 30
Comes up in a yellow warning box. I've gone thru the admin section and changed everything I can find under Configuration and Catalog but it still keeps coming up. When I had quantity set to 0, I got a Sold Out icon. Are you saying I need to change the source code? If so, which file do I change?
Thanks!