Browse Source

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

develop
Guillaume 3 years ago
parent
commit
08c4de714d
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      ShopBundle/Model/Product.php

+ 4
- 0
ShopBundle/Model/Product.php View File

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

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

return $title;
}


Loading…
Cancel
Save