News:

Support the VirtueMart project and become a member

Main Menu

all prices in admin inventory view equals 0

Started by slutsker, April 22, 2012, 21:07:52 PM

Previous topic - Next topic

slutsker

VM 2.0.6
joomla 2.5.4

when i look at my products  in VM admin panel - i see prices
but when i look at them in in stock view of admin panel (maybe it is called inventory) all prices are 0

so in administrator/index.php?option=com_virtuemart&view=product   i see products and prices
and in administrator/index.php?option=com_virtuemart&view=inventory all prices are 0

slutsker

am i only one to face this problem?

what prices are checked on in you VM 2.0.6 admin panel? 
i checked on only sales price

teobgeno

No you are not the only one.

At administrator/components/com_virtuemart/views/inventory/view.html.php

Modify this line
$product->product_price_display = $currencydisplay->priceDisplay($product->product_price,'',false);

to
$product->product_price_display = $currencydisplay->priceDisplay($product->product_price,'',1,false);

slutsker

thank u a lot! :)

p.s. updating VM is very interisting! :(


Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

Ha that was fun, I directly added a column which shows directly the value of your stock.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Giannis86

Quote from: Milbo on April 24, 2012, 01:23:53 AM
Ha that was fun, I directly added a column which shows directly the value of your stock.


could you please share how you did that? I really need this function for my accountant