Hello,
Hikashop has got this code responsible to show all the custom fields for Address table:
<?php
foreach($this->extraFields['address'] as $fieldName => $oneExtraField) {
?>
<tr class="hikashop_address_<?php echo $fieldName;?>_line">
<td class="key">
<?php echo $this->fieldsClass->getFieldName($oneExtraField);?>
</td>
<td>
<?php echo $this->fieldsClass->display($oneExtraField,$this->address->$fieldName,'data[address]['.$fieldName.']'); ?>
</td>
</tr>
<?php } ?>
I want to show some fields only if someone is visiting one particular page:
$CurrentUrl = 'http://www.xyz.com' . $_SERVER['REQUEST_URI'];
if($CurrentUrl=='http://www.xyz.com/affiliate-registration.html'){
show the list of custom fields specified individually...
}
Please advice