Add username column to report csv download

  • Posts: 37
  • Thank you received: 0
  • Hikaserial Subscription Hikashop Business
2 months 3 weeks ago #323604

-- url of the page with the problem -- : shop.newmodelarmy.org
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.21
-- PHP version -- : 7.3

Hi,

How would I add a additional column to the csv file that can be downloaded from reports? I have a report of all customers who have bought a specific product and would like to include their usernames in the csv download.


Thanks

KH

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

  • Posts: 71096
  • Thank you received: 10699
  • MODERATOR
2 months 3 weeks ago #323606

Hi,

That would require some development in the file administrator/components/com_hikashop/classes/widget.php

I would rather recommend to use a mass action for your export (menu System>Mass actions).
You'll be able to use an export action and select the columns you want, and you can have a filter on the order_product_code to filter the orders for a specific product.
That way, no coding is necessary.

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

Time to create page: 0.052 seconds
Powered by Kunena Forum