Quote:
Originally Posted by minfinger
Can you tell me how to set the default display mode in that Category view to List?
|
I am not sure I am following this question.
Do you mean that you want to display products in List mode in certain category? In this case, you will need to add a corresponding if condition around this line:
PHP Code:
$this->widgetParams[static::PARAM_DISPLAY_MODE]->setValue(static::DISPLAY_MODE_LIST);