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

#   Ordernumber als CSV filename

##

- **[wilfried](/forum/user/35613-wilfried "View wilfried's Profile")**
- [![wilfried's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35613.jpg)](/forum/user/35613-wilfried "View wilfried's Profile") Topic Author
- [ Offline](/forum/user/35613-wilfried)

Less More

- Posts: 75
- Thank you received: 1
-
-
-

11 years 10 months ago -  11 years 10 months ago [\#186678](#186678) by [wilfried](/forum/user/35613-wilfried "View wilfried's Profile")  *[Ordernumber als CSV filename](/forum/37-import-export-csv-xls/874258-ordernumber-als-csv-filename#186678 "-- HikaShop version -- : 2.3.5. -- Joomla version -- : 3.3.6 -- Error-message(debug-mod must be tuned on) -- : IE,FF,Chrome latest version.  Hello,  I want to use an unique filename for the export csv filename in massaction. Is it possible to user, for example, the ordernumber as the filename?  This is because I want to create a csv file every time an order has been confirmed and I want to ftp that file to the packaging company for grabbing and sending the order.  Hope someone can help me.  Kind regards,  Wilfried")* was created by *[wilfried](/forum/user/35613-wilfried "View wilfried's Profile")*

-- HikaShop version -- : 2.3.5.
-- Joomla version -- : 3.3.6
-- Error-message(debug-mod must be tuned on) -- : IE,FF,Chrome latest version.

Hello,

I want to use an unique filename for the export csv filename in massaction. Is it possible to user, for example, the ordernumber as the filename?

This is because I want to create a csv file every time an order has been confirmed and I want to ftp that file to the packaging company for grabbing and sending the order.

[ ![hika004&#95;2015-01-14.jpg](/forum/attachment/21709) ](/forum/attachment/21709 "...2015-01-14.jpg")

Hope someone can help me.

Kind regards,

Wilfried

- [ ![hika004&#95;2015-01-14.jpg](/forum/attachment/21709) ](/forum/attachment/21709 "...2015-01-14.jpg") [ ](/forum/attachment/21709?download=1 "...2015-01-14.jpg")

Last edit: 11 years 10 months ago by [wilfried](/forum/user/35613-wilfried "View wilfried's Profile"). Reason: SOLVED

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

11 years 10 months ago [\#186704](#186704) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Ordernumber als CSV filename](/forum/37-import-export-csv-xls/874258-ordernumber-als-csv-filename#186704 "-- HikaShop version -- : 2.3.5. -- Joomla version -- : 3.3.6 -- Error-message(debug-mod must be tuned on) -- : IE,FF,Chrome latest version.  Hello,  I want to use an unique filename for the export csv filename in massaction. Is it possible to user, for example, the ordernumber as the filename?  This is because I want to create a csv file every time an order has been confirmed and I want to ftp that file to the packaging company for grabbing and sending the order.  Hope someone can help me.  Kind regards,  Wilfried")*

Hi,

This is not possible this way, but I add this idea on our TODO list ![;)](/media/kunena/emoticons/24.png ";)")

At this time, you can do as suggested in this post:
[ www.hikashop.com/forum/import-export-csv...th-order.html#186637](http://www.hikashop.com/forum/import-export-csv-xls/866961-csv-export-path-order.html#186637)

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

- **[wilfried](/forum/user/35613-wilfried "View wilfried's Profile")**
- [![wilfried's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35613.jpg)](/forum/user/35613-wilfried "View wilfried's Profile") Topic Author
- [ Offline](/forum/user/35613-wilfried)

Less More

- Posts: 75
- Thank you received: 1
-
-
-

11 years 10 months ago [\#186797](#186797) by [wilfried](/forum/user/35613-wilfried "View wilfried's Profile")  Replied by *[wilfried](/forum/user/35613-wilfried "View wilfried's Profile")* on topic *[Ordernumber als CSV filename](/forum/37-import-export-csv-xls/874258-ordernumber-als-csv-filename#186797 "-- HikaShop version -- : 2.3.5. -- Joomla version -- : 3.3.6 -- Error-message(debug-mod must be tuned on) -- : IE,FF,Chrome latest version.  Hello,  I want to use an unique filename for the export csv filename in massaction. Is it possible to user, for example, the ordernumber as the filename?  This is because I want to create a csv file every time an order has been confirmed and I want to ftp that file to the packaging company for grabbing and sending the order.  Hope someone can help me.  Kind regards,  Wilfried")*

Hello Xavier,

Thanks for the quick answer!

If I did this what shoudl I fill in into the path field on the frontend?
I now have the whole path included the csv filename

/var/www/vhosts/domainname/httpdocs/media/com_hikashop/upload/confirmed_orders/filename.csv

kind regards, WIlfried

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

11 years 10 months ago [\#186802](#186802) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Ordernumber als CSV filename](/forum/37-import-export-csv-xls/874258-ordernumber-als-csv-filename#186802 "-- HikaShop version -- : 2.3.5. -- Joomla version -- : 3.3.6 -- Error-message(debug-mod must be tuned on) -- : IE,FF,Chrome latest version.  Hello,  I want to use an unique filename for the export csv filename in massaction. Is it possible to user, for example, the ordernumber as the filename?  This is because I want to create a csv file every time an order has been confirmed and I want to ftp that file to the packaging company for grabbing and sending the order.  Hope someone can help me.  Kind regards,  Wilfried")*

Hi,

You can use that code: Code:

$params-&gt;path = str_replace('filename',$elements[0]-&gt;order_number,$path);

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

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

- **[wilfried](/forum/user/35613-wilfried "View wilfried's Profile")**
- [![wilfried's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35613.jpg)](/forum/user/35613-wilfried "View wilfried's Profile") Topic Author
- [ Offline](/forum/user/35613-wilfried)

Less More

- Posts: 75
- Thank you received: 1
-
-
-

11 years 10 months ago [\#186923](#186923) by [wilfried](/forum/user/35613-wilfried "View wilfried's Profile")  Replied by *[wilfried](/forum/user/35613-wilfried "View wilfried's Profile")* on topic *[Ordernumber als CSV filename](/forum/37-import-export-csv-xls/874258-ordernumber-als-csv-filename#186923 "-- HikaShop version -- : 2.3.5. -- Joomla version -- : 3.3.6 -- Error-message(debug-mod must be tuned on) -- : IE,FF,Chrome latest version.  Hello,  I want to use an unique filename for the export csv filename in massaction. Is it possible to user, for example, the ordernumber as the filename?  This is because I want to create a csv file every time an order has been confirmed and I want to ftp that file to the packaging company for grabbing and sending the order.  Hope someone can help me.  Kind regards,  Wilfried")*

Thanks it is working now.

Wilfried

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

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