From bdcc9b8f1783ebaa129ac0c47feb683f4de6ec30 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 30 Sep 2019 18:02:12 +0200 Subject: [PATCH] wait #3082 @0.5 --- app/Models/Product.php | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.39.5