Guest Posted September 3, 2003 Share Posted September 3, 2003 In admin/categories.php replace the line if ($has_attr) echo "<a href="".tep_href_link("stock.php", "product_id=".$pInfo->products_id, 'NONSSL')."">".tep_image_button('button_stock.gif', "Stock")."</a>"; with if ($has_attr) echo "<input type="hidden" name="products_quantity" value="".$pInfo->products_quantity.""><a href="".tep_href_link("stock.php", "product_id=".$pInfo->products_id, 'NONSSL')."">".tep_image_button('button_stock.gif', "Stock")."</a>"; This solves the problem of updating product details overwriting the stock levels. Link to comment Share on other sites More sharing options...
radders Posted September 3, 2003 Share Posted September 3, 2003 Excellent! Another bug fix - for product_info with the radio buttons that comes with the contribution. This simple fix allows you to display the attributes headings correctly for multiple attributes: Find $titles = array(); Move it up a few lines so that it gets taken out of the 'while' loop. putting it below: $d1=array(); The problem was that the array was getting re-initialised for each attribute. Link to comment Share on other sites More sharing options...
Guest Posted September 6, 2003 Share Posted September 6, 2003 *Please do not begin multiple threads on the same contribution - this one is now locked.* Please post to this thread: http://www.oscommerce.com/forums/viewtopic.php...highlight=qtpro Johnson Link to comment Share on other sites More sharing options...
Recommended Posts