Sfoglia il codice sorgente

Merge branch 'develop'

master
Guillaume Bourgeois 1 anno fa
parent
commit
e476ba406c
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. +5
    -0
      Solver/Product/ProductFamilySolver.php

+ 5
- 0
Solver/Product/ProductFamilySolver.php Vedi File

@@ -434,6 +434,11 @@ class ProductFamilySolver
return $this->hasQualityLabelByArray($productFamily, ProductFamilyModel::$organicLabels);
}

public function hasOrganicStrictLabel(ProductFamilyInterface $productFamily)
{
return $this->hasQualityLabelByArray($productFamily, ProductFamilyModel::$organicStrictLabels);
}

public function hasGeographicLabel(ProductFamilyInterface $productFamily)
{
return $this->hasQualityLabelByArray($productFamily, ProductFamilyModel::$geographicLabels);

Loading…
Annulla
Salva