René H4 Posted March 21, 2019 Share Posted March 21, 2019 When I get new stock in, and need to update it, and I don't want to scroll through the entire screen for every product. Is there a module that only displays the product name, the quantity and a save button? I suppose not, so: Can I move the following lines up in the categories file without doing the database any harm? First piece of the code (input field for quantity): <td class="main"><?php echo TEXT_PRODUCTS_QUANTITY; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('products_quantity', $pInfo->products_quantity); ?></td> Second piece of the code (save-cancel button): <tr> <td class="smallText" align="right"><?php echo tep_draw_hidden_field('products_date_added', (tep_not_null($pInfo->products_date_added) ? $pInfo->products_date_added : date('Y-m-d'))) . tep_draw_button(IMAGE_SAVE, 'disk', null, 'primary') . tep_draw_button(IMAGE_CANCEL, 'close', tep_href_link('categories.php', 'cPath=' . $cPath . (isset($_GET['pID']) ? '&pID=' . $_GET['pID'] : ''))); ?></td> </tr> I know I'd be changing the core but scrolling is a pain all the time..... Cheers, Rene Link to comment Share on other sites More sharing options...
♥raiwa Posted March 21, 2019 Share Posted March 21, 2019 Have a look on this: https://apps.oscommerce.com/Q7gVE&quick-stock-update-from-the-product-list Its old, but should not be difficult to update. About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥JcMagpie Posted March 21, 2019 Share Posted March 21, 2019 https://apps.oscommerce.com/XpKWd&quick-update-bs Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.