News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Dropdown values in Custom fields aren't translated - with solution

Started by Three_d, March 06, 2014, 10:08:46 AM

Previous topic - Next topic

Three_d

I found the following bug.
When you make a Custom Field with values in a dropdown list the values aren't translated although you have made custom language overrides.
I use Joomla 2.5.18 and VirtueMart 2.0.26D.

The solution is to edit the following file: administrator\components\com_virtuemart\models\customfields.php

Change on line 1000

$value = $customfield->custom_value;

to

$value = Jtext::_($customfield->custom_value);

I hope its solved in the next bug release of VirtueMart.

Jeroen

Milbo

I think this is already solved in the latest vm2.5, and in case, you should use vmText, not JText! JText is not robust anylonger.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/