hello guys!
help me please.
Prestashop 1.5.6
I have some problem with duplicate the feature.name field in BO.
I need additional field for features like features name.
I've duplicate it. It works in BO, saves in database, but it doesn't display in front office on product page (
My steps:
controllers/admin/AdminFeaturesController.php
I have create in public function:
array(
'type' => 'text',
'label' => $this->l('info:'),
'name' => 'name2',
'lang' => true,
'size' => 33,
'hint' => $this->l('Invalid characters:').' <>;=#{}'
)
in classes/Featured.php I've create the line in public static:
'name2' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'size' => 128),
and in database in ps.feature_lang i'have create: name2
in product.tpl - {$feature.name2|escape:'htmlall':'UTF-8'}
And everything ok in BO, but in FO it does not display. (
Can you help me?