Now that I have successfully gotten Uberccart to send orders to my in-house shipping system. (Works great). I want to send the package tracking data back to Ubercart so my users can check the status in their order history. I have a couple of questions.
1. I assume that the main thing I need to do is complete the uc_shipment table for each order that I ship. I can record actual shipping cost, tracking number, shipping methould, and trans number for my USPS and UPS shipments. My question is, how do users see this tracking information? When logged in as a admin I have a shipment tab, but users status page does not have any shipment details. Even though the email that Ubercart sends tells them to go to that page. Do I have to emable something for them to see their shipment status? Would it make sense for me to add a line to the order_history pane that would be a hyperlink for tracking with the tracking number embedded in the link?
2. Do I need to use the uc_package table, since I'm printing the usps and ups labels from another application, I'm assuming I don't.
3. I'd like to change the order status from Pending to Shipped at the same time I send of the tracking information. Do I just need to create a status for 'Shipped' and call uc_order_update_status($order_id, 'Shipped') to update it?
Thanks
Jim





Joined: 10/29/2007