瀏覽代碼

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

Loading…
取消
儲存