Beispiel #1
0
 /**
  * Retrieve backorders status
  *
  * @return int
  */
 public function getBackorders()
 {
     if ($this->getUseConfigBackorders()) {
         return $this->stockConfiguration->getBackorders($this->getStoreId());
     }
     return (int) $this->getData(static::BACKORDERS);
 }