public function getPrice()
{
$key = 'price';
$productAttribute = ProductAttribute::where('identifier', '=', $key)->get()->first();
$value = $this->_getProductFloatValue($productAttribute);
if (null === $value) {
return;
}
/*
* @todo fix bug because during display its fine but
* when it times to do process data into mysql
* it will generate error because of 1,099.99 not decimal(because of comma , )
*/
return $value;
//return number_format($value,2);
}