Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A couple of easy questions


crazymonkey

Recommended Posts

Posted

How do I change the default address options (eg. add a county field)?

 

Can I disable Zend? (I am getting an error message about it and I dont know what it is)

 

 

Thanks

 

CM :)

Posted

If the change of address detail isn't easy to do, where do I change the text next to the entry field (ie. change suburb to county etc)?

 

Thanks

 

CM

Posted

At the top of my head...you could try looking in /includes/languages/english.php otherwise check /includes/languages/english/login.php etc.

Posted

Backup...Backup...Backup

In english.php look for define entry suburb and make necessary changes.

Posted

Backup...Backup...Backup

In /includes/modules/account_details.php shift around blocks similar to the one below:

 

<?php

if (ACCOUNT_SUBURB == 'true') {

?>

<tr>

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

<td class="main"> 

<?php

if ($is_read_only == true) {

echo $account['entry_suburb'];

} elseif ($error == true) {

if ($entry_suburb_error == true) {

echo tep_draw_input_field('suburb') . ' ' . ENTRY_SUBURB_ERROR;

} else {

echo $suburb . tep_draw_hidden_field('suburb');

}

} else {

echo tep_draw_input_field('suburb', $account['entry_suburb']) . ' ' . ENTRY_SUBURB_TEXT;

}

?></td>

 

Hope this helps.

Posted

There is not a file called account_details.php in the /includes/modules directory. The only file that has similar script is address_book_details.php. I tried editing that but it didnt work.

Archived

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

×
×
  • Create New...