/** * Return block style * * @return string */ protected function getBlockStyle() { $style = parent::getBlockStyle() . ' attributes'; if ($this->isAllowVaraintAdd()) { $style .= ' checked'; } if ($this->getVariantsAttributes()) { $style .= ' hidden'; } return $style; }
/** * Return block style * * @return string */ protected function getBlockStyle() { return parent::getBlockStyle() . ' variants-are-based'; }
/** * Return block style * * @return string */ protected function getBlockStyle() { return parent::getBlockStyle() . ' no-attributes'; }