Esempio n. 1
0
 public function recommendedProducts()
 {
     $productGallery = $this->productGalleries()->first();
     if ($productGallery == null) {
         $productGallery = new ProductGallery();
     }
     return $productGallery->productGalleryItems();
 }