VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: JacoboPS on March 17, 2015, 11:20:35 AM

Title: Variable code displayed on frontend?
Post by: JacoboPS on March 17, 2015, 11:20:35 AM
When checking the cart, using the "basket" icon, I see that a variable code (not the value, but the code) is displayed on it:

COM_VIRTUEMART_CART_TOTALP

(the problem is that I don't know since when this is happening) Any idea why this is? Thank you!


Title: Re: Variable code displayed on frontend?
Post by: jenkinhill on March 17, 2015, 12:16:04 PM
Yopu have an untranslated language string in your cart module. As it is a commercial module there is no way we can know what it is supposed to translate as, so ask the template supplier, or check the English language file (assuming there is one) so you can make an override. http://forum.virtuemart.net/index.php?topic=113895.0
Title: Re: Variable code displayed on frontend?
Post by: JacoboPS on March 17, 2015, 13:15:15 PM
Great!! Thank you very much. With that tip I could search for it and find it!.
Title: Re: Variable code displayed on frontend?
Post by: GJC Web Design on March 17, 2015, 15:57:40 PM
the native Joomla language over rides system?
Title: Re: Variable code displayed on frontend?
Post by: JacoboPS on March 18, 2015, 13:02:42 PM

I am not sure to understand what you say, GJC, I can just say that as jenkinhill pointed, a variable was missing on the main language file:

I just added this on the "es-ES.com_virtuemart.ini" and it worked!!:

COM_VIRTUEMART_CART_TOTALP="Total <strong>%s</strong>"