Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How can i remove the Country question in create_ac


Swanfly

Recommended Posts

Posted

Find: (yours will look slightly different)

 

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

 

Change to:

 

<?php echo tep_draw_hidden_field('country', '223'); ?>

 

Alternately, you could simply remove it but I included the code above in case you wanted the country, but thought it pointless to ask since you only accept customers from one country. The replacement code will set a hidden value of 'United States' for country.

Archived

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

×
×
  • Create New...