ソースを参照

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

develop
Guillaume 3年前
コミット
08c4de714d
1個のファイルの変更4行の追加0行の削除
  1. +4
    -0
      ShopBundle/Model/Product.php

+ 4
- 0
ShopBundle/Model/Product.php ファイルの表示

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

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

return $title;
}


読み込み中…
キャンセル
保存