• Welcome to KonaKart Community Forum. Please login or sign up.
 

How to set up default country for user at /CustomerRegistration.do page?

Started by ady1981, May 04, 2010, 01:02:10 pm

Previous topic - Next topic

ady1981

Hello,

Our customers are generally from Russia. Is it possible to (pre) set up default country for user registration at /CustomerRegistration.do page (i.e. pre-select "Country:" -> "Russian Federation")?


Regards,

-Andrey

trevor

This can be easily achieved by editing RegisterCustomerBody.jsp to select the Russian Federation in the drop list.

ady1981

Many thanks.

I changed <html:select name="RegisterCustomerForm" property="countryId" value="176"> in corresponding place.

But, there is another way for checkout: through the CheckoutDelivery.do action (OnePageCheckoutBody.jsp).

I looked at the code and it was not obviously for me how to set the pre-selected country there (as could I see GWT begin to play there).

-Andrey