X-cart comes with three list types for products: Grid, List and Table
How do I get another list type?
In the class I have this
Code:
const DISPLAY_MODE_CLIENT = 'client'';
protected function defineWidgetParams()
{
parent::defineWidgetParams();
$this->widgetParams[self::PARAM_WIDGET_TYPE]->setValue(self::WIDGET_TYPE_CENTER);
$this->widgetParams[self::PARAM_DISPLAY_MODE]->setValue(self::DISPLAY_MODE_CLIENT);
$this->widgetParams[self::PARAM_SHOW_DISPLAY_MODE_SELECTOR]->setValue(false);
$this->widgetParams[self::PARAM_SHOW_SORT_BY_SELECTOR]->setValue(false);
}
and I've added the tpl files with the other Itemslist tpl files.
I can see further code in parent classes but I'm not sure what I need to edit.