/** * Retrieve Quantity Increments * * @return int|false */ public function getQtyIncrements() { if ($this->qtyIncrements === null) { if ($this->getEnableQtyIncrements()) { if ($this->getUseConfigQtyIncrements()) { $this->qtyIncrements = $this->stockConfiguration->getQtyIncrements($this->getStoreId()); } else { $this->qtyIncrements = (int) $this->getData(static::QTY_INCREMENTS); } } if ($this->qtyIncrements <= 0) { $this->qtyIncrements = false; } } return $this->qtyIncrements; }