Custom Fields for orders

How can I add custom fields for the orders (in the back-end)?

I've got some custom fields fields on the check-out page (sales agent, Student Number etc). I've already created Lexicon entries for them.

How can I get these fields to show on the individual orders details?

Thank you

Joseph Mureithi
08 мая 2013, 17:00
modx.pro
1 417
0

Комментарии: 1

Василий Наумкин
08 мая 2013, 21:22
1
0
You can store additional fields in «properties» of msOrder.

Customization of back-end now is only by plugins, that will load custom ExtJS and modify page
if ($modx->event->name == 'OnManagerPageBeforeRender') {
	$controller->addHtml('
	<script type="text/javascript">
		Ext.onReady(function() {
			// your code here
		});
	</script>');
}
    Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.
    1