Closed (works as designed)
Project:
Ubercart
Version:
6.x-2.0-rc3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2009 at 13:28 UTC
Updated:
30 Jul 2009 at 19:02 UTC
The order object ($arg1) is empty for the callback function of hook_checkout_pane on the operation "view". Can anyone confirm this or why is that?
Comments
Comment #1
Island Usurper commentedWhen someone first gets to the checkout page, there isn't an order yet, so NULL is passed into $arg1. If someone clicks "Back" on the review page, the order does exist by that point, and it should be used to fill in the #default_values of the checkout form rather than the actual default values. This keeps them from having to fill out all of their information again.