/** * Get widget parameters * * @return array */ protected function getWidgetParameters() { $list = parent::getWidgetParameters(); $list[self::PARAM_CATEGORY_ID] = $this->getCategoryId(); $list[self::PARAM_PRODUCT_ID] = $this->getProductId(); return $list; }