/** * Get whether product is composite * * @return bool */ protected function _isProductComposite() { if ($this->_isProductComposite === null) { $this->_isProductComposite = $this->_qty->getForm()->getDataObject()->isComposite(); } return $this->_isProductComposite; }