示例#1
0
 /**
  * Price into indexed is not reliable for composite type.
  * This method detects this.
  *
  * @param string $productTypeId Product type id.
  *
  * @return boolean
  */
 private function isOriginalPriceReliable($productTypeId)
 {
     return !in_array($productTypeId, $this->productType->getCompositeTypes());
 }