Hi Guys,
Is there any way to download an order from Customer center as CSV or Excel?
Thanks,
Adrian
Hi Guys,
Is there any way to download an order from Customer center as CSV or Excel?
Thanks,
Adrian
Nope.
You can make a page with a "nolayout" template and create a customer center template that renders data in CSV format.
BR Nicolai
Hi Nicolai,
Got it. In this case, is it possible to suggest a name for the file that is gonna be downloaded?
Like Order1234.csv? I know that by default the file will be generated with the name of the page which in this case will be the same for all orders.
Thanks,
Adrian
Nope, that is not possible, not standard anyways.
You might be able to add these lines in your razor templat though:
HttpContext.Current.Response.AddHeader("Content-Disposition", "attachment; filename=ORDER1234.csv");
You must be logged in to post in the forum