Sfoglia il codice sorgente

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

develop
Guillaume 3 anni fa
parent
commit
08c4de714d
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. +4
    -0
      ShopBundle/Model/Product.php

+ 4
- 0
ShopBundle/Model/Product.php Vedi 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…
Annulla
Salva