Beispiel #1
0
 /**
  * Retrieve whether Quantity Increments is enabled
  *
  * @return bool
  * @SuppressWarnings(PHPMD.BooleanGetMethodName)
  */
 public function getEnableQtyIncrements()
 {
     if ($this->getUseConfigEnableQtyInc()) {
         return $this->stockConfiguration->getEnableQtyIncrements($this->getStoreId());
     }
     return (bool) $this->getData(static::ENABLE_QTY_INCREMENTS);
 }