Hi,
With old checkout i used this to display text under post code field in address view:
if($fieldName=='address_post_code') echo '<span class="address_post_code_search">SEARCH</span>';
However i can't get it to work with new one where you edit address. The code looks like this and text doesn't display.
<?php
$onWhat = 'onchange';
if($field->field_type == 'radio')
$onWhat = 'onclick';
$field->table_name = 'order';
echo $this->fieldClass->display(
$field,
@$this->edit_address->$fieldname,
'data[address_'.$this->step . '_' . $this->module_position.']['.$fieldname.']',
false,
' ' . $onWhat . '="hikashopToggleFields(this.value,\''.$fieldname.'\',\'address_'.$this->module_position.'\',0);"',
false,
$this->cart_addresses['fields'],
$this->edit_address
);
if($fieldName=='address_post_code') echo '<span class="address_post_code_search">SEARCH</span>';
?>
Has anything changed? What code i could use now?
UPDATE: Sorry, found the issue...All fine.
Thanks