1
Answers
Vote up!
2
Vote down!

How can I change the customer profile fields at the checkout page depending on type of business?

I want to give our customers 4 radio buttons, where they can choose between choices like business or private. Depending on the choice the following field should change. For example if the customer chooses business, there should be VAT field, which would be required.

Should I create a customer profile for every type or dynamically enable/disable the fields depending on the type chosen? What would be the correct/best approach?

Asked by: dealer
on September 13, 2012

1 Answer

Vote up!
1
Vote down!

You can use either method. However in the Commerce EU VAT module I went for a third profile type as rather than trying to add the VAT field to the billing or shipping address.

David Kitchen
Answer by: David Kitchen
Posted: Nov 13, 2012