[!msProducts?
&parents=`[[*parent]]`
&depth=`0`
&tpl=`tpl.msProducts`
&resources=`-[[*id]]`
&includeTVs=`1`
&includeContent=`1`
&sortby=`menuindex`
&sortdir=`ASC`
]]
&tplWrapper
и &wrapIfEmpty
, подробнее об этом можно почитать здесь: Как ничего не выводить, если ресурсов (товаров) нет?