/** * Check if product has required options * * @return bool */ public function hasRequiredOptions() { if (parent::hasRequiredOptions() || $this->getProduct()->getLinksPurchasedSeparately()) { return true; } return false; }
/** * Check if product has required options * * @param Mage_Catalog_Model_Product $product * @return bool */ public function hasRequiredOptions($product) { if (parent::hasRequiredOptions($product) || $product->getLinksPurchasedSeparately()) { return true; } return false; }