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

#   Add username column to report csv download

##

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

Less More

- Posts: 46
- Thank you received: 1
-
-

6 years 2 months ago [\#323604](#323604) by [vividfish](/forum/user/18346-vividfish "View vividfish's Profile")  *[Add username column to report csv download](/forum/36-reports-statistics/900732-add-username-column-to-report-csv-download#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")* was created by *[vividfish](/forum/user/18346-vividfish "View vividfish's Profile")*

-- url of the page with the problem -- : [ shop.newmodelarmy.org](https://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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDA3MzItYWRkLXVzZXJuYW1lLWNvbHVtbi10by1yZXBvcnQtY3N2LWRvd25sb2FkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

6 years 2 months ago [\#323606](#323606) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add username column to report csv download](/forum/36-reports-statistics/900732-add-username-column-to-report-csv-download#323606 "-- 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")*

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&gt;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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDA3MzItYWRkLXVzZXJuYW1lLWNvbHVtbi10by1yZXBvcnQtY3N2LWRvd25sb2FkP3RtcGw9bWFya2Rvd24=) 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.064 seconds

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