Jump to content

Alex01d

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Alex01d

  1. Solution: https://www.prestashop.com/forums/topic/352590-free-extra-product-tabs-override/?do=findComment&comment=2180792
  2. Hi! My solution (tested on 1.6.1.2): <?php Class Product extends ProductCore { public $extrafield; public function __construct($id_product = null, $full = false, $id_lang = null, $id_shop = null, $context = null) { self::$definition['fields']['extrafield'] = array('type' => self::TYPE_HTML, 'validate' => 'isCleanHtml'); parent::__construct($id_product, $full, $id_lang, $id_shop, $context); } } You should replace $definition['extrafield'] with $definition['fields']['extrafield']
  3. Спасибо vertex.odessa за решение проблемы. Столкнулся после обновления престы 1.4.8 до 1.4.11 - в 1.4.8 было нормально, в 1.4.11 поломали.
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More