]> _ Git - pmi.git/commitdiff
wait #3082 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 30 Sep 2019 16:02:12 +0000 (18:02 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 30 Sep 2019 16:02:12 +0000 (18:02 +0200)
app/Models/Product.php

index 28a43b5b84cbd30f241d0a4d84c9473a7bd54975..1db343e2051292ede65c13983f489698f7cd2abd 100644 (file)
@@ -352,6 +352,13 @@ class Product extends CubistMagicPageModel
     }
 
 
+    public function getSearchShortTitle()
+    {
+        $d = $this->getPageData();
+        return $d->get('reference') . ' - ' . parent::getSearchShortTitle();
+    }
+
+
     /**
      * Fetch selected product data for use in cart Vue component
      * @return array