No replies
stefandenhartog's picture
Offline
Joined: 03/19/2012
Juice: 17
Was this information Helpful?

I would like to have a better customer data system in UberCart and not save all the adresses in the order but rather in their own user_adress table so I'm trying to make a module for Drupal/UberCart which should make this possible.

To start off I'd like to override the uc_get_adresses() method in uc_store.module which retrieves all the user adresses from the order table in such a way that it get's the data from the user_addresses table. This can ofcourse be done in the method itself but that sounds like a bad plan (customizing core functions is never a good idea).

I don't know how to override the function however. I did see some things about overriding theme functions, but I believe this is not a theme function.(?)

Can someone please give me a push in the right direction?

Thanks in advance!