Hi,
I suppose you'll want to do something like this:
$class = hikashop_get('class.field');
$field = $class->get($field_column_name, $field_table);
foreach($field->field_value as $value => $valueObject) {
echo $valueObject->title;
}
While this could allow you to, for example, run a script, to update the values of custom fields in the database, based on what you're trying to do, you might be able to use a lighter approach.
What you could do is to make an override of hikashopFieldClass (
www.hikashop.com/support/documentation/6...ntation.html#classes
) and in your extended override class, override the loadValues method in order to change the values. This way you could change the values of the field on the fly when the field is being loaded.
This way, you don't have to create a plugin. Just an override file with a few lines of code in it.