Order Export:Custom Variables in Filename

From XTENTO Support Wiki
Jump to: navigation, search

Want to add a new custom variable to the filename of the exported file, generated by your XSL Template?

You cannot define "filename variables" from within XSL. That must be done from PHP:

See: \app\code\Xtento\OrderExport\Model\Output\AbstractOutput.php

Within the replaceFilenameVariables function you can add custom variables.

Preferably do this using the event which is dispatched there: xtento_orderexport_replace_filename_variables_before

Personal tools
General Information
Magento 2 Guides
Magento 2 Extensions
Magento 1 Guides
Magento 1 Extensions
Magento Integration Suite
Product Feed Guides