No replies
lcdservices's picture
Offline
Joined: 09/16/2016
Juice: 4
Was this information Helpful?

I am building out Ubercart where most of the orders will be created by admins rather than a public-facing storefront. I need to hook into the order creation/update process in order to integrate with other elements of the site. But hook_uc_order (http://api.ubercart.me/api/drupal/ubercart%21uc_order%21uc_order.api.php...) seems to only be triggered from the storefront. I've added watchdog logging on the three params passed through that hook and they are not triggered when an order is created administratively.

I've searched and don't see any other hook that would appear to provide that functionality. Am I missing something? Is there no way to hook in to an admin-created order?