/** * Define widget params * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array(static::PARAM_PARENT_PRODUCT_ID => new \XLite\Model\WidgetParam\String('Parent product id, if it is provided', '')); }
/** * Define widget params * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array(static::PARAM_CATEGORY_ID => new \XLite\Model\WidgetParam\String('Category id, if it is provided', '')); }