From: Vincent Vanwaelscappel Date: Mon, 30 Sep 2019 16:02:12 +0000 (+0200) Subject: wait #3082 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=bdcc9b8f1783ebaa129ac0c47feb683f4de6ec30;p=pmi.git wait #3082 @0.5 --- diff --git a/app/Models/Product.php b/app/Models/Product.php index 28a43b5..1db343e 100644 --- a/app/Models/Product.php +++ b/app/Models/Product.php @@ -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