News:

Support the VirtueMart project and become a member

Main Menu

Edit Sales Price

Started by gavner25, July 04, 2016, 12:40:18 PM

Previous topic - Next topic

gavner25

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??

jenkinhill

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
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

gavner25

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?

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

gavner25

I switched to the default template and the issue is still there. Any other ideas?

jjk

#5
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'
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

GJC Web Design

jjk advice will work IF your template is using the standard lang constants or constants at all
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation