VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: Khaostar on August 31, 2016, 15:33:30 PM

Title: Shoppers management - search by phone, email, etc.
Post by: Khaostar on August 31, 2016, 15:33:30 PM
Hi all! Really simple question.

I'm looking for something to improve the shoppers section in the administration. Actually, there is only a filter input that let me search by username, displayed name or email. the problem is that I have A LOT of shoppers and I want to search by phone, adress or anything else. I also want to see this kind of information directly in the shoppers list view.

Is there any way to customize the colums of the shoppers list views and to search by other fields? A plugin maybe?

Thanks!

Joomla 3.6
Virtuemart 3.0.16
Title: Re: Shoppers management - search by phone, email, etc.
Post by: GJC Web Design on August 31, 2016, 23:04:52 PM
the display template can be over ridden in the same way u would over ride a FE view template

then u can show what you need

I guess core changes will be needed to filter/search by other factors.. u need to study the function
Title: Re: Shoppers management - search by phone, email, etc.
Post by: Studio 42 on September 01, 2016, 00:35:52 AM
I checked for you.
$searchArray = array('ju.name','ju.username','ju.email','shopper_group_name')
$userFieldSearchArray = array('company','first_name','last_name','address_1','zip','city','phone_1');
So Virtuemart userlist in backEnd support username, email , shopper_group_name, 'company','first_name','last_name','address_1','zip','city','phone_1

I f you need a columns, simply overide it as GJC Web Design suggest.
Title: Re: Shoppers management - search by phone, email, etc.
Post by: Khaostar on September 01, 2016, 14:30:54 PM
Hi!

Thanks for the replies.

If I can override the view without doing any core hack, this is good.

I would like to have somethinbg more powerfull than that, with ajax search, auto complet and things like that, but this is gonna do the job for now.

Thanks!
Title: Re: Shoppers management - search by phone, email, etc.
Post by: Studio 42 on September 01, 2016, 16:09:09 PM
I write customized modules for this case. So you can display it at any position and not only in the order view.
This is helpfull for support center for eg.
Title: Re: Shoppers management - search by phone, email, etc.
Post by: Khaostar on September 01, 2016, 16:13:18 PM
Interresting... can you tell me more about that?

I'm looking for a simple way to be able to search my shoppers by almost any user field ins the administration. As I said, having a complete table with phone nomber, zip code, etc and be able to search by any of those columns would be great. Even better if I can have an autocomplete search in ajax for each columns.

Thanks!
Title: Re: Shoppers management - search by phone, email, etc.
Post by: Studio 42 on September 01, 2016, 22:03:59 PM
You can already search by all this fields in Virtuemart user backend list.
I only provide this module for my customers, because i adapt it by customers needs.
But you can perhaps check for this module : https://forum.virtuemart.net/index.php?topic=107737.0
Or my generic ajax module http://shop.st42.fr/en/tools/virtuemart-statistics-shop-panel.htm that can display some info by ajax( I know i need to add some screenshot).