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

#   Customise Order Export

##

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

Less More

- Posts: 260
- Thank you received: 25
-
- [](https://viemedia.com.au)
-

13 years 6 months ago [\#102073](#102073) by [sambob](/forum/user/7887-sambob "View sambob's Profile")  *[Customise Order Export](/forum/4-how-to/81309-customise-order-export#102073 "Hi, I am wanting to customise my Order Export CVS; eliminating some fields from the exported file.  I am guessing that the it is the 'order/export.php' that needs to be edited (but not sure what to add.  If I wanted to, for example, remove 'user&#95;created&#95;ip' from the export, what code would I need to add?  If I could get the relevant code for one, I can work out the rest.")* was created by *[sambob](/forum/user/7887-sambob "View sambob's Profile")*

Hi, I am wanting to customise my Order Export CVS; eliminating some fields from the exported file.

I am guessing that the it is the 'order/export.php' that needs to be edited (but not sure what to add.

If I wanted to, for example, remove 'user_created_ip' from the export, what code would I need to add?

If I could get the relevant code for one, I can work out the rest.

---

Don't look at what is and ask 'why?'; look at what isn't and ask 'Why Not!'

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxMzA5LWN1c3RvbWlzZS1vcmRlci1leHBvcnQ/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

13 years 6 months ago [\#102205](#102205) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Customise Order Export](/forum/4-how-to/81309-customise-order-export#102205 "Hi, I am wanting to customise my Order Export CVS; eliminating some fields from the exported file.  I am guessing that the it is the 'order/export.php' that needs to be edited (but not sure what to add.  If I wanted to, for example, remove 'user&#95;created&#95;ip' from the export, what code would I need to add?  If I could get the relevant code for one, I can work out the rest.")*

Hi,

You should add the line:
unset($first[array_search('user_created_ip',$first)]);
before:
$export-&gt;writeLine($first);

and the line:
unset($row-&gt;user_created_ip);
before:
$export-&gt;writeLine($row);

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

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

Less More

- Posts: 260
- Thank you received: 25
-
- [](https://viemedia.com.au)
-

13 years 6 months ago [\#102217](#102217) by [sambob](/forum/user/7887-sambob "View sambob's Profile")  Replied by *[sambob](/forum/user/7887-sambob "View sambob's Profile")* on topic *[Customise Order Export](/forum/4-how-to/81309-customise-order-export#102217 "Hi, I am wanting to customise my Order Export CVS; eliminating some fields from the exported file.  I am guessing that the it is the 'order/export.php' that needs to be edited (but not sure what to add.  If I wanted to, for example, remove 'user&#95;created&#95;ip' from the export, what code would I need to add?  If I could get the relevant code for one, I can work out the rest.")*

Thanks Nicolas.

---

Don't look at what is and ask 'why?'; look at what isn't and ask 'Why Not!'

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

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