[Skip to main content](#vessel-content)

#   customer tracking

##

- **[Reago](/forum/user/36328-reago "View Reago's Profile")**
- [![Reago's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36328-reago "View Reago's Profile") Topic Author
- [ Offline](/forum/user/36328-reago)

Less More

- Posts: 12
- Thank you received: 0
-
-

9 years 11 months ago [\#254735](#254735) by [Reago](/forum/user/36328-reago "View Reago's Profile")  *[customer tracking](/forum/33-customers/887371-customer-tracking#254735 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.4.45  Hello, we're happy to use hikashop on our website, now we need a solution to have tracking reports of some users that are in a specific group of users,  from the backend in hikashop would be very useful to have a (filterable) coloumn in the &quot;orders&quot; view to see the &quot;joomla user group&quot; of each user, is this somehow possible?  Actually we need to understand if users that comes to our website that are part of a particular group of users (organizations) are buying products on hikashop. I was thinking about putting those users in specific &quot;joomla-user-groups&quot; manually, and that's the reason of the question above, is there a easier (and maybe more automated) way to reach this goal?  waiting for your answer, all the best")* was created by *[Reago](/forum/user/36328-reago "View Reago's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.4
-- PHP version -- : 5.4.45

Hello,
we're happy to use hikashop on our website, now we need a solution to have tracking reports of some users that are in a specific group of users,

from the backend in hikashop would be very useful to have a (filterable) coloumn in the "orders" view to see the "joomla user group" of each user, is this somehow possible?

Actually we need to understand if users that comes to our website that are part of a particular group of users (organizations) are buying products on hikashop. I was thinking about putting those users in specific "joomla-user-groups" manually, and that's the reason of the question above, is there a easier (and maybe more automated) way to reach this goal?

waiting for your answer, all the best

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84ODczNzEtY3VzdG9tZXItdHJhY2tpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 11 months ago [\#254742](#254742) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[customer tracking](/forum/33-customers/887371-customer-tracking#254742 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.4.45  Hello, we're happy to use hikashop on our website, now we need a solution to have tracking reports of some users that are in a specific group of users,  from the backend in hikashop would be very useful to have a (filterable) coloumn in the &quot;orders&quot; view to see the &quot;joomla user group&quot; of each user, is this somehow possible?  Actually we need to understand if users that comes to our website that are part of a particular group of users (organizations) are buying products on hikashop. I was thinking about putting those users in specific &quot;joomla-user-groups&quot; manually, and that's the reason of the question above, is there a easier (and maybe more automated) way to reach this goal?  waiting for your answer, all the best")*

Hi,

Filtering on the Joomla user group is not easy because a joomla user can have several groups.
So you should add extra tables in the order listing query in order to link the Joomla table an the user groups.
To do so, you have to use a custom plugin and the HikaShop trigger "onBeforeOrderListing". Code:

function onBeforeOrderListing($paramBase, &amp;$extrafilters, &amp;$pageInfo, &amp;$filters, &amp;$tables, &amp;$searchMap) {}

It will allow you to add filters (in the interface and the query) and new elements for the search map.

Otherwise, thanks to a view override, you can use the order objects and perform a query to add a new column and display the corresponding Joomla user groups.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84ODczNzEtY3VzdG9tZXItdHJhY2tpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.136 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
