1 reply [Last post]
cloudmine's picture
Offline
Joined: 07/16/2008
Juice: 72
Was this information Helpful?

Hi,

I would like to integrate Ubercart with some desktop software to print my own labels (the 3-rd party software has already been made and I would like charge somebody with integrating it with the Ubercart table structure).

Can somebody describe me which tables are responsible for packages, for the data required with the addressee and where should the program save the data after printing the label, so that another person using Ubercart interface would know the label has already been printed and the package has already been sent?

Regards

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Integrating UC with 3-rd party software

The tables are uc_packages and uc_shipments. The label_image column in uc_packages is the filepath (relative to the Drupal root, I believe) to the label.

I think I need to refactor the way shipments are created in Ubercart. The documentation is likely non-existent because the code is so complicated. In theory, writing a shipping method to deal with your package labels is the way to go. However, I can't really recommend it since there aren't any good guides.