Jump to content

Addresses - country field is missing


Recommended Posts

When I try to amend a customer's address, it is telling me that the country ID field is required. However, the country ID field is not displayed. So how do I get it displayed please? 

 

I can't do a screen shot, as it will show the customer's details!

hello

 

some time ago i've got similar problem, it was related to non-default theme.

what i did?

i just added country field to address.tpl file (located in your theme directory) with code:

 

		{if $field_name eq 'Country:name' || $field_name eq 'country'}
		<p class="required select">
			<label for="id_country">{l s='Country'} <sup>*</sup></label>
			<select id="id_country" name="id_country">{$countries_list}</select>
		</p>
Link to comment
Share on other sites

  • 2 weeks later...

Vekia I have the same problem, but I use the default 1.5.6.2 theme.
Do you have an idé for a solution?

Kind regards
/Weronicha

 

 

hello

 

some time ago i've got similar problem, it was related to non-default theme.

what i did?

i just added country field to address.tpl file (located in your theme directory) with code:
 

		{if $field_name eq 'Country:name' || $field_name eq 'country'}
		<p class="required select">
			<label for="id_country">{l s='Country'} <sup>*</sup></label>
			<select id="id_country" name="id_country">{$countries_list}</select>
		</p>
Link to comment
Share on other sites

Thank you Vekia!

It was missing, I added the line and it works now. :-)


By the way, the "field translations" is missing in all languages. Do you have any clue??

 

check also address format under localization > countries tab in your back office (click on edit button near each active country, have you got there this filed defined?)

Link to comment
Share on other sites

×
×
  • Create New...