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

[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