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

#   Export a view to CSV

##

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

13 years 5 months ago -  13 years 5 months ago [\#107320](#107320) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[Export a view to CSV](/forum/2-general-talk-about-hikashop/83235-export-a-view-to-csv#107320 "I see no way that a user can export Products database to a CSV file so I though I could build a very simplified view basically field contents and comma separations and then output it to a file instead of screen.  Would this be possible? I fond many examples in the internet on how to output content to a file with PHP, but before working hard on it (hard because I'm not a coder at all) I would like to know your opinion about it and maybe, who knows, you already have a solution available for it.  All community opinions will be welcome (and from the support team also, of course).")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

I see no way that a user can export Products database to a CSV file so I though I could build a very simplified view basically field contents and comma separations and then output it to a file instead of screen.

Would this be possible? I fond many examples in the internet on how to output content to a file with PHP, but before working hard on it (hard because I'm not a coder at all) I would like to know your opinion about it and maybe, who knows, you already have a solution available for it.

All community opinions will be welcome (and from the support team also, of course).

Last edit: 13 years 5 months ago by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile"). Reason: corrected post tilte

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgzMjM1LWV4cG9ydC1hLXZpZXctdG8tY3N2P3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14325
-
-

13 years 5 months ago [\#107361](#107361) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Export a view to CSV](/forum/2-general-talk-about-hikashop/83235-export-a-view-to-csv#107361 "I see no way that a user can export Products database to a CSV file so I though I could build a very simplified view basically field contents and comma separations and then output it to a file instead of screen.  Would this be possible? I fond many examples in the internet on how to output content to a file with PHP, but before working hard on it (hard because I'm not a coder at all) I would like to know your opinion about it and maybe, who knows, you already have a solution available for it.  All community opinions will be welcome (and from the support team also, of course).")*

You can export the products to a CSV by clicking on the "export" button of the products listing of the backend. Did you miss it or I'm not following you ?

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

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

13 years 5 months ago [\#107365](#107365) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[Export a view to CSV](/forum/2-general-talk-about-hikashop/83235-export-a-view-to-csv#107365 "I see no way that a user can export Products database to a CSV file so I though I could build a very simplified view basically field contents and comma separations and then output it to a file instead of screen.  Would this be possible? I fond many examples in the internet on how to output content to a file with PHP, but before working hard on it (hard because I'm not a coder at all) I would like to know your opinion about it and maybe, who knows, you already have a solution available for it.  All community opinions will be welcome (and from the support team also, of course).")*

I knew, but I want any registered user (without administrator privileges) to be able to download a list of my products.

So this has to be possible from the fronted.

I thought that by designing an specific view I could select those fields I want them to have access and also solve the translation of the product_manufacturer field from a number in the products table to its corresponding name taken form the manufacturers table.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgzMjM1LWV4cG9ydC1hLXZpZXctdG8tY3N2P3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14325
-
-

13 years 5 months ago [\#107386](#107386) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Export a view to CSV](/forum/2-general-talk-about-hikashop/83235-export-a-view-to-csv#107386 "I see no way that a user can export Products database to a CSV file so I though I could build a very simplified view basically field contents and comma separations and then output it to a file instead of screen.  Would this be possible? I fond many examples in the internet on how to output content to a file with PHP, but before working hard on it (hard because I'm not a coder at all) I would like to know your opinion about it and maybe, who knows, you already have a solution available for it.  All community opinions will be welcome (and from the support team also, of course).")*

Well, there is no option for that.
Next version of HikaShop will allow you to generate CSV files periodically and you would simply have to add a link to the generated file on your frontend.
So I would recommend to wait for it unless you're a skilled developer and do such script yourself but in that case you wouldn't need our help on how to do it...

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

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

13 years 5 months ago [\#107656](#107656) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[Export a view to CSV](/forum/2-general-talk-about-hikashop/83235-export-a-view-to-csv#107656 "I see no way that a user can export Products database to a CSV file so I though I could build a very simplified view basically field contents and comma separations and then output it to a file instead of screen.  Would this be possible? I fond many examples in the internet on how to output content to a file with PHP, but before working hard on it (hard because I'm not a coder at all) I would like to know your opinion about it and maybe, who knows, you already have a solution available for it.  All community opinions will be welcome (and from the support team also, of course).")*

Can I setup which fields to output for the CSV file?

Even if it is by altering a SQL query in some file...

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 5 months ago [\#107731](#107731) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Export a view to CSV](/forum/2-general-talk-about-hikashop/83235-export-a-view-to-csv#107731 "I see no way that a user can export Products database to a CSV file so I though I could build a very simplified view basically field contents and comma separations and then output it to a file instead of screen.  Would this be possible? I fond many examples in the internet on how to output content to a file with PHP, but before working hard on it (hard because I'm not a coder at all) I would like to know your opinion about it and maybe, who knows, you already have a solution available for it.  All community opinions will be welcome (and from the support team also, of course).")*

Hi,

In the next version you will be able to select the desired fields to export.
A lot of options will be present.

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

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

13 years 5 months ago [\#107735](#107735) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[Export a view to CSV](/forum/2-general-talk-about-hikashop/83235-export-a-view-to-csv#107735 "I see no way that a user can export Products database to a CSV file so I though I could build a very simplified view basically field contents and comma separations and then output it to a file instead of screen.  Would this be possible? I fond many examples in the internet on how to output content to a file with PHP, but before working hard on it (hard because I'm not a coder at all) I would like to know your opinion about it and maybe, who knows, you already have a solution available for it.  All community opinions will be welcome (and from the support team also, of course).")*

Great!

But as you expect the big question is:

When is coming new version? I have a site currently online and my client demands this feature. I can hold a week but I have to look for another solution if this has to delay a lot.

So I need an estimated timeframe. I understand saying release dates is not pleasant for developers, but sure you can say if it is mostly ready or the hardest part is still to be coded.

THANK YOU.

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 5 months ago [\#107746](#107746) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Export a view to CSV](/forum/2-general-talk-about-hikashop/83235-export-a-view-to-csv#107746 "I see no way that a user can export Products database to a CSV file so I though I could build a very simplified view basically field contents and comma separations and then output it to a file instead of screen.  Would this be possible? I fond many examples in the internet on how to output content to a file with PHP, but before working hard on it (hard because I'm not a coder at all) I would like to know your opinion about it and maybe, who knows, you already have a solution available for it.  All community opinions will be welcome (and from the support team also, of course).")*

Hi there,

The biggest part of this feature has been coded so the new version will probably be release this month ![:)](/media/kunena/emoticons/3.png ":)").

The following user(s) said Thank You: [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgzMjM1LWV4cG9ydC1hLXZpZXctdG8tY3N2P3RtcGw9bWFya2Rvd24=) 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.060 seconds

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