Browse Source

ProductModel : __toString

packProduct
Guillaume 2 years ago
parent
commit
c80b7dce6c
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      Model/Product/ProductModel.php

+ 3
- 2
Model/Product/ProductModel.php View File

@@ -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…
Cancel
Save