Hi,
Thanks for the report.
Please edit the file "administrator/components/com_hikashop/classes/order.php" and replace
if(isset($productData['order_id'])) {
$product = new stdClass();
foreach($productData as $key => $value) {
hikashop_secureField($key);
$product->$key = $safeHtmlFilter->clean($value, 'string');
}
By
if(isset($productData['order_id'])) {
$product = new stdClass();
$fieldClass = hikashop_get('class.field');
$oldData = null;
$item_fields = $fieldClass->getData('backend', 'item');
$fieldClass->_checkOneInput($item_fields, $productData, $product, 'item', $oldData);
foreach($productData as $key => $value) {
hikashop_secureField($key);
if(isset($items_fields[$key]))
continue;
$product->$key = $safeHtmlFilter->clean($value, 'string');
}
It should fix the issue by using the field class to save the custom fields in the order product.
I will submit the patch to the rest of the team (with other little modifications), which should be include in the next release.
Regards,