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

#   Export file choose fields

##

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

Less More

- Posts: 20
- Thank you received: 0
-
-
-

12 years 7 months ago [\#152183](#152183) by [Margreet](/forum/user/32154-margreet "View Margreet's Profile")  *[Export file choose fields](/forum/37-import-export-csv-xls/867436-export-file-choose-fields#152183 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : &#91;1403280123&#93; -- Joomla version -- : 2.5.19 -- PHP version -- :5.3.22 -- Browser(s) name and version -- : Firefox 28.0 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello to the reader(s),  Looked at the forum and the FAQ and the specifications of the different Hikashop versions but I can't find an answer to my question. I have used virtuemart before and want tot try hikashop. So I installed the starter version and created and filled the webshop. Now I used the export function to create a csv file. But there are only a very few article fields which I can export to a csv file. Is this correct for the starter version? Or am I doing something wrong?  So if this is correct what are the possibilities for the paid versions? I can't find the optons mentioned under compare versions.  Kind regards Margareth")* was created by *[Margreet](/forum/user/32154-margreet "View Margreet's Profile")*

-- url of the page with the problem -- : [ mywebsite.com/mypage](http://mywebsite.com/mypage)
-- HikaShop version -- : [1403280123]
-- Joomla version -- : 2.5.19
-- PHP version -- :5.3.22
-- Browser(s) name and version -- : Firefox 28.0
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hello to the reader(s),

Looked at the forum and the FAQ and the specifications of the different Hikashop versions but I can't find an answer to my question.
I have used virtuemart before and want tot try hikashop.
So I installed the starter version and created and filled the webshop.
Now I used the export function to create a csv file.
But there are only a very few article fields which I can export to a csv file.
Is this correct for the starter version? Or am I doing something wrong?

So if this is correct what are the possibilities for the paid versions?
I can't find the optons mentioned under compare versions.

Kind regards
Margareth

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

12 years 7 months ago [\#152201](#152201) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Export file choose fields](/forum/37-import-export-csv-xls/867436-export-file-choose-fields#152201 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : &#91;1403280123&#93; -- Joomla version -- : 2.5.19 -- PHP version -- :5.3.22 -- Browser(s) name and version -- : Firefox 28.0 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello to the reader(s),  Looked at the forum and the FAQ and the specifications of the different Hikashop versions but I can't find an answer to my question. I have used virtuemart before and want tot try hikashop. So I installed the starter version and created and filled the webshop. Now I used the export function to create a csv file. But there are only a very few article fields which I can export to a csv file. Is this correct for the starter version? Or am I doing something wrong?  So if this is correct what are the possibilities for the paid versions? I can't find the optons mentioned under compare versions.  Kind regards Margareth")*

Hi,

I'm not sure what you mean ? When you click on the "export" button of the products listing, it's going to give you a CSV of the products data with all the fields in it (tens of them, all of them), even in the Starter edition.

The following user(s) said Thank You: [Margreet](/forum/user/32154-margreet "View Margreet's Profile")

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-
-

12 years 7 months ago [\#152254](#152254) by [Margreet](/forum/user/32154-margreet "View Margreet's Profile")  Replied by *[Margreet](/forum/user/32154-margreet "View Margreet's Profile")* on topic *[Export file choose fields](/forum/37-import-export-csv-xls/867436-export-file-choose-fields#152254 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : &#91;1403280123&#93; -- Joomla version -- : 2.5.19 -- PHP version -- :5.3.22 -- Browser(s) name and version -- : Firefox 28.0 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello to the reader(s),  Looked at the forum and the FAQ and the specifications of the different Hikashop versions but I can't find an answer to my question. I have used virtuemart before and want tot try hikashop. So I installed the starter version and created and filled the webshop. Now I used the export function to create a csv file. But there are only a very few article fields which I can export to a csv file. Is this correct for the starter version? Or am I doing something wrong?  So if this is correct what are the possibilities for the paid versions? I can't find the optons mentioned under compare versions.  Kind regards Margareth")*

Hi Nicolas,

I'm sorry. I didn't look at the right place. :blush:
You are right in the csv I have all the fields of a product.
Can I put another question?
Is it posibble to choose which fields I want in the export when I use the starter edition?

Kind regards
Margareth

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 7 months ago [\#152271](#152271) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Export file choose fields](/forum/37-import-export-csv-xls/867436-export-file-choose-fields#152271 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : &#91;1403280123&#93; -- Joomla version -- : 2.5.19 -- PHP version -- :5.3.22 -- Browser(s) name and version -- : Firefox 28.0 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello to the reader(s),  Looked at the forum and the FAQ and the specifications of the different Hikashop versions but I can't find an answer to my question. I have used virtuemart before and want tot try hikashop. So I installed the starter version and created and filled the webshop. Now I used the export function to create a csv file. But there are only a very few article fields which I can export to a csv file. Is this correct for the starter version? Or am I doing something wrong?  So if this is correct what are the possibilities for the paid versions? I can't find the optons mentioned under compare versions.  Kind regards Margareth")*

Hi,

You can do it by overriding the view "backend &#124; your_backend_template &#124; product &#124; export" or using a custom plugin for the trigger onBeforeProductExport.
[ www.hikashop.com/support/support/documen...nBeforeProductExport](http://www.hikashop.com/support/support/documentation/62-hikashop-developer-documentation.html#onBeforeProductExport)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [Margreet](/forum/user/32154-margreet "View Margreet's Profile")

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-
-

12 years 7 months ago [\#152409](#152409) by [Margreet](/forum/user/32154-margreet "View Margreet's Profile")  Replied by *[Margreet](/forum/user/32154-margreet "View Margreet's Profile")* on topic *[Export file choose fields](/forum/37-import-export-csv-xls/867436-export-file-choose-fields#152409 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : &#91;1403280123&#93; -- Joomla version -- : 2.5.19 -- PHP version -- :5.3.22 -- Browser(s) name and version -- : Firefox 28.0 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello to the reader(s),  Looked at the forum and the FAQ and the specifications of the different Hikashop versions but I can't find an answer to my question. I have used virtuemart before and want tot try hikashop. So I installed the starter version and created and filled the webshop. Now I used the export function to create a csv file. But there are only a very few article fields which I can export to a csv file. Is this correct for the starter version? Or am I doing something wrong?  So if this is correct what are the possibilities for the paid versions? I can't find the optons mentioned under compare versions.  Kind regards Margareth")*

Hi Jerome,

Thanks for the answer. ![:)](/media/kunena/emoticons/3.png ":)")
I am going to try to implement it in the shop.

! am new too Hikashop and I have to find my way in the support section.
Super that you woulld give me the anwer.
Thanks.

Kind regards
Margareth

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-
-

12 years 7 months ago -  12 years 7 months ago [\#154019](#154019) by [Margreet](/forum/user/32154-margreet "View Margreet's Profile")  Replied by *[Margreet](/forum/user/32154-margreet "View Margreet's Profile")* on topic *[Export file choose fields](/forum/37-import-export-csv-xls/867436-export-file-choose-fields#154019 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : &#91;1403280123&#93; -- Joomla version -- : 2.5.19 -- PHP version -- :5.3.22 -- Browser(s) name and version -- : Firefox 28.0 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello to the reader(s),  Looked at the forum and the FAQ and the specifications of the different Hikashop versions but I can't find an answer to my question. I have used virtuemart before and want tot try hikashop. So I installed the starter version and created and filled the webshop. Now I used the export function to create a csv file. But there are only a very few article fields which I can export to a csv file. Is this correct for the starter version? Or am I doing something wrong?  So if this is correct what are the possibilities for the paid versions? I can't find the optons mentioned under compare versions.  Kind regards Margareth")*

Hello,

Is it possible to put another question about the export of products?

If I use the Export button for the products I get a csv file and when I open it I can't see a relation between the parent category and the subcategory.
I have created two parent categories 1. Games nieuw en 2. Games gebruikt. In each parent category I have created subcategories as you can see (PS3games and Wii games). But after the export I can't see any relation anymore.
How is this possible.
Am I doing something wrong?
See below the image.
[ ![h466dcc5.gif](/forum/attachment/16960) ](/forum/attachment/16960 "h466dcc5.gif")

Before I want to try to choose which columns I want to export I need to have this problem fixed.

Kind regards
Margareth

- [ ![h466dcc5.gif](/forum/attachment/16960) ](/forum/attachment/16960 "h466dcc5.gif") [ ](/forum/attachment/16960?download=1 "h466dcc5.gif")

Last edit: 12 years 7 months ago by [Margreet](/forum/user/32154-margreet "View Margreet's Profile"). Reason: writing errrors

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

12 years 7 months ago [\#154043](#154043) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Export file choose fields](/forum/37-import-export-csv-xls/867436-export-file-choose-fields#154043 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : &#91;1403280123&#93; -- Joomla version -- : 2.5.19 -- PHP version -- :5.3.22 -- Browser(s) name and version -- : Firefox 28.0 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello to the reader(s),  Looked at the forum and the FAQ and the specifications of the different Hikashop versions but I can't find an answer to my question. I have used virtuemart before and want tot try hikashop. So I installed the starter version and created and filled the webshop. Now I used the export function to create a csv file. But there are only a very few article fields which I can export to a csv file. Is this correct for the starter version? Or am I doing something wrong?  So if this is correct what are the possibilities for the paid versions? I can't find the optons mentioned under compare versions.  Kind regards Margareth")*

Hi,

The export only add the category name in the categories column. The system doesn't need to have the parent category mentioned there usually and it would even be a problem when the product is assigned to different categories from different parent categories.
That's why the parent_category column is blank.

Change the code: Code:

$data[] = ''; if(!empty($categories)) $data[] = implode($separator,$categories); else $data[] = '';

to: Code:

if(!empty($categories)){ if(count($categories)&gt;1){ $data[] = ''; }else{ $parent_id = $categories[0]-&gt;category_parent_id; $data[] = str_replace(array('"',',',';'), array('""','\\,','\\;'), $this-&gt;categories[$parent_id]-&gt;category_name); } $data[] = implode($separator,$categories); }else{ $data[] = ''; $data[] = ''; }

in the "export" file of the view "product" and it will set the parent_category of the products.

The following user(s) said Thank You: [Margreet](/forum/user/32154-margreet "View Margreet's Profile")

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

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

Less More

- Posts: 133
- Thank you received: 21
-
-

12 years 6 months ago [\#158544](#158544) by [sebur](/forum/user/5575-sebur "View sebur's Profile")  Replied by *[sebur](/forum/user/5575-sebur "View sebur's Profile")* on topic *[Export file choose fields](/forum/37-import-export-csv-xls/867436-export-file-choose-fields#158544 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : &#91;1403280123&#93; -- Joomla version -- : 2.5.19 -- PHP version -- :5.3.22 -- Browser(s) name and version -- : Firefox 28.0 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello to the reader(s),  Looked at the forum and the FAQ and the specifications of the different Hikashop versions but I can't find an answer to my question. I have used virtuemart before and want tot try hikashop. So I installed the starter version and created and filled the webshop. Now I used the export function to create a csv file. But there are only a very few article fields which I can export to a csv file. Is this correct for the starter version? Or am I doing something wrong?  So if this is correct what are the possibilities for the paid versions? I can't find the optons mentioned under compare versions.  Kind regards Margareth")*

Hello
I can not add a column with pictures in the export file when the mass action.
Export file in this category is limited to the number of rows - 500.
Help Board.
Thank you.
[ ![h6da3e34.jpg](/forum/attachment/17621) ](/forum/attachment/17621 "h6da3e34.jpg")

- [ ![h6da3e34.jpg](/forum/attachment/17621) ](/forum/attachment/17621 "h6da3e34.jpg") [ ](/forum/attachment/17621?download=1 "h6da3e34.jpg")

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-
-

12 years 6 months ago [\#158583](#158583) by [Margreet](/forum/user/32154-margreet "View Margreet's Profile")  Replied by *[Margreet](/forum/user/32154-margreet "View Margreet's Profile")* on topic *[Export file choose fields](/forum/37-import-export-csv-xls/867436-export-file-choose-fields#158583 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : &#91;1403280123&#93; -- Joomla version -- : 2.5.19 -- PHP version -- :5.3.22 -- Browser(s) name and version -- : Firefox 28.0 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello to the reader(s),  Looked at the forum and the FAQ and the specifications of the different Hikashop versions but I can't find an answer to my question. I have used virtuemart before and want tot try hikashop. So I installed the starter version and created and filled the webshop. Now I used the export function to create a csv file. But there are only a very few article fields which I can export to a csv file. Is this correct for the starter version? Or am I doing something wrong?  So if this is correct what are the possibilities for the paid versions? I can't find the optons mentioned under compare versions.  Kind regards Margareth")*

Hello Sebur,

Interesting question.
I don't know if it is possible to choose which colums you want to use in the mass action.
The answer to this question can be told by Jerome or Nichloas I think.
I am curious what the answer will be.

Kind regards
Margareth

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

12 years 6 months ago [\#158568](#158568) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Export file choose fields](/forum/37-import-export-csv-xls/867436-export-file-choose-fields#158568 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : &#91;1403280123&#93; -- Joomla version -- : 2.5.19 -- PHP version -- :5.3.22 -- Browser(s) name and version -- : Firefox 28.0 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello to the reader(s),  Looked at the forum and the FAQ and the specifications of the different Hikashop versions but I can't find an answer to my question. I have used virtuemart before and want tot try hikashop. So I installed the starter version and created and filled the webshop. Now I used the export function to create a csv file. But there are only a very few article fields which I can export to a csv file. Is this correct for the starter version? Or am I doing something wrong?  So if this is correct what are the possibilities for the paid versions? I can't find the optons mentioned under compare versions.  Kind regards Margareth")*

Hi,

Indeed the images are not managed in the mass actions at this time, I add it in the TODO list.

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

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

Less More

- Posts: 147
- Thank you received: 6
-
-

12 years 4 months ago [\#164843](#164843) by [maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")  Replied by *[maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")* on topic *[Export file choose fields](/forum/37-import-export-csv-xls/867436-export-file-choose-fields#164843 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : &#91;1403280123&#93; -- Joomla version -- : 2.5.19 -- PHP version -- :5.3.22 -- Browser(s) name and version -- : Firefox 28.0 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello to the reader(s),  Looked at the forum and the FAQ and the specifications of the different Hikashop versions but I can't find an answer to my question. I have used virtuemart before and want tot try hikashop. So I installed the starter version and created and filled the webshop. Now I used the export function to create a csv file. But there are only a very few article fields which I can export to a csv file. Is this correct for the starter version? Or am I doing something wrong?  So if this is correct what are the possibilities for the paid versions? I can't find the optons mentioned under compare versions.  Kind regards Margareth")*

Hi, I created an override (as suggested above) for the export as I also want to remove fields that I am not using.

on the export.php I am checking if if the column

if(!empty($product-&gt;$column) &amp;&amp; is_array($product-&gt;$column))
$product-&gt;$column = implode($separator,$product-&gt;$column);
if( $column != 'product_last_seen_date'){
$data[] = @$product-&gt;$column;
}
}

This works to some degree, the values were removed but the column heading still there.

How could I remove a column from the export?

Thanks.

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

12 years 4 months ago [\#164845](#164845) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Export file choose fields](/forum/37-import-export-csv-xls/867436-export-file-choose-fields#164845 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : &#91;1403280123&#93; -- Joomla version -- : 2.5.19 -- PHP version -- :5.3.22 -- Browser(s) name and version -- : Firefox 28.0 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello to the reader(s),  Looked at the forum and the FAQ and the specifications of the different Hikashop versions but I can't find an answer to my question. I have used virtuemart before and want tot try hikashop. So I installed the starter version and created and filled the webshop. Now I used the export function to create a csv file. But there are only a very few article fields which I can export to a csv file. Is this correct for the starter version? Or am I doing something wrong?  So if this is correct what are the possibilities for the paid versions? I can't find the optons mentioned under compare versions.  Kind regards Margareth")*

Hi,

To remove a column from the export, you have to edit the content of the $columns PHP array.
[ stackoverflow.com/questions/2448964/php-...lement-from-an-array](http://stackoverflow.com/questions/2448964/php-how-to-remove-specific-element-from-an-array)

The following user(s) said Thank You: [maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")

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

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

Less More

- Posts: 147
- Thank you received: 6
-
-

12 years 4 months ago -  12 years 4 months ago [\#164925](#164925) by [maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")  Replied by *[maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")* on topic *[Export file choose fields](/forum/37-import-export-csv-xls/867436-export-file-choose-fields#164925 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : &#91;1403280123&#93; -- Joomla version -- : 2.5.19 -- PHP version -- :5.3.22 -- Browser(s) name and version -- : Firefox 28.0 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello to the reader(s),  Looked at the forum and the FAQ and the specifications of the different Hikashop versions but I can't find an answer to my question. I have used virtuemart before and want tot try hikashop. So I installed the starter version and created and filled the webshop. Now I used the export function to create a csv file. But there are only a very few article fields which I can export to a csv file. Is this correct for the starter version? Or am I doing something wrong?  So if this is correct what are the possibilities for the paid versions? I can't find the optons mentioned under compare versions.  Kind regards Margareth")*

Perfect, it removes the column title and in combination with what I previously did (which removes the column data) work like a charm.
Ps.: thanks a lot for the link.
![;)](/media/kunena/emoticons/24.png ";)")

Last edit: 12 years 4 months ago by [maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile").

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

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

Less More

- Posts: 147
- Thank you received: 6
-
-

12 years 4 months ago [\#164976](#164976) by [maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")  Replied by *[maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")* on topic *[Export file choose fields](/forum/37-import-export-csv-xls/867436-export-file-choose-fields#164976 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : &#91;1403280123&#93; -- Joomla version -- : 2.5.19 -- PHP version -- :5.3.22 -- Browser(s) name and version -- : Firefox 28.0 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello to the reader(s),  Looked at the forum and the FAQ and the specifications of the different Hikashop versions but I can't find an answer to my question. I have used virtuemart before and want tot try hikashop. So I installed the starter version and created and filled the webshop. Now I used the export function to create a csv file. But there are only a very few article fields which I can export to a csv file. Is this correct for the starter version? Or am I doing something wrong?  So if this is correct what are the possibilities for the paid versions? I can't find the optons mentioned under compare versions.  Kind regards Margareth")*

Actually I found a better and easier way to do that, it may help someone else

Add this to line 52
// Create an Array of columns to be removed
$dontExport = array(
'product_tax_id',
'product_last_seen_date',
'product_waitlist',
'product_sales',
'product_total_vote',
'product_average_score',
'product_created'
);

//Return $columns that don't exist on the 'Dont Export' array
$columns = array_diff($columns, $dontExport);

This will remove the columns header then in line 95 add the following

$products_columns = array_diff($products_columns, $dontExport);

If anyone have a better way, please share.

Cheers

The following user(s) said Thank You: [Xavier](/forum/user/4105-xavier "View Xavier's Profile")

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

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