CpILL:
Not sure if this is the issue or not. Did not locate this CSS class as there is no CSS style sheet in inventory. Perhaps it is being accessed in some other way.
<div class="uc_inventory_ajax_form">
Here is the code for the item that has zero inventory. It looks the same as the code from an item that has a lot of remaining inventory.
<div class="content">
<div class="product_image"><a href="http://localhost/drupal_5.2/files/4993.jpg" title="4993.jpg" class="thickbox" rel="field_image_cache_1"><img src="http://localhost/drupal_5.2/files/imagecache/product/files/4993.jpg" alt="4993.jpg" title="4993.jpg" /></a><br /></div><p>The accent area of this necklace contains five Sun Stones set off on both sides by a daisy spacer, Rhodonite, Unakite, and a Quartz Faceted Rectangle bead. The non-accent portion of the necklace is a pattern of Czech glass, frosted bead, and a rose bead. (Click on image for larger view)</p>
<div class="display_price">$24.95</div><div class="add_to_cart"><div class="uc_inventory_ajax_form"><form action="/drupal_5.2/node" method="post" id="uc-product-add-to-cart-form-4">
<div><input type="hidden" name="qty" id="edit-qty" value="1" />
<input type="submit" name="op" id="edit-submit" value="Add to cart" class="form-submit" />
<input type="hidden" name="form_id" id="edit-uc-product-add-to-cart-form-4" value="uc_product_add_to_cart_form_4" />
<input type="hidden" name="uc_inventory_nid" id="edit-uc-inventory-nid" value="4" />
<input type="hidden" name="uc_inventory_aids" id="edit-uc-inventory-aids" value="" />Looks like this maybe the code that causes the action to change the button from "add to cart" to sold or the call made by div class when inventory is zero.
<div class="display_price">$24.95</div><div class="add_to_cart"><div class="uc_inventory_ajax_form"><form action="/drupal_5.2/node" method="post" id="uc-product-add-to-cart-form-4">
Also using version 1.6 of Inventory and Uber 7E.
Let me know about any fix.
Thanks
Jim
