Advertisement
Guest User

Untitled

a guest
Sep 15th, 2016
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. <?php
  2. // vim: set ts=4 sw=4 sts=4 et:
  3.  
  4. /**
  5. * Copyright (c) 2011-present Qualiteam software Ltd. All rights reserved.
  6. * See https://www.x-cart.com/license-agreement.html for license details.
  7. */
  8.  
  9. namespace XLite\Module\EBLIEB\GlasPak\View\FormModel\Product;
  10.  
  11. class Info extends \XLite\View\FormModel\Product\Info implements \XLite\Base\IDecorator
  12. {
  13. /**
  14. * @return array
  15. */
  16. protected function defineFields()
  17. {
  18. $schema = parent::defineFields();
  19.  
  20. $schema = static::compose(
  21. $schema,
  22. [
  23. 'PPCField' => [
  24. 'label' => static::t('Pieces Per Case'),
  25. 'required' => false,
  26. ],
  27. 'position' => 900,
  28. ]
  29. );
  30.  
  31. return $schema;
  32. }
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement