0

I am trying to alter the shipping information pane. It uses a select list for the profile addressenter image description here

I want to make it a radios type instead and when I use the form_alter to hook into the checkout pane, I just set the '#type' => 'radios' instead of 'select'. Like below: enter image description here

This does not work because of the array_parents in the callback (it has 2 extra parents which are appearing only when changed to radios) enter image description here

Any idea how to solve this?

Your Answer

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

Browse other questions tagged or ask your own question.