Hi,
In the Hikashop admin section, under "Orders", the products bought by customers are listed by the product code instead of product name. The same in the invoice as well. How can I change it to display the product name instead?
I look into the invoice.php, there's something like this :
if(hikashop_level(2) && !empty($this->fields)){
foreach($this->fields as $field){
$namekey = $field->field_namekey;
if(empty($product->$namekey)){
continue;
}
echo '<p class="hikashop_order_item_'.$namekey.'">'.$this->fieldsClass->getFieldName($field).': '.$this->fieldsClass->show($field,$product->$namekey).'</p>'; }
}
How can I change this to make it display the product name instead? Thank you!