Forums / Setup & design / [Solved] Delete the countryfield in userregister.tpl

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

[Solved] Delete the countryfield in userregister.tpl

Author Message

esperion H

Saturday 29 April 2006 9:16:01 am

Hi,

I want to delete the countryfield in userregister.tpl because I want to use the webshop in a single country only. This template is called when my customers are going through the checkout process. However, if I delete this field/label, the customer is stopped from going on to the orderconfirmation page because this field requires a value.

I don't know where I can turn off that function for this particular field only.

Do you have an idea?

Thank you.

Mads Ovesen

Saturday 29 April 2006 1:26:51 pm

You can comment out the lines of code in kernel/shop/userregister.php that controls country selection.

/M

/m