I was happy with Ubercart 2.3 introducing the hook 'hook_checkout_pane_alter()'.
I implemented this hook for the 6.x.2.x-dev version of 'uc_extra_fields_pane', where I help working on and I assumed that the hook 'hook_order_pane_alter()' would also have been introduced, but unfortenately, I found out this wasn't the case. Also it would be very helpfull if I could alter how the order address is formatted. This way I don't have to lookup all the places where the order address is printed. I couldn't find a way yet to override uc_order_address(). I was thinking of a hook called hook_uc_order_address_alter().

In order to complete the new features in for uc_extra_fields_pane, I would need these hooks.

So that's why I'm posting a patch.

Patch info
Patch applies on latest dev from the branch 'DRUPAL-6--2', August 2, 2010.
Patch introduces the hooks hook_uc_order_address_alter() and hook_order_pane_alter().

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

MegaChriz’s picture

Providing a new patch. An alter hook for the store address format would also be very helpfull.

Patch info
Patch applies on latest dev from the branch 'DRUPAL-6--2', August 19, 2010
Patch introduces the hooks hook_uc_order_address_alter(), hook_uc_store_address_alter() and hook_order_pane_alter()

Can you please review my code? Without it a stable version of uc_extra_fields_pane 6.x.2.x is unlikely to happen.

mpaler’s picture

+1 for inclusion

john.oltman’s picture

subscribe - I need this too

MegaChriz’s picture

Status: Needs review » Closed (duplicate)

I moved the issue to alter the order panes: #970744: Hook to alter order panes