Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing Customer fax number to say ABN number


harden09

Recommended Posts

Hey I am new to oscommerce and want to change the name of a customer field ( fax number ) and then move it to under neath where it says company name..

Could someone please let me know how to do it and what files i need to change with the codes to do so??

Thank you

Link to comment
Share on other sites

Daniel, Changing the name is easy. Look in the catalog>includes>languages>english.php file and you will see line 204, change the text from Fax Number to ABN Number.

 

As far as changing location on the line, in the create_account.php file you will have to move this:

 

<tr>

<td class="main"><?php echo ENTRY_FAX_NUMBER; ?></td>

<td class="main"><?php echo tep_draw_input_field('fax') . ' ' . (tep_not_null(ENTRY_FAX_NUMBER_TEXT) ? '<span class="inputRequirement">' . ENTRY_FAX_NUMBER_TEXT . '</span>': ''); ?></td>

</tr>

 

from line 462 to around line 372.

 

Do not try to change the input field names, just leave them as Fax. The language file you changed will display the text ABN Number as you entered it.

 

 

 

 

Chris

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...