News:

Support the VirtueMart project and become a member

Main Menu

Adding Stock and other fields to admin Productlist

Started by Daniel Sjöstrand, April 25, 2013, 21:56:11 PM

Previous topic - Next topic

Daniel Sjöstrand

Hello VM friends...

I'm looking for a way to make stock, and perhaps also price and weight into editable fields in admin product list.

I've located the admin productlist template:
administrator/com_virtuemart/views/product/tmpl/default.php

Instead of the Manufacturer field as I don't need that I've inserted this code:
<!-- Manufacturer name -->
<td><input  type="text" class="inputbox js-change-stock"  name="product_in_stock" value="<?php echo $product->product_in_stock?>" size="10" /></td>


Now I can see stock, and i can write in the stock field. But i do not have any save button that works...
So what i need help with is a product save button, either the same style as above the "sort" fields or based on the check-box in each product row.


VM2.0.20b Joomla! 2.5.8 http://www.urda.se