I need the following in Drupal Commerce:

  • On checkout, two radios should be presented (e.g. Email & Postal)
  • Upon selection of one of these, a different customer profile type should be attached to the order
  • Only fields related to the selected profile type should dynamically show up.

I'm perfectly able to accomplish this through FormAPI, but that wouldn't be tied to the Commerce system unfortunately.

Someone knows how the right way?



If you can accomplish this through the Forms API, then go for it. There's no specific Commerce way to make this happen.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.