浏览代码

ProductModel : __toString

packProduct
Guillaume 2 年前
父节点
当前提交
c80b7dce6c
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. +3
    -2
      Model/Product/ProductModel.php

+ 3
- 2
Model/Product/ProductModel.php 查看文件

@@ -66,9 +66,10 @@ abstract class ProductModel extends AbstractLightEntity implements SortableInter
$title .= ' - ' . $this->getTitle();
}

if ($this->getProductFamily()->hasProductsWithVariousWeight()) {
// @TODO : à remettre en place
/*if ($this->getProductFamily()->hasProductsWithVariousWeight()) {
$title .= ' - ' . $this->getQuantityLabelInherited();
}
}*/

return $title;
}

正在加载...
取消
保存