コード例 #1
0
 /**
  * Whether tier price value fixed or percent of original price
  *
  * @param \Magento\Catalog\Model\Product\Type\Price $priceObject
  * @return bool
  */
 protected function _isPriceFixed($priceObject)
 {
     return $priceObject->isTierPriceFixed();
 }
コード例 #2
0
ファイル: PriceTest.php プロジェクト: andrewhowdencom/m2onk8s
 public function testIsTierPriceFixed()
 {
     $this->assertTrue($this->_model->isTierPriceFixed());
 }