Hi,
That's right, sorry for the confusion.
For the vendor listing, HikaMarket is loading the custom fields which are displayed in the "fornt-end".
When you are displaying the vendors in a table, it will display the custom fields as columns.
If you are displaying the vendors in div list ; you will have to override the views in order to display the custom fields that you want to display.
Here the code used in the listing table to display all custom fields in different columns:
if(!empty($this->extraFields['vendor'])) {
foreach($this->extraFields['vendor'] as $fieldName => $oneExtraField) {
?>
<td class="hikamarket_vendor_custom_<?php echo $oneExtraField->field_namekey;?>_row"><?php
echo $this->fieldsClass->show($oneExtraField, $this->vendorFields->$fieldName);
?></td>
<?php
}
}
If you want to display one single custom field, you could use:
$fieldName = 'vendor_address_city';
echo $this->fieldsClass->show($this->extraFields['vendor'][$fieldName], $this->vendorFields->$fieldName);
Regards,