I've followed the article and added a new field (I'm replacing the standard x-cart tab with an custom html one).
Code:
class Info extends \XLite\View\FormModel\Product\Info implements \XLite\Base\IDecorator
{
/**
* @return array
*/
protected function defineFields()
{
$schema = parent::defineFields();
$schema[self::SECTION_DEFAULT]['specification'] = [
'label' => static::t('Specification'),
'position' => 600,
'type' => 'XLite\View\FormModel\Type\TextareaAdvancedType',
];
return $schema;
}
}
It all works but when I enter HTML all the tags are stripped out. Is there something else I should be defining somewhere?