KonaKart Community Forum

Installation / Configuration => Configuration of KonaKart => Topic started by: ady1981 on May 04, 2010, 01:02:10 pm

Title: How to set up default country for user at /CustomerRegistration.do page?
Post by: ady1981 on May 04, 2010, 01:02:10 pm
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
Title: Re: How to set up default country for user at /CustomerRegistration.do page?
Post by: trevor on May 04, 2010, 01:38:23 pm
This can be easily achieved by editing RegisterCustomerBody.jsp to select the Russian Federation in the drop list.
Title: Re: How to set up default country for user at /CustomerRegistration.do page?
Post by: ady1981 on May 05, 2010, 01:46:06 pm
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