Answer the question
In order to leave comments, you need to log in
How to export orders to CSV?
How to organize unloading orders in CSV and later hang the script on cron?
In XML, of course, you can unload. But it is necessary in CSV.
Answer the question
In order to leave comments, you need to log in
there are many ways ...
1) You can inherit the export class of orders in xml bedrosova.blogspot.com/2013/02/1-1.html and override the export function in your class so that it generates not xml, but csv - a post, on which I referred is outdated, but the principle remains the same.
2) You can write your own export module with a similar structure: https://github.com/BedrosovaYulia/bitrix_yml_import it will then be easy to hang it on cron from the Bitrix admin panel: bedrosova.blogspot.com/2015/03/blog-post.htmlMy example is for import, but for export, the module is written in the same way - it will get into this section of the admin panel: /bitrix/admin/cat_export_setup.php (I would use this method - I like it, because the solution will be suitable for installation and use on different projects , not dependent on updates, suitable for publishing to the marketplace).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question