News:

Looking for documentation? Take a look on our wiki

Main Menu

Inventory field customization

Started by giupi, October 25, 2012, 20:19:28 PM

Previous topic - Next topic

giupi

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...

winzor

I would like to bump this up. Just looked at my inventory tab and it is not showing a price just $0.00

winzor

#2
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.