VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: papaavola on June 30, 2012, 14:43:03 PM

Title: Price vs Cost Price in inventory page
Post by: papaavola on June 30, 2012, 14:43:03 PM
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.


Title: Re: Price vs Cost Price in inventory page
Post by: jjk on July 01, 2012, 18:06:07 PM
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 (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"