SilverCart Forum

We moderate this Forum and we're here to help. Have you already run a forum search to check if your problem has already been solved?

You can help us helping you by providing detailed error messages, screenshots and logfile entries.

SebastianRamon

Page: 1
Topic Customer Information 2976 Views

Customer Information

29 December 2012 at 9:14pm

In the registration form, we need a place to not only specify country, but to also specify their state or province (if from Canada). How would I go about doing this?

Re: Customer Information

30 December 2012 at 2:46pm

Hi Pneuma33,

you would have to decorate the SilvercartAddress class in silvercart/code/customer/SilvercartAddress.php to add the new attribute.

After that, you need to decorate the registration form, which is located at silvercart/code/custom_forms/SilvercartRegisterRegularCustomerForm.php

After a dev/build everything should be done.

Cheers
Ramon