public function images()
{
if (!$this->images_json && $this->masterProduct) {
return $this->masterProduct->images();
} else {
if (!$this->images && $this->images_json) {
$this->images = json_decode($this->images_json, true);
}
return $this->images;
}
}