Причем тут вообще ТДС интернет-магазина? У прайса своя ТДС "Прайс". В ней блок:
$Shop_Controller_Show
->shopItems()
->queryBuilder()
->clearOrderBy()
->leftJoin('shop_groups', 'shop_groups.id', '=', 'shop_items.shop_group_id')
->where('shop_items.active', '=', 1)
->where('shop_groups.active', '=', 1)
->clearOrderBy()
->orderBy('shop_items.shop_group_id')
->orderBy('shop_items.name');
замените на:
$Shop_Controller_Show
->shopItems()
->queryBuilder()
->clearOrderBy()
->leftJoin('shop_groups', 'shop_groups.id', '=', 'shop_items.shop_group_id')
->where('shop_items.active', '=', 1)
->open()
->where('shop_groups.active', '=', 1)
->setOr()
->where('shop_groups.active', 'IS', NULL)
->where('shop_items.modification_id', '=', 0)
->close()
->clearOrderBy()
->orderBy('shop_items.shop_group_id')
->orderBy('shop_items.name');