VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Three_d on January 28, 2016, 11:58:13 AM

Title: VM 2.6.22 Custom fields don't get translated when language overrides are used
Post by: Three_d on January 28, 2016, 11:58:13 AM
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