Line 124 in /home/zaocanadaca/public_html/beta/zaoshop/code/model/Product.php
115 } 116 117 public function getThumbnail() 118 { 119 return $this->DisplayImage()->CMSThumbnail(); 120 } 121 122 public function getLink(){ 123 $locale = Locale::getCurrentLocale(); 124 $category = $this->Category()->first()->ID; 125 if($locale == 'en_CA') 126 { 127 $url = $this->URL; 128 } elseif($locale === 'fr_CA') { 129 $url = $this->URL_FR; 130 } else {