VM 2.6.22 Custom fields don't get translated when language overrides are used

Started by Three_d, January 28, 2016, 11:58:13 AM

Previous topic - Next topic

Three_d

Hi,

This bug already exists in VM 2.0.26D bug is still there in VM 2.6.22
If you use language overrides in a multilanguage site custom fields don't get translated on the product details page in frontend.
To solve this
administrator\components\com_virtuemart\models\customfields.php
CHANGE on line 1000
$value = $customfield->custom_value;
TO
$value = Jtext::_($customfield->custom_value);

Jeroen