VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: gavner25 on July 04, 2016, 12:40:18 PM

Title: Edit Sales Price
Post by: gavner25 on July 04, 2016, 12:40:18 PM
Hi, i have tried to change the 'Sales Price' text on this page http://thewhitehawk.co.uk/whitevelvet/index.php/furniture/beds-headboards/test2-detail

I used the Extensions>>langauage manager>>Overrides>>new>>search>

but it only affected the price text on the category page.

see here

I didnt update the product page http://thewhitehawk.co.uk/whitevelvet/index.php/furniture/beds-headboards

I also changed the language file but still not change. What is wrong here??
Title: Re: Edit Sales Price
Post by: jenkinhill on July 04, 2016, 13:13:58 PM
You do not say what Joomla & VirtueMart versions you are using. http://forum.virtuemart.net/index.php?topic=79799.0

Assuming that you use a recent VM3 (current stable is VM3.0.16) then the language override should work for both category and product detial view as the prices are rendered by the same sublayout. YOu are using a commercial template though, so there could be any number of changes from VM default templating.  http://forum.virtuemart.net/index.php?topic=108212.0

In the past I have "fixed" text issues like this using this plugin:  https://www.regularlabs.com/extensions/rereplacer
Title: Re: Edit Sales Price
Post by: gavner25 on July 04, 2016, 13:35:19 PM
im using version 3.014

Template override isnt working so im wandering if its the commercial template. If so, where are the template files stored/which folder?
Title: Re: Edit Sales Price
Post by: GJC Web Design on July 04, 2016, 13:57:37 PM
hmm.. have u tried searching???

http://docs.virtuemart.net/tutorials/templating-layouts/78-introduction-template-system.html
Title: Re: Edit Sales Price
Post by: gavner25 on July 04, 2016, 14:21:16 PM
I switched to the default template and the issue is still there. Any other ideas?
Title: Re: Edit Sales Price
Post by: jjk on July 05, 2016, 00:02:28 AM
In the Joomla administration select 'Extensions' > 'Language(s)' > 'Overrides' and choose the site language for which you want to create your override.
Click 'New' and search for the 'Constant' COM_VIRTUEMART_PRODUCT_SALESPRICE. Then add your text and click 'Save'
Title: Re: Edit Sales Price
Post by: GJC Web Design on July 05, 2016, 11:14:40 AM
jjk advice will work IF your template is using the standard lang constants or constants at all