浏览代码

[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;
}


正在加载...
取消
保存