Fix on merchandises

This commit is contained in:
Ludovic CANDELLIER
2022-04-25 23:31:24 +02:00
parent 61a52ef330
commit 84063d2f72
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();
}