예제 #1
0
 public function getCanonicalUrl()
 {
     if ($this->product && $this->product->hasLoaded()) {
         return $this->product->getSlug();
     }
     return '';
 }