VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: giupi on October 25, 2012, 20:19:28 PM

Title: Inventory field customization
Post by: giupi on October 25, 2012, 20:19:28 PM
Hello,

(J2.5.6 VM 2.0.10)

I've searched the forum but I did not find any solution...

I would like to customize the backend inventory table; now the table header is: Product Name, Product SKU, in Stock, Booked ordered products, cost price, Stock Value, Weight, Published

On my system baseprice and cost price are the same, and the final price comes from baseprice+%VAT, so I'm interested only in viewing final price in inventory. Moreover I would like to see in the inventory table also the overwritten final price (the product discounts comes from this override).

So what I would like to see in the inventory table is:

Product Name, Product SKU, in Stock, Booked ordered products, final price, overwritten final price, Weight, Published

I tried to edit administrator/components/com_virtuemart/views/inventory/tmpl/default.php and also administrator/components/com_virtuemart/views/inventory/view.html.php but when I change the field name to salesPrice (to get at least the final price) I get an empty price column...

What is the correct code to change?

Thank you in advance

PS the only post I found similar to my problem is this one: http://forum.virtuemart.net/index.php?topic=102281.msg339518#msg339518, but it seems not solved...
Title: Re: Inventory field customization
Post by: winzor on November 01, 2012, 23:56:02 PM
I would like to bump this up. Just looked at my inventory tab and it is not showing a price just $0.00
Title: Re: Inventory field customization
Post by: winzor on November 02, 2012, 11:16:50 AM
Found the answer here,

http://forum.virtuemart.net/index.php?topic=101705.msg337438#msg337438


Edit: Nevermind, this was for showing the price instead of just zero showing.