Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

country drop down menu


Recommended Posts

On signup users have a drop down menu to select their country. As i'm only a english website can someone tell me where i can remove the other options? or even if it's safe to do so....



Shelton Brown

Web/Graphic Designer

Link to comment
Share on other sites

Hi Shelton,


This isn't the cleanest way to do it but you could drop in a hidden input field with the UK id as the value.



               <td class="main"><?php echo ENTRY_COUNTRY; ?></td>
               <td class="main"><?php echo tep_get_country_list('country') . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td>



<input type="hidden" name="country" value="222">


Remember to do the same with the account_edit.php page also.

Link to comment
Share on other sites


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

  • Create New...