Is there a way, using a module or otherwise, to customize the order export? Specifically need to add customer login/id, and would like to add payment method.
Announcement
Collapse
No announcement yet.
Customize Order Export?
Collapse
X
-
Re: Customize Order Export?
Miva has a built in item called http_headers which allow you to modify the header values of a page before it gets output to the screen. By changing the Content-Type and Content-Disposition you can force the browser to treat the export as a file vs displaying it to the screen.
See this post for the syntax. You first need to assign the http_headers item to the page under the items tab.
Then add the two values defined here:
http://extranet.miva.com/forums/show...036#post425036
Comment
-
Re: Customize Order Export?
There is a whole video series on how to use the new custom fields here:
http://www.miva.com/videos/category/...raining-series
http://www.miva.com/videos/articles/...-documentation
Any custom field can be accessed on any page which is gives you a lot of flexibility. For your specific question here is how you would access a custom customer field in the batch report:
Code:<mvt:item name="customfields"param="Read_Customer_ID( l.settings:order:cust_id, 'custom_field_code', g.custom_field )" /> &mvt:global:custom_field;
Last edited by Brennan; 11-24-14, 09:26 AM.
Comment
Comment