Closed (works as designed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Checkout
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2011 at 23:44 UTC
Updated:
12 Sep 2011 at 17:08 UTC
Jump to comment: Most recent file
Comments
Comment #1
Drupa1ish commentedThis patch should fix the issue
Comment #2
rszrama commentedIt appears we're setting default values inconsistently across our various info structures, however I think the checkout pane process is correct... gather info from modules, allow other modules to fiddle with the data, and then set default values after the fact. This ensures that alteration doesn't wipe out a necessary default value, for example. In your alter hook implementation, why can't you just set
$checkout_pane['page'] = 'disabled'? That should do exactly what you're looking for, and it won't be reset by the default values since we use an array merge that preserves the initial values. Does this make sense?Comment #3
rszrama commentedJust cleaning the queue to prepare for a 1.0.
Comment #4
scoff commentedIs there a way to hide 'shipping info' pane if certain shipping method is selected? I can disable it globally using mymodule_commerce_checkout_pane_info_alter but it's not really useful.
Comment #5
rszrama commentedThat question would be better suited as a feature request in the Shipping module.