@
juancho and @
minfinger, you should not use construction like this:
PHP Code:
unset($this->widgetParams[self::PARAM_SHOW_DISPLAY_MODE_SELECTOR]);
instead you have to use it like this:
PHP Code:
$this->widgetParams[self::PARAM_SHOW_SORT_BY_SELECTOR]->setValue(false);
Again, setting your own values for widget parameters must be done in the setWidgetParams() method, not in the defineWidgetParams() one.
@
juancho, if you have more questions about your task, let us discuss it in this thread:
http://forum.x-cart.com/showthread.php?t=70749
I would prefer this thread to be dedicated to @
minfinger's task.