/** * Define the CSS classes * * @return string */ protected function getCSSClass() { return parent::getCSSClass() . ($this->hasWholesalePrice() ? ' wholesale-price-defined' : ''); }