public function getProductImages($first = false)
{
//$cacheKey = get_class($this) . "_" . __METHOD__;
//if (Cache::has($cacheKey)) {
// $attributeValue = Cache::get($cacheKey);
//} else {
$productAttribute = ProductAttribute::where('identifier', '=', 'image')->get()->first();
$attributeValue = $productAttribute->productVarcharValues()->where('product_id', '=', $this->attributes['id'])->where('website_id', '=', $this->websiteId)->get();
//}
if (true == $first) {
return $attributeValue->first();
}
//Cache::put($cacheKey, $attributeValue, $minute = 100);
return $attributeValue;
}