diff --git a/core/lib/Thelia/Core/Template/Loop/Country.php b/core/lib/Thelia/Core/Template/Loop/Country.php index ab064b5c9..c9918edce 100755 --- a/core/lib/Thelia/Core/Template/Loop/Country.php +++ b/core/lib/Thelia/Core/Template/Loop/Country.php @@ -91,6 +91,12 @@ class Country extends BaseLoop $search->filterByAreaId(null, Criteria::ISNULL); } + $exclude = $this->getExclude(); + + if (!is_null($exclude)) { + $search->filterById($exclude, Criteria::NOT_IN); + } + /** * Criteria::INNER_JOIN in second parameter for joinWithI18n exclude query without translation. *