Kaynağa Gözat

[Backend] Export pesées : title product à déclinaison multiple

develop
Guillaume 3 yıl önce
ebeveyn
işleme
08c4de714d
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. +4
    -0
      ShopBundle/Model/Product.php

+ 4
- 0
ShopBundle/Model/Product.php Dosyayı Görüntüle

@@ -66,6 +66,10 @@ abstract class Product extends AbstractEntity implements SortableInterface, Prod
$title .= ' - ' . $this->getTitle();
}

if($this->getProductFamily()->hasProductsWithVariousWeight()) {
$title .= ' - '.$this->getQuantityLabelInherited() ;
}

return $title;
}


Yükleniyor…
İptal
Kaydet