hello,
I'm trying to use the extra fields in the account_history_info.php file.
I use the same codec that in checkout_confirmation.php, like this:
// START: Extra Fields Contribution v2.0i with fix
list($products_id_clean) = split('{', $products[$i]['id']);
$extra_fields_query = tep_db_query("
SELECT pef.products_extra_fields_name as name, ptf.products_extra_fields_value as value ,pef.products_extra_fields_status as status
FROM ". TABLE_PRODUCTS_EXTRA_FIELDS ." pef
LEFT JOIN ". TABLE_PRODUCTS_TO_PRODUCTS_EXTRA_FIELDS ." ptf
ON ptf.products_extra_fields_id=pef.products_extra_fields_id
WHERE ptf.products_id=".$products_id_clean." and ptf.products_extra_fields_value<>'' and (pef.languages_id='0' or pef.languages_id='".$languages_id."')
ORDER BY products_extra_fields_order");
$extra_fields = tep_db_fetch_array($extra_fields_query);
// END: Extra Fields Contribution
but the account_history_info.php show me this error:
anybody can help me to put extra field in account_history_info.php?
Thanks
Regards.
p.d.: sorry for my bad english.