Best Answer Cheren-dow , 22 October 2015 - 13:05
roma_sanbl4, попробуйте тогда в методе _getOptions закомментировать следующие строки
protected function _getOptions($label = true)
{
$options = $sorted = $this->_parseOptions(false);
if (!$this->hasOptions())
{
$options = $this->getJBPrice()->elementOptions($this->identifier);
}
elseif (!$this->showAll && $options)
{
$selected = $this->getJBPrice()->elementOptions($this->identifier);
array_walk($selected, function ($value, $key) use ($options) {
return isset($options[$key]) ? $value : null;
});
$options = array_filter($selected);
}
/* if (false !== $label && count($options))
{
$options = $this->app->jbarray->sortByArray($options, $sorted);
$options = $this->app->jbarray->unshiftAssoc($options, '', $this->getLabel($label));
}*/
return $options;
}
Go to the full post


This topic is locked









