Version: current

     1 <?php
     2
     3 class OrderDecorator extends DataObjectDecorator {
     4     function extraStatics() {}
     5
     6     function updateFrontendFields(& $fields) {
     7         $fields->removeByName('hdrContacts');
     8         $fields->removeByName('hdrSummary');
     9
    10     }
    11 }
    12
    13

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -