I was wondering if there is anyway to integrate Ubercart with Drupal views or integrate it with the location module. Basically what I want to do is be able to create more complex views to sort through customers by their location. Can anyone provide some insight.

Thanks,

tristan.oneil

Comments

Andy_Lowe’s picture

Tristan,
Ubercart by default does not store user addresses to the drupal user object which means (by default) it will not integrate easily with views or location. The first step to integration is to install a module which makes Ubercart store addresses in the drupal user object. I believe you can find the module you need here:
http://www.ubercart.org/forum/development/1524/storing_address_informati...
Once you have this module installed and working, you should be able to use the Drupal location and views modules to achieve your goals.
Hope this helps,

-Andy
Restaurant Equipment

Anonymous’s picture

Thanks for responding. I have the uc_address module installed and it works well, but I cannot figure out a way to either display the address information using views or create a hook so when you do a user search it searches the uc_address fields. Any ideas?

Thanks,

tristan.oneil

lonehorseend’s picture

I'm interested in the same functionality.

iaminawe’s picture

I am also interested in this functionality as becomes important for exporting customers info as a csv from a view

Thanks