Disable checkout pane based on cart
Is it possible to disable a checkout pane based on the contents of a cart. Example if product a is in the cart then an additional checkout pane is shown where the user needs to provide additional information.
Is this the best way to achieve this?
Basically when purchasing this product it is a requirement to capture additional information about the user which will not be needed for other products.
Any Ideas?
Comments
Custom code
Right now, this requires custom code, as far as I know. You might like the pane example in [Commerce Examples](http://drupal.org/project/commerce_examples), which shows how to use hook_commerce_checkout_pane_info_alter()