Fix on merchandises

This commit is contained in:
Ludovic CANDELLIER
2022-04-25 23:31:24 +02:00
parent c79facd0ca
commit 73508f6b46
7 changed files with 79 additions and 14 deletions

View File

@@ -35,7 +35,6 @@ class Categories
public static function getCategoryTreeVisibles($sale_channel_id = false)
{
// return self::getModel()->defaultOrder()->visible()->hasAvailableOffers($sale_channel_id)->get()->toTree();
return self::getModel()->defaultOrder()->hasAvailableOffersByCategoryParent($sale_channel_id)->visible()->get()->toTree();
}