News:

Support the VirtueMart project and become a member

Main Menu

Price vs Cost Price in inventory page

Started by papaavola, June 30, 2012, 14:43:03 PM

Previous topic - Next topic

papaavola

Hello,

Is it possible to change product cost price column title from 'Price' to 'Cost Price' in /administrator/index.php?option=com_virtuemart&view=inventory page?
At moment, column that shows product cost price uses title 'Product Price' same string is used as product sales price.
In some countries/translations these two terms can be totally different.



jjk

You can copy the two lines below (from the file ...\administrator\language\en-GB\en-GB.com_virtuemart.ini, aproximately line 1278 and 1316)

COM_VIRTUEMART_PRODUCT_INVENTORY_PRICE="Price"
COM_VIRTUEMART_PRODUCT_PRICE="Product price"

to your Joomla overrides folder, so your change doesn't get lost when you update VM2 (see here: http://forum.virtuemart.net/index.php?topic=92944.0)
and change the strings i.e. like this:

COM_VIRTUEMART_PRODUCT_INVENTORY_PRICE="Stock Value"
COM_VIRTUEMART_PRODUCT_PRICE="Cost Price"
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations