Difference between Joomla user and customers

  • Posts: 96
  • Thank you received: 3
  • Hikashop Business
3 years 1 month ago #329842

-- HikaShop version -- : 4.4.1
-- HikaMarket version -- : 3.1.1
-- Joomla version -- : 3.9.24
-- PHP version -- : 7.4

Hello,

In Hikashop and Hikamarket I see in the list with customers also the Joomla users like the superuser, administrator etc.
They are not customers in the shop and I don't want to see them in that list.
The customers comes in the Joomla group 'customers'.
How can I only show real customers and not the other Joomla users in the list 'Customers'?

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
3 years 1 month ago #329875

Hi,

There is no option for that.
It would require adding some code in the file administrator/components/com_hikashop/views/user/view.html.php to add a join to the "order" table in the MySQL query loading the users.
Now you can create a mass action with an action "display the results" and a filter "have / don't have" or a filter "users with acl" via the menu System>Mass actions to display a listing of the users who made a purchase. But it will require to process the mass action and you can't apply that directly to the standard Customers listing.

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum