Filter ORDERS by USERS in ADMIN section

  • Posts: 8
  • Thank you received: 0
10 years 4 months ago #164106

-- url of the page with the problem -- : index.php?option=com_hikashop&ctrl=order&order_type=sale&filter_partner=0

I want to create a dropdown filter where admin can sort ORDERS by each user.

Can you guide me in this regard?

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

  • Posts: 12953
  • Thank you received: 1778
10 years 4 months ago #164114

Hello,

To do that you'll have to directly edit the files :
- components\com_hikashop\views\order\view.html.php
- components\com_hikashop\views\order\tmpl\listing.php
Note that will require some development skills, also that if directly edit these files you'll have to save them before each Hikashop update.

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

  • Posts: 8
  • Thank you received: 0
10 years 4 months ago #164210

Hi,

Thanks for that, but where from I would take the data (usernames)??? In which file I have to modify???

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

  • Posts: 12953
  • Thank you received: 1778
10 years 4 months ago #164212

Hello,
- components\com_hikashop\views\order\view.html.php ==> this file will handle the displaying of the orders regarding the value of your user dropdown filter.
- components\com_hikashop\views\order\tmpl\listing.php ==> this file will handle the displaying of your users filter

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

Time to create page: 0.068 seconds
Powered by Kunena Forum