public function isAvailableForProduct($obProductItem) : bool
    {
        $arProductIDList = (array) $this->product_id_list;

        $bResult = !empty($arProductIDList) && !empty($obProductItem) && in_array($obProductItem->id, $arProductIDList);

        return $bResult;
    }
public function isAvailableForProduct($obProductItem) : bool
    {
        $arProductIDList = (array) $this->product_id_list;

        $bResult = !empty($arProductIDList) && !empty($obProductItem) && in_array($obProductItem->id, $arProductIDList);

        return $bResult;
    }
public function isAvailableForProduct ( $ obProductItem ) : bool { $ arProductIDList = ( array ) $ this -> product_id_list ; $ bResult = ! empty ( $ arProductIDList ) && ! empty ( $ obProductItem ) && in_array ( $ obProductItem -> id , $ arProductIDList ) ; return $ bResult ; }
Check tax is available for product
@param \Lovata\Shopaholic\Classes\Item\ProductItem $obProductItem
@return bool
Check tax is available for product