Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A bug in address_book_process.php


Guest

Recommended Posts

Posted

How to find it:

- Create an account for an US customer and select a state.

- Go to my account, address book, edit

- Change country to Germany and click update

- You're presented with a list of German counties and country is still US. (should be Germany as selected in the previous step).

 

Can anyone offer a solution?

 

Thanks in advance.

Posted
How to find it:

- Create an account for an US customer and select a state.

- Go to my account, address book, edit

- Change country to Germany and click update

- You're presented with a list of German counties and country is still US. (should be Germany as selected in the previous step).

 

Can anyone offer a solution?

 

Thanks in advance.

 

in address_book_details module I have put this :

 

if ($country != '') {

$entry['entry_country_id'] = $country;

}

 

 

before this :

 

<tr>

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

<td class="main"><?php echo tep_get_country_list('country', $entry['entry_country_id']) . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td>

</tr>

Treasurer MFC

Posted

Amanda, you have saved the day. :thumbsup:

 

Many thanks.

Archived

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

×
×
  • Create New...