VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: ZX81 on February 17, 2012, 18:14:30 PM

Title: How to change the pricing field labels?
Post by: ZX81 on February 17, 2012, 18:14:30 PM
Joomla 1.7.3/VM 2.0.0

Hi, I want to change the pricing labels slightly. So for 'Sales Price'. I would like to simply use 'Price'. I've searched everywhere but can't work out how to do this. Are these stored in the db somewhere?
Title: Re: How to change the pricing field labels?
Post by: dmarot on April 15, 2012, 00:35:59 AM
I would love to know this as well
Title: Re: How to change the pricing field labels?
Post by: dmarot on April 15, 2012, 01:46:15 AM
After searching through all the virtuemart component directories, I finally realized my search was altogether wrong. The label names are stored in public_html/language/en-GB/en-GB.com_virtuemart.ini. The field in question is COM_VIRTUEMART_PRODUCT_SALESPRICE="your text here"
Title: Re: How to change the pricing field labels?
Post by: ZX81 on April 15, 2012, 08:40:29 AM
dmarot, that is great! Thank you for sharing this.

One other question on this. Do you know how to make this a template override? It doesn't seem to be part of a view so I wondering how to stop this being overwritten each time I upgrade. Maybe it's something I just need to remember to redo with each upgrade.

ZX
Title: Re: How to change the pricing field labels?
Post by: liquid.ideas on May 22, 2013, 16:41:46 PM
Thanks so much!! Fantastic bit of info there! I was hunting!